summaryrefslogtreecommitdiffstats
path: root/src/globals.h
diff options
context:
space:
mode:
authorSimon Rettberg2016-01-20 16:43:34 +0100
committerSimon Rettberg2016-01-20 16:43:34 +0100
commit414c109d650a1014e7b84dfb66a00df420d67c97 (patch)
treeede0c5404aa408cd2bbb626312ed46383c7b13b6 /src/globals.h
parentRe-introduce tree structure: Allow server-defined sections (diff)
downloadvmchooser2-414c109d650a1014e7b84dfb66a00df420d67c97.tar.gz
vmchooser2-414c109d650a1014e7b84dfb66a00df420d67c97.tar.xz
vmchooser2-414c109d650a1014e7b84dfb66a00df420d67c97.zip
Remodel section handling: Use constants
Diffstat (limited to 'src/globals.h')
-rw-r--r--src/globals.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/globals.h b/src/globals.h
index b943238..60f3d31 100644
--- a/src/globals.h
+++ b/src/globals.h
@@ -54,6 +54,14 @@ extern QString urlBase;
extern bool _fullscreen;
+#define TEMPLATES_IGNORE (0)
+#define TEMPLATES_BUMP (1)
+extern int g_templateHandling;
+#define LOCATION_IGNORE (0)
+#define LOCATION_BUMP (1)
+#define LOCATION_EXCLUSIVE (2)
+extern int g_forLocationHandling;
+
bool myLessThan(Session* a, Session* b);
#endif