Forgot some extra cleanup in Discord RPC
This commit is contained in:
+3
-3
@@ -1,8 +1,8 @@
|
|||||||
/*
|
/*
|
||||||
* OpenSubSonicPlayer
|
* OpenSubsonicPlayer
|
||||||
* Goldenkrew3000 2025
|
* Goldenkrew3000 / Hojuix 2026
|
||||||
* License: GNU General Public License 3.0
|
* License: GNU General Public License 3.0
|
||||||
* Discord Local RPC Handler
|
* Info: Discord RPC Handler
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
|
|||||||
+11
-2
@@ -1,13 +1,18 @@
|
|||||||
/*
|
/*
|
||||||
* OpenSubsonicPlayer
|
* OpenSubsonicPlayer
|
||||||
* Goldenkrew3000 2025
|
* Goldenkrew3000 / Hojuix 2026
|
||||||
* License: GNU General Public License 3.0
|
* License: GNU General Public License 3.0
|
||||||
|
* Info: Discord RPC Handler
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _DISCORDRPC_H
|
#ifndef _DISCORDRPC_H
|
||||||
#define _DISCORDRPC_H
|
#define _DISCORDRPC_H
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif // __cplusplus
|
||||||
|
|
||||||
#define DISCORDRPC_STATE_IDLE 0
|
#define DISCORDRPC_STATE_IDLE 0
|
||||||
#define DISCORDRPC_STATE_PLAYING_OPENSUBSONIC 1
|
#define DISCORDRPC_STATE_PLAYING_OPENSUBSONIC 1
|
||||||
#define DISCORDRPC_STATE_PLAYING_LOCALFILE 2
|
#define DISCORDRPC_STATE_PLAYING_LOCALFILE 2
|
||||||
@@ -29,4 +34,8 @@ int OSSP_discordrpc_Init();
|
|||||||
void OSSP_discordrpc_update(OSSP_discordrpc_t* obj);
|
void OSSP_discordrpc_update(OSSP_discordrpc_t* obj);
|
||||||
char* OSSP_discordrpc_getOS();
|
char* OSSP_discordrpc_getOS();
|
||||||
|
|
||||||
#endif
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif // __cplusplus
|
||||||
|
|
||||||
|
#endif // _DISCORDRPC_H
|
||||||
|
|||||||
Reference in New Issue
Block a user