mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-23 02:45:45 +00:00
discord_impl: Remove global system instances
This commit is contained in:
parent
b6387b3e2f
commit
aeab40e338
3 changed files with 13 additions and 6 deletions
|
@ -6,15 +6,21 @@
|
|||
|
||||
#include "yuzu/discord.h"
|
||||
|
||||
namespace Core {
|
||||
class System;
|
||||
}
|
||||
|
||||
namespace DiscordRPC {
|
||||
|
||||
class DiscordImpl : public DiscordInterface {
|
||||
public:
|
||||
DiscordImpl();
|
||||
DiscordImpl(Core::System& system_);
|
||||
~DiscordImpl() override;
|
||||
|
||||
void Pause() override;
|
||||
void Update() override;
|
||||
|
||||
Core::System& system;
|
||||
};
|
||||
|
||||
} // namespace DiscordRPC
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue