Forgot some extra cleanup in Discord RPC

This commit is contained in:
2026-04-19 22:53:22 +10:00
parent 510137015d
commit dfe3b760f9
2 changed files with 14 additions and 5 deletions
+3 -3
View File
@@ -1,8 +1,8 @@
/*
* OpenSubSonicPlayer
* Goldenkrew3000 2025
* OpenSubsonicPlayer
* Goldenkrew3000 / Hojuix 2026
* License: GNU General Public License 3.0
* Discord Local RPC Handler
* Info: Discord RPC Handler
*/
#include <inttypes.h>
+11 -2
View File
@@ -1,13 +1,18 @@
/*
* OpenSubsonicPlayer
* Goldenkrew3000 2025
* Goldenkrew3000 / Hojuix 2026
* License: GNU General Public License 3.0
* Info: Discord RPC Handler
*/
#ifndef _DISCORDRPC_H
#define _DISCORDRPC_H
#include <time.h>
#ifdef __cplusplus
extern "C" {
#endif // __cplusplus
#define DISCORDRPC_STATE_IDLE 0
#define DISCORDRPC_STATE_PLAYING_OPENSUBSONIC 1
#define DISCORDRPC_STATE_PLAYING_LOCALFILE 2
@@ -29,4 +34,8 @@ int OSSP_discordrpc_Init();
void OSSP_discordrpc_update(OSSP_discordrpc_t* obj);
char* OSSP_discordrpc_getOS();
#endif
#ifdef __cplusplus
}
#endif // __cplusplus
#endif // _DISCORDRPC_H