mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 05:47:56 -07:00
37 lines
729 B
C++
37 lines
729 B
C++
// 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;
|
|
};
|