blob: 8798ff22e420815973bd361abb40e39805e10df1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#ifndef VMCHOOSER_COMMAND_LINE_OPTIONS_H
#define VMCHOOSER_COMMAND_LINE_OPTIONS_H
#include <QMap>
#include <QString>
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<QString, QString> options;
};
#endif // VMCHOOSER_COMMAND_LINE_OPTIONS_H
|