S_New4/parameterManager.h

26 lines
456 B
C
Raw Normal View History

2019-07-06 18:47:29 +00:00
#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