2014-09-13 02:06:13 +02:00
|
|
|
// Copyright 2014 Citra Emulator Project
|
|
|
|
// Licensed under GPLv2
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <QSettings>
|
|
|
|
|
|
|
|
#include "common/common_types.h"
|
|
|
|
|
|
|
|
class Config {
|
|
|
|
QSettings* qt_config;
|
|
|
|
std::string qt_config_loc;
|
|
|
|
|
|
|
|
void ReadControls();
|
|
|
|
void SaveControls();
|
2014-10-25 21:54:44 +02:00
|
|
|
void ReadCore();
|
|
|
|
void SaveCore();
|
2014-10-10 04:43:40 +02:00
|
|
|
void ReadData();
|
|
|
|
void SaveData();
|
2014-10-27 22:18:28 +01:00
|
|
|
|
|
|
|
void ReadMiscellaneous();
|
|
|
|
void SaveMiscellaneous();
|
2014-09-13 02:06:13 +02:00
|
|
|
public:
|
|
|
|
Config();
|
|
|
|
~Config();
|
|
|
|
|
|
|
|
void Reload();
|
|
|
|
void Save();
|
|
|
|
};
|