summaryrefslogtreecommitdiffstats
path: root/src/globals.h
diff options
context:
space:
mode:
authorJan Darmochwal2010-10-07 14:53:20 +0200
committerJan Darmochwal2010-10-07 14:53:20 +0200
commit3932297962d7394574346c016c38ef5103dc5a7c (patch)
tree2a1f8d128d1e87965fea6be41943717b3cddce65 /src/globals.h
parentrecursive globbing in VSession::readXmlDir() (diff)
downloadvmchooser-3932297962d7394574346c016c38ef5103dc5a7c.tar.gz
vmchooser-3932297962d7394574346c016c38ef5103dc5a7c.tar.xz
vmchooser-3932297962d7394574346c016c38ef5103dc5a7c.zip
Support for command line arguments and conf files
* anyoption has been replaced by getopt * replaces huge unmaintainable .cpp and .h files from an external source by standard POSIX library calls * I would suggest using Boost.Program_options if cross-platform support is needed * support user/global configuration file
Diffstat (limited to 'src/globals.h')
-rw-r--r--src/globals.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/globals.h b/src/globals.h
index 96f95e4..b616741 100644
--- a/src/globals.h
+++ b/src/globals.h
@@ -10,6 +10,15 @@
#define VMCHOOSER_BIN_PATH "/home/zwerg/vmchooser/bin/"
#define VMCHOOSER_ETC_BASE_PATH "/home/zwerg/vmchooser/etc/"
#define VMCHOOSER_VMPATH "/home/zwerg/vmchooser/vm/"
+#define VMCHOOSER_USER_PATH ".openslx"
+
+#define VMCHOOSER_X_SESSIONS_PATH "/usr/share/xsessions/"
+
+#define VMCHOOSER_DEFAULT_WIDTH 500
+#define VMCHOOSER_DEFAULT_HEIGHT 580
+
+#define VMCHOOSER_CONF_FILE "vmchooser.conf"
+#define VMCHOOSER_PREVIOUS_SESSION_FILE "vmchooser.conf"
class QString;
extern const QString filterscript;