Re-factorización del código
Signed-off-by: somebody_master <somebody_master@somebodyserver.mooo.com>
This commit is contained in:
@ -4,11 +4,10 @@
|
||||
#ifndef __CONFIG_FILE_HPP_
|
||||
#define __CONFIG_FILE_HPP_
|
||||
namespace cf {
|
||||
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(Config *config);
|
||||
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(Config *config);
|
||||
} // namespace cf
|
||||
#endif // __CONFIG_FILE_HPP_
|
||||
|
Reference in New Issue
Block a user