Forgot some extra cleanup in Discord RPC
This commit is contained in:
+11
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user