[App/Discord] Rework how rich presence is managed.

Updating rich presence state every time the window title changes
is a bad idea(tm).
This commit is contained in:
gibbed
2019-08-03 08:12:37 -05:00
parent 763274654d
commit c16ef67ff9
7 changed files with 38 additions and 22 deletions

View File

@@ -145,7 +145,8 @@ class Emulator {
void WaitUntilExit();
public:
xe::Delegate<> on_launch;
xe::Delegate<uint32_t, const std::wstring&> on_launch;
xe::Delegate<> on_terminate;
xe::Delegate<> on_exit;
private: