diff options
author | Jan Darmochwal | 2010-10-02 18:50:09 +0200 |
---|---|---|
committer | Jan Darmochwal | 2010-10-02 18:50:09 +0200 |
commit | 6117049617df720fb744a90773a3580b3450b005 (patch) | |
tree | c3b605ab7a7c2e9fd9d14572e8c0e69432d6ac76 /src/globals.h | |
parent | fixed bad copy & paste in CMakeLists.txt (diff) | |
download | vmchooser-6117049617df720fb744a90773a3580b3450b005.tar.gz vmchooser-6117049617df720fb744a90773a3580b3450b005.tar.xz vmchooser-6117049617df720fb744a90773a3580b3450b005.zip |
Qt port is almost complete (at least it compiles)
Major change:
* struct DataEntry has become class Session with sub-classes XSession and VSession
* functions from addInfo.cpp, addPrinters.cpp, addScanners.cpp, readLinSess.cpp, readXmlDir.cpp, runImage.cpp have been moved to XSession and VSession
Several minor changes:
* new files globals.h and globals.cpp for global variables (replaces constants.h and paths.h)
* replaced (all) libxml2, (much) std:: and (most) boost:: stuff by Qt stuff
Things left to do:
* remove tons of debug printfs
* show error messages on errors
* tidy up anyoption stuff in main()
* highlight session run previously
* readGroupXml stuff
* tree view (with "X Sessions" and "Virtual Sessions" sections) instead of list view for session selection
Diffstat (limited to 'src/globals.h')
-rw-r--r-- | src/globals.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/globals.h b/src/globals.h new file mode 100644 index 0000000..96f95e4 --- /dev/null +++ b/src/globals.h @@ -0,0 +1,17 @@ +#ifndef VMCHOOSER_GLOBALS_H +#define VMCHOOSER_GLOBALS_H + +//#define VMCHOOSER_PLUGIN_PATH "/opt/openslx/plugin-repo/vmchooser/" +//#define VMCHOOSER_BIN_PATH "/var/opt/openslx/bin/" +//#define VMCHOOSER_ETC_BASE_PATH "/etc/opt/openslx/plugins/vmchooser/" +//#define VMCHOOSER_VMPATH "/var/lib/virt" + +#define VMCHOOSER_PLUGIN_PATH "/home/zwerg/vmchooser/plugin/" +#define VMCHOOSER_BIN_PATH "/home/zwerg/vmchooser/bin/" +#define VMCHOOSER_ETC_BASE_PATH "/home/zwerg/vmchooser/etc/" +#define VMCHOOSER_VMPATH "/home/zwerg/vmchooser/vm/" + +class QString; +extern const QString filterscript; + +#endif |