Gravar y cargar correctamente la configuración
Signed-off-by: somebody_master <somebody_master@somebodyserver.mooo.com>
This commit is contained in:
@ -4,11 +4,11 @@
|
||||
#ifndef __CONFIG_FILE_HPP_
|
||||
#define __CONFIG_FILE_HPP_
|
||||
namespace cf {
|
||||
const std::string g_cofigFile = "~/.config/stressUI.cfg";
|
||||
Config *openConfig();
|
||||
const std::string g_configFile =
|
||||
std::string(getenv("HOME")) + "/.config/stressUI.cfg";
|
||||
Config openConfig();
|
||||
void closeConfig(Config *config);
|
||||
std::string getLine(std::ifstream *file);
|
||||
void saveConfig();
|
||||
void createConfig();
|
||||
void saveConfig(Config *config);
|
||||
} // namespace cf
|
||||
#endif // __CONFIG_FILE_HPP_
|
||||
|
Reference in New Issue
Block a user