mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 13:57:57 -07:00
0a15aaaa12
At first there weren't many enums in Volume.h, but the number has been growing, and I'm planning to add one more for regions. To not make Volume.h too large, and to avoid needing to include Volume.h in code that doesn't use volume objects, I'm moving the enums to a new file. I'm also turning them into enum classes while I'm at it.
55 lines
1.3 KiB
C++
55 lines
1.3 KiB
C++
// Copyright 2015 Dolphin Emulator Project
|
|
// Licensed under GPLv2+
|
|
// Refer to the license.txt file included.
|
|
|
|
#pragma once
|
|
|
|
#include <QSettings>
|
|
|
|
namespace DiscIO
|
|
{
|
|
enum class Language;
|
|
}
|
|
|
|
// UI settings to be stored in the config directory.
|
|
class Settings final : public QSettings
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit Settings(QObject* parent = nullptr);
|
|
|
|
// UI
|
|
QString GetThemeDir() const;
|
|
bool IsInDevelopmentWarningEnabled() const;
|
|
|
|
// GameList
|
|
QString GetLastGame() const;
|
|
void SetLastGame(const QString& path);
|
|
QStringList GetPaths() const;
|
|
void SetPaths(const QStringList& paths);
|
|
void RemovePath(int i);
|
|
QString GetDefaultGame() const;
|
|
void SetDefaultGame(const QString& path);
|
|
QString GetDVDRoot() const;
|
|
void SetDVDRoot(const QString& path);
|
|
QString GetApploader() const;
|
|
void SetApploader(const QString& path);
|
|
QString GetWiiNAND() const;
|
|
void SetWiiNAND(const QString& path);
|
|
DiscIO::Language GetWiiSystemLanguage() const;
|
|
DiscIO::Language GetGCSystemLanguage() const;
|
|
bool GetPreferredView() const;
|
|
void SetPreferredView(bool table);
|
|
|
|
// Emulation
|
|
bool GetConfirmStop() const;
|
|
int GetStateSlot() const;
|
|
void SetStateSlot(int);
|
|
|
|
// Graphics
|
|
bool GetRenderToMain() const;
|
|
bool GetFullScreen() const;
|
|
QSize GetRenderWindowSize() const;
|
|
};
|