diff options
author | bunnei <bunneidev@gmail.com> | 2018-10-06 02:43:09 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-06 02:43:09 -0400 |
commit | b8b90ce6e61329ebda226b9917ed961be3b80d1f (patch) | |
tree | 8e6b82419db7fb24eb5d8f06346a0a1228f9513c /src/yuzu/main.h | |
parent | 095c8d999b27bcd412ab91da27c56d014d8ddeb9 (diff) | |
parent | e4daf4bee522c046e5e01eeed2c5b12bd91f489e (diff) |
Merge pull request #1332 from FearlessTobi/port-web-backend
Port web_service from Citra
Diffstat (limited to 'src/yuzu/main.h')
-rw-r--r-- | src/yuzu/main.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/yuzu/main.h b/src/yuzu/main.h index 8ee9242b1..fe0e9a50a 100644 --- a/src/yuzu/main.h +++ b/src/yuzu/main.h @@ -41,6 +41,10 @@ enum class EmulatedDirectoryTarget { SDMC, }; +namespace DiscordRPC { +class DiscordInterface; +} + class GMainWindow : public QMainWindow { Q_OBJECT @@ -61,6 +65,8 @@ public: GMainWindow(); ~GMainWindow() override; + std::unique_ptr<DiscordRPC::DiscordInterface> discord_rpc; + signals: /** @@ -99,7 +105,8 @@ private: void BootGame(const QString& filename); void ShutdownGame(); - void ShowCallouts(); + void ShowTelemetryCallout(); + void SetDiscordEnabled(bool state); /** * Stores the filename in the recently loaded files list. @@ -135,6 +142,7 @@ private slots: void OnStartGame(); void OnPauseGame(); void OnStopGame(); + void OnMenuReportCompatibility(); /// Called whenever a user selects a game in the game list widget. void OnGameListLoadFile(QString game_path); void OnGameListOpenFolder(u64 program_id, GameListOpenTarget target); |