diff options
author | Jan Darmochwal | 2010-10-07 16:56:12 +0200 |
---|---|---|
committer | Jan Darmochwal | 2010-10-07 16:56:12 +0200 |
commit | e7e9cf2849d0000acf47ecde86e4853687a03409 (patch) | |
tree | aa811c315fa49eccf3691f932ebbc8b28d67fa14 /src/globals.h | |
parent | Added files to parse command line options (diff) | |
download | vmchooser-e7e9cf2849d0000acf47ecde86e4853687a03409.tar.gz vmchooser-e7e9cf2849d0000acf47ecde86e4853687a03409.tar.xz vmchooser-e7e9cf2849d0000acf47ecde86e4853687a03409.zip |
Tidy up the code
* fixed compiler warnings, added -Werror to CMakeLists.txt
* removed LibXml2 and boost stuff from CMakeLists.txt
* fixed some things cpplint.py complains about:
* make single-argument constructors explicit
* add space before if/for/while/...
* don't put { on a line of its own
* remove space after ! operator
* add space between // and comment
* remove extra space before ( in function call
* remove extra space before )
* shorten lines to <= 80 characters
* remove blank lines at the start of a code block
* maybe others
Diffstat (limited to 'src/globals.h')
-rw-r--r-- | src/globals.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/globals.h b/src/globals.h index b616741..5aa78ba 100644 --- a/src/globals.h +++ b/src/globals.h @@ -1,10 +1,10 @@ #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 "/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/" |