pineapple/src/yuzu/discord.h

25 lines
449 B
C
Raw Normal View History

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
namespace DiscordRPC {
class DiscordInterface {
public:
virtual ~DiscordInterface() = default;
virtual void Pause() = 0;
virtual void Update() = 0;
};
class NullImpl : public DiscordInterface {
public:
~NullImpl() = default;
void Pause() override {}
void Update() override {}
};
} // namespace DiscordRPC