mirror of
https://github.com/yuzu-mirror/yuzu
synced 2024-12-28 10:53:05 +00:00
29 lines
483 B
C++
29 lines
483 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 ReadData();
|
|
void SaveData();
|
|
|
|
void ReadMiscellaneous();
|
|
void SaveMiscellaneous();
|
|
public:
|
|
Config();
|
|
~Config();
|
|
|
|
void Reload();
|
|
void Save();
|
|
};
|