chore: Make shadps4 REUSE compliant

This commit is contained in:
GPUCode 2024-02-23 23:32:32 +02:00
parent 6f4c6ae0bb
commit 584b7d2b15
124 changed files with 659 additions and 1891 deletions

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include <cstdint>
@ -5,7 +8,11 @@
#include <discord_rpc.h>
namespace Discord {
enum class RPCStatus { Idling, Playing };
enum class RPCStatus {
Idling,
Playing,
};
class RPC {
std::uint64_t startTimestamp;
@ -16,4 +23,5 @@ public:
void update(RPCStatus status, const std::string& title);
void stop();
};
} // namespace Discord