diff options
author | bunnei <bunneidev@gmail.com> | 2022-09-02 10:24:32 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-02 10:24:32 -0700 |
commit | 5addff8d59dbafb96af02319c24e3e162296336d (patch) | |
tree | af3d99b89ec3cf093e940eff2d9d8cb31e4faec8 /src/yuzu/multiplayer/message.h | |
parent | 199f77b92f6e0f47844e44dcc5ef1f4dc299824c (diff) | |
parent | 65718e2876374aecf2ac29856387dab4394ca47f (diff) |
Merge pull request #8822 from FearlessTobi/multiplayer-fixes
network: Fixes and improvements to the room feature
Diffstat (limited to 'src/yuzu/multiplayer/message.h')
-rw-r--r-- | src/yuzu/multiplayer/message.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/yuzu/multiplayer/message.h b/src/yuzu/multiplayer/message.h index 812495c72..f038b9a1f 100644 --- a/src/yuzu/multiplayer/message.h +++ b/src/yuzu/multiplayer/message.h @@ -43,11 +43,20 @@ public: static const ConnectionError IP_COLLISION; static const ConnectionError PERMISSION_DENIED; static const ConnectionError NO_SUCH_USER; + static const ConnectionError NO_INTERFACE_SELECTED; /** * Shows a standard QMessageBox with a error message */ static void ShowError(const ConnectionError& e); }; + +/** + * Show a standard QMessageBox with a warning message about joining a room when + * the game is already running + * return true if the user wants to close the network connection + */ +bool WarnGameRunning(); + /** * Show a standard QMessageBox with a warning message about leaving the room * return true if the user wants to close the network connection |