Qt/Settings: Implement cheat settings

This commit is contained in:
spycrab
2017-08-30 21:00:59 +02:00
parent 8687f6aae7
commit 5aecd61ede
5 changed files with 47 additions and 28 deletions

View File

@ -77,6 +77,10 @@ public:
NetPlayServer* GetNetPlayServer();
void ResetNetPlayServer(NetPlayServer* server = nullptr);
// Cheats
bool GetCheatsEnabled() const;
void SetCheatsEnabled(bool enabled);
// Other
GameListModel* GetGameListModel() const;
@ -90,6 +94,7 @@ signals:
void NANDRefresh();
void LogVisibilityChanged(bool visible);
void LogConfigVisibilityChanged(bool visible);
void EnableCheatsChanged(bool enabled);
private:
std::unique_ptr<NetPlayClient> m_client;