mirror of
https://git.suyu.dev/suyu/suyu
synced 2025-01-18 05:40:11 -06:00
29 lines
512 B
C++
29 lines
512 B
C++
// Copyright 2014 Citra Emulator Project
|
|
// Licensed under GPLv2 or any later version
|
|
// Refer to the license.txt file included.
|
|
|
|
#pragma once
|
|
|
|
#include <QVariant>
|
|
#include <string>
|
|
|
|
#include "core/settings.h"
|
|
|
|
class QSettings;
|
|
|
|
class Config {
|
|
QSettings* qt_config;
|
|
std::string qt_config_loc;
|
|
|
|
void ReadValues();
|
|
void SaveValues();
|
|
|
|
public:
|
|
Config();
|
|
~Config();
|
|
|
|
void Reload();
|
|
void Save();
|
|
static const std::array<QVariant, Settings::NativeInput::NUM_INPUTS> defaults;
|
|
};
|