2014-09-12 20:06:13 -04: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 15:54:44 -04:00
|
|
|
void ReadCore();
|
|
|
|
void SaveCore();
|
2014-10-09 22:43:40 -04:00
|
|
|
void ReadData();
|
|
|
|
void SaveData();
|
2014-10-27 17:18:28 -04:00
|
|
|
|
|
|
|
void ReadMiscellaneous();
|
|
|
|
void SaveMiscellaneous();
|
2014-09-12 20:06:13 -04:00
|
|
|
public:
|
|
|
|
Config();
|
|
|
|
~Config();
|
|
|
|
|
|
|
|
void Reload();
|
|
|
|
void Save();
|
|
|
|
};
|