2014-09-13 05:36:13 +05:30
|
|
|
// 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-26 01:24:44 +05:30
|
|
|
void ReadCore();
|
|
|
|
void SaveCore();
|
2014-10-10 08:13:40 +05:30
|
|
|
void ReadData();
|
|
|
|
void SaveData();
|
2014-10-28 02:48:28 +05:30
|
|
|
|
|
|
|
void ReadMiscellaneous();
|
|
|
|
void SaveMiscellaneous();
|
2014-09-13 05:36:13 +05:30
|
|
|
public:
|
|
|
|
Config();
|
|
|
|
~Config();
|
|
|
|
|
|
|
|
void Reload();
|
|
|
|
void Save();
|
|
|
|
};
|