From df168536ca1aaf0b147e67ef214bf35dfd34e441 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Thu, 30 May 2019 01:14:31 +0200 Subject: Cleanup, and rewrite cmdline + settings handling Command line parsing now uses QCommandLineXXX classes Old unused options have been removed, like the "pools" feature Closes #3599 --- src/command_line_options.h | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 src/command_line_options.h (limited to 'src/command_line_options.h') diff --git a/src/command_line_options.h b/src/command_line_options.h deleted file mode 100644 index 8798ff2..0000000 --- a/src/command_line_options.h +++ /dev/null @@ -1,23 +0,0 @@ -#ifndef VMCHOOSER_COMMAND_LINE_OPTIONS_H -#define VMCHOOSER_COMMAND_LINE_OPTIONS_H - -#include -#include - -class CommandLineOptions { - public: - CommandLineOptions(int argc, char * const argv[]); - - bool contains(const QString& key) const { - return options.contains(key); - } - - QString value(const QString& key) const { - return options.value(key); - } - - private: - QMap options; -}; - -#endif // VMCHOOSER_COMMAND_LINE_OPTIONS_H -- cgit v1.2.3-55-g7522