Qt/Settings: Implement ControllerStateNeeded

This commit is contained in:
spycrab
2018-02-06 23:12:17 +01:00
parent 51d3de6787
commit 87d7c994e7
3 changed files with 15 additions and 1 deletions

View File

@ -46,6 +46,8 @@ public:
void SetLogVisible(bool visible);
bool IsLogConfigVisible() const;
void SetLogConfigVisible(bool visible);
bool IsControllerStateNeeded() const;
void SetControllerStateNeeded(bool needed);
// GameList
QStringList GetPaths() const;
@ -111,6 +113,7 @@ signals:
void DebugModeToggled(bool enabled);
private:
bool m_controller_state_needed = false;
std::unique_ptr<NetPlayClient> m_client;
std::unique_ptr<NetPlayServer> m_server;
Settings();