Ya guarda el fichero de configuración
This commit is contained in:
@@ -32,12 +32,24 @@ private:
|
||||
section_t section; // Sección y subsección actual del programa;
|
||||
struct options_t *options; // Contiene las opciones del programa
|
||||
|
||||
// Carga el fichero de configuración
|
||||
bool loadConfig();
|
||||
|
||||
// Guarda el fichero de configuración
|
||||
bool saveConfig();
|
||||
|
||||
// Asigna variables a partir de dos cadenas
|
||||
bool setOptions(options_t *options, std::string var, std::string value);
|
||||
|
||||
// Inicializa jail_audio
|
||||
void initJailAudio();
|
||||
|
||||
// Arranca SDL y crea la ventana
|
||||
bool initSDL();
|
||||
|
||||
// Inicializa el objeto Input
|
||||
void initInput();
|
||||
|
||||
// Crea el indice de ficheros
|
||||
bool setFileList();
|
||||
|
||||
@@ -64,7 +76,7 @@ private:
|
||||
|
||||
public:
|
||||
// Constructor
|
||||
Prog(std::string executablePath);
|
||||
Prog(std::string path);
|
||||
|
||||
// Destructor
|
||||
~Prog();
|
||||
|
||||
Reference in New Issue
Block a user