2022-07-27 20:06:50 +02:00
|
|
|
// SPDX-FileCopyrightText: 2018 Citra Emulator Project
|
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
2020-12-28 16:15:37 +01:00
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "yuzu/discord.h"
|
|
|
|
|
2021-10-09 02:29:53 +02:00
|
|
|
namespace Core {
|
|
|
|
class System;
|
|
|
|
}
|
|
|
|
|
2020-12-28 16:15:37 +01:00
|
|
|
namespace DiscordRPC {
|
|
|
|
|
|
|
|
class DiscordImpl : public DiscordInterface {
|
|
|
|
public:
|
2021-10-09 02:29:53 +02:00
|
|
|
DiscordImpl(Core::System& system_);
|
2020-12-28 16:15:37 +01:00
|
|
|
~DiscordImpl() override;
|
|
|
|
|
|
|
|
void Pause() override;
|
|
|
|
void Update() override;
|
2021-10-09 02:29:53 +02:00
|
|
|
|
|
|
|
Core::System& system;
|
2020-12-28 16:15:37 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace DiscordRPC
|