mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-16 05:17:57 -05:00
discord_impl: Remove global system instances
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user