summaryrefslogblamecommitdiffstats
path: root/src/citra_qt/config.h
blob: 74c9ff11dd9c28fd8463b24315acee63ceebb154 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16















                                          


                    






                  
// 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();
public:
    Config();
    ~Config();

    void Reload();
    void Save();
};