mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Use a separate INI file for UI settings.
This commit is contained in:
36
Source/Core/DolphinQt2/Settings.h
Normal file
36
Source/Core/DolphinQt2/Settings.h
Normal file
@ -0,0 +1,36 @@
|
||||
// Copyright 2015 Dolphin Emulator Project
|
||||
// Licensed under GPLv2+
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <QSettings>
|
||||
|
||||
#include "DiscIO/Volume.h"
|
||||
|
||||
class Settings final : public QSettings
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
Settings(QObject* parent = nullptr);
|
||||
|
||||
// UI
|
||||
QString GetThemeDir() const;
|
||||
|
||||
// GameList
|
||||
QString GetLastGame() const;
|
||||
void SetLastGame(QString path);
|
||||
QStringList GetPaths() const;
|
||||
void SetPaths(QStringList paths);
|
||||
DiscIO::IVolume::ELanguage GetWiiSystemLanguage() const;
|
||||
DiscIO::IVolume::ELanguage GetGCSystemLanguage() const;
|
||||
|
||||
// Emulation
|
||||
bool GetConfirmStop() const;
|
||||
|
||||
// Graphics
|
||||
bool GetRenderToMain() const;
|
||||
bool GetFullScreen() const;
|
||||
QSize GetRenderWindowSize() const;
|
||||
};
|
Reference in New Issue
Block a user