Init commit

This commit is contained in:
2020-10-20 14:16:46 +02:00
commit 7a3fa50503
8 changed files with 524 additions and 0 deletions

14
include/configFile.hpp Normal file
View File

@ -0,0 +1,14 @@
#include "config.hpp"
#include <fstream>
#include <string>
#ifndef __CONFIG_FILE_HPP_
#define __CONFIG_FILE_HPP_
namespace cf {
const std::string g_cofigFile = "~/.config/stressUI.cfg";
Config *openConfig();
void closeConfig(Config *config);
std::string getLine(std::ifstream *file);
void saveConfig();
void createConfig();
} // namespace cf
#endif // __CONFIG_FILE_HPP_