| 1 | #ifndef SRC_SQL_PARAMETERDB_H_ |
| 2 | #define SRC_SQL_PARAMETERDB_H_ |
| 3 | |
| 4 | #include "SQLConnection.h" |
| 5 | |
| 6 | class ParameterDB : public SQLConnection |
| 7 | { |
| 8 | public: |
| 9 | ParameterDB(std::string folder); |
| 10 | ~ParameterDB(); |
| 11 | bool Set(std::string key, std::string value); |
| 12 | std::string Get(std::string key); |
| 13 | private: |
| 14 | bool MigrateDbIfRequired(); |
| 15 | bool Migrate0To1(); |
| 16 | }; |
| 17 | |
| 18 | #endif /* SRC_SQL_PARAMETERDB_H_ */ |