forked from markus/S_New4
26 lines
456 B
C
26 lines
456 B
C
|
#ifndef PARAMETERMANAGER_H
|
||
|
#define PARAMETERMANAGER_H
|
||
|
|
||
|
#include <iostream>
|
||
|
|
||
|
enum Modus {
|
||
|
EXIT = -1,
|
||
|
DEFAULT_MODUS = 0,
|
||
|
DIRECT_LINK_MODUS = 1
|
||
|
};
|
||
|
|
||
|
|
||
|
struct Settings {
|
||
|
Settings() {}
|
||
|
Settings(std::string name) : name(name) {}
|
||
|
|
||
|
std::string name;
|
||
|
Modus modus = Modus::DEFAULT_MODUS;
|
||
|
std::string accountFilePath = "/home/markus/a";
|
||
|
bool color;
|
||
|
};
|
||
|
|
||
|
Settings manageParameter(int argc, char ** argv);
|
||
|
|
||
|
#endif // PARAMETERMANAGER_H
|