Add configuration name at command line via -c or --config

sets up framework for more command line options as well.
This commit is contained in:
Charles J. Cliffe
2015-07-20 18:39:45 -04:00
parent d3dee2b184
commit 13139c7dbf
4 changed files with 59 additions and 11 deletions
+3
View File
@@ -59,11 +59,14 @@ public:
void setSnap(long long snapVal);
long long getSnap();
void setConfigName(std::string configName);
std::string getConfigFileName();
bool save();
bool load();
bool reset();
private:
std::string configName;
std::map<std::string, DeviceConfig *> deviceConfig;
std::atomic_int winX,winY,winW,winH;
std::atomic_bool winMax;