mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-28 22:36:26 -05:00
80e9c02bd6
Add support for disabling log from settings
30 lines
524 B
C++
30 lines
524 B
C++
// 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();
|
|
void ReadCore();
|
|
void SaveCore();
|
|
void ReadData();
|
|
void SaveData();
|
|
|
|
void ReadMiscellaneous();
|
|
void SaveMiscellaneous();
|
|
public:
|
|
Config();
|
|
~Config();
|
|
|
|
void Reload();
|
|
void Save();
|
|
};
|