citra-qt: Move config dialog code to its own directory
This commit is contained in:
parent
30c130546e
commit
1631e99eed
25 changed files with 41 additions and 41 deletions
30
src/citra_qt/configuration/config.h
Normal file
30
src/citra_qt/configuration/config.h
Normal file
|
@ -0,0 +1,30 @@
|
|||
// Copyright 2014 Citra Emulator Project
|
||||
// Licensed under GPLv2 or any later version
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <array>
|
||||
#include <string>
|
||||
#include <QVariant>
|
||||
#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<int, Settings::NativeButton::NumButtons> default_buttons;
|
||||
static const std::array<std::array<int, 5>, Settings::NativeAnalog::NumAnalogs> default_analogs;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue