mirror of
https://github.com/rvtr/GodMode9i.git
synced 2025-06-18 10:55:31 -04:00
26 lines
437 B
C++
26 lines
437 B
C++
#ifndef CONFIG_H
|
|
#define CONFIG_H
|
|
|
|
#include "inifile.h"
|
|
|
|
class Config {
|
|
const char *_configPath;
|
|
|
|
std::string _languageIniPath;
|
|
std::string _fontPath;
|
|
|
|
static const char *getSystemLanguage(void);
|
|
|
|
public:
|
|
Config(void);
|
|
~Config(void) {};
|
|
|
|
void save(void);
|
|
|
|
const std::string &languageIniPath(void) { return _languageIniPath; }
|
|
const std::string &fontPath(void) { return _fontPath; }
|
|
};
|
|
|
|
extern Config *config;
|
|
|
|
#endif // CONFIG_H
|