Files
eden/src/yuzu/discord_impl.h
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
607 B
C++
Raw Normal View History

2022-05-15 02:06:02 +02:00
// SPDX-FileCopyrightText: 2018 Citra Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
2018-09-16 20:05:51 +02:00
#pragma once
#include "yuzu/discord.h"
namespace Core {
class System;
}
2018-09-16 20:05:51 +02:00
namespace DiscordRPC {
class DiscordImpl : public DiscordInterface {
public:
DiscordImpl(Core::System& system_);
2018-09-17 17:16:01 +02:00
~DiscordImpl() override;
2018-09-16 20:05:51 +02:00
void Pause() override;
void Update() override;
2023-07-21 13:08:46 -06:00
private:
std::string GetGameString(const std::string& title);
void UpdateGameStatus(bool use_default);
std::string game_url{};
std::string game_title{};
Core::System& system;
2018-09-16 20:05:51 +02:00
};
} // namespace DiscordRPC