summaryrefslogtreecommitdiffstats
path: root/kdbg/envvar.h
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2013-07-03 01:47:30 +0200
committerSlávek Banko <slavek.banko@axis.cz>2013-07-03 01:47:30 +0200
commit239e873a38fa91a3fbd27e134bda015922abbabd (patch)
treed7c79f740bce93768ee78b6b787c83a2115b047f /kdbg/envvar.h
downloadkdbg-239e873a38fa91a3fbd27e134bda015922abbabd.tar.gz
kdbg-239e873a38fa91a3fbd27e134bda015922abbabd.zip
Initial import
Diffstat (limited to 'kdbg/envvar.h')
-rw-r--r--kdbg/envvar.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/kdbg/envvar.h b/kdbg/envvar.h
new file mode 100644
index 0000000..20339b2
--- /dev/null
+++ b/kdbg/envvar.h
@@ -0,0 +1,24 @@
+/*
+ * Copyright Johannes Sixt
+ * This file is licensed under the GNU General Public License Version 2.
+ * See the file COPYING in the toplevel directory of the source directory.
+ */
+
+#ifndef ENVVAR_H
+#define ENVVAR_H
+
+/*
+ * Description of environment variables. Note that the name of the variable
+ * is given as the key in the QDict, so we don't repeat it here.
+ */
+
+class QListViewItem;
+
+struct EnvVar {
+ QString value;
+ enum EnvVarStatus { EVclean, EVdirty, EVnew, EVdeleted };
+ EnvVarStatus status;
+ QListViewItem* item;
+};
+
+#endif // ENVVAR_H