2018-09-16 14:05:51 -04:00
|
|
|
// Copyright 2018 Citra Emulator Project
|
|
|
|
// Licensed under GPLv2 or any later version
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "yuzu/discord.h"
|
|
|
|
|
2021-09-03 20:16:20 -04:00
|
|
|
namespace Core {
|
|
|
|
class System;
|
|
|
|
}
|
|
|
|
|
2018-09-16 14:05:51 -04:00
|
|
|
namespace DiscordRPC {
|
|
|
|
|
|
|
|
class DiscordImpl : public DiscordInterface {
|
|
|
|
public:
|
2021-09-03 20:16:20 -04:00
|
|
|
DiscordImpl(Core::System& system_);
|
2018-09-17 11:16:01 -04:00
|
|
|
~DiscordImpl() override;
|
2018-09-16 14:05:51 -04:00
|
|
|
|
|
|
|
void Pause() override;
|
|
|
|
void Update() override;
|
2021-09-03 20:16:20 -04:00
|
|
|
|
|
|
|
Core::System& system;
|
2018-09-16 14:05:51 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace DiscordRPC
|