2022-11-05 13:58:44 +01:00
|
|
|
// SPDX-FileCopyrightText: 2018 Citra Emulator Project
|
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "yuzu/discord.h"
|
|
|
|
|
|
|
|
namespace Core {
|
|
|
|
class System;
|
|
|
|
}
|
|
|
|
|
|
|
|
namespace DiscordRPC {
|
|
|
|
|
|
|
|
class DiscordImpl : public DiscordInterface {
|
|
|
|
public:
|
|
|
|
DiscordImpl(Core::System& system_);
|
|
|
|
~DiscordImpl() override;
|
|
|
|
|
|
|
|
void Pause() override;
|
|
|
|
void Update() override;
|
|
|
|
|
|
|
|
Core::System& system;
|
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace DiscordRPC
|