| 6 |
| * Copyright Nikolai Kudashov, 2015. |
| 7 | */ |
| 8 |
| 9 | #ifndef CONFIG_H |
| 10 | #define CONFIG_H |
| 11 |
| 12 | #include <string> |
| 13 | #include "NativeByteBuffer.h" |
| 14 |
| 15 | class Config { |
| 16 |
| 17 | public: |
| 18 | Config(std::string fileName); |
| 19 |
| 20 | NativeByteBuffer *readConfig(); |
| 21 | void writeConfig(NativeByteBuffer *buffer); |
| 22 |
| 23 | private: |
| 24 | std::string configPath; |
| 25 | std::string backupPath; |
| 26 | }; |
| 27 |
| 28 | #endif |
| 29 |