dolphin/Source/Core/DolphinQt2/Settings.h

38 lines
805 B
C
Raw Normal View History

// Copyright 2015 Dolphin Emulator Project
// Licensed under GPLv2+
// Refer to the license.txt file included.
#pragma once
#include <QSettings>
#include "DiscIO/Volume.h"
// 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;
// GameList
QString GetLastGame() const;
void SetLastGame(const QString& path);
QStringList GetPaths() const;
void SetPaths(const 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;
};