From 3932297962d7394574346c016c38ef5103dc5a7c Mon Sep 17 00:00:00 2001 From: Jan Darmochwal Date: Thu, 7 Oct 2010 14:53:20 +0200 Subject: 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 --- src/globals.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/globals.h') 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; -- cgit v1.2.3-55-g7522