diff options
| author | Jonathan Bauer | 2011-03-06 12:08:34 +0100 |
|---|---|---|
| committer | Jonathan Bauer | 2011-03-06 12:08:34 +0100 |
| commit | 5443c7182151c7f9082e58f207d7c88e11826d08 (patch) | |
| tree | 47913f4393444d1aeec838adc2d85c5961bae024 /src/CommandLineOptions.h | |
| parent | url short option fixed (diff) | |
| download | fbgui-5443c7182151c7f9082e58f207d7c88e11826d08.tar.gz fbgui-5443c7182151c7f9082e58f207d7c88e11826d08.tar.xz fbgui-5443c7182151c7f9082e58f207d7c88e11826d08.zip | |
updated code structure, main loop now separate from fbgui class.......
Diffstat (limited to 'src/CommandLineOptions.h')
| -rw-r--r-- | src/CommandLineOptions.h | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/src/CommandLineOptions.h b/src/CommandLineOptions.h deleted file mode 100644 index dc56d34..0000000 --- a/src/CommandLineOptions.h +++ /dev/null @@ -1,25 +0,0 @@ -#ifndef COMMANDLINEOPTIONS_H -#define COMMANDLINEOPTIONS_H - -#include <QMap> -#include <QString> - -class CommandLineOptions { - public: - CommandLineOptions(int argc, char * const argv[]); - ~CommandLineOptions(); - - bool contains(const QString& key) const { - return options.contains(key); - } - - QString value(const QString& key) const { - return options.value(key); - } - private: - QMap<QString, QString> options; -}; - - - -#endif // COMMANDLINEOPTIONS_H |
