* Add writeable configuration.

This commit is contained in:
iProgramInCpp
2023-08-06 22:21:18 +03:00
parent 56c2d55c5c
commit 9ef72164bb
10 changed files with 64 additions and 16 deletions

View File

@@ -23,12 +23,13 @@ public:
void save();
std::string getMessage(const Options::Option&);
void update(const std::vector<std::string>& string);
std::vector<std::string> getOptionStrings();
public:
static bool readBool(const std::string& str);
#ifndef ORIGINAL_CODE
static int readInt(const std::string& str);
#endif
static std::string saveBool(bool b);
static std::string saveInt(int i);
public:
enum KeyBindIndex