You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
814 B
27 lines
814 B
#ifndef MY_PROCESS_H
|
|
#define MY_PROCESS_H
|
|
|
|
#include "my_process.h"
|
|
namespace Lib_save {
|
|
|
|
class Save {
|
|
private:
|
|
std::map <string, string> *map_global;
|
|
std::map <string, string> *map_local;
|
|
std::map <string, string> *map_gui;
|
|
vector<string> vec_errors;
|
|
My_Process::My_Process_system process = My_Process::My_Process_system();
|
|
bool flag_no_save;
|
|
public:
|
|
Save(/* args */);
|
|
~Save();
|
|
void set_data_global(std::map <string, string> &map_global);
|
|
void set_data_local(std::map <string, string> &map_local);
|
|
void set_data_gui(std::map <string, string> &map_gui);
|
|
bool check_save(string flag_save, string key_name);
|
|
bool get_state_save();
|
|
void save(std::map <string, string> &map_gui, string sections, string str_flag_save) ;
|
|
vector<string> get_error();
|
|
};
|
|
}
|
|
#endif |