mirror of
https://github.com/yuzu-emu/discord-rpc.git
synced 2024-11-24 00:35:39 +01:00
clean that out
This commit is contained in:
parent
e3e2fd72f4
commit
7c92afb392
@ -38,32 +38,6 @@ void Discord_UpdatePresence(const DiscordRichPresence* presence);
|
||||
/* checks for incoming messages, dispatches callbacks */
|
||||
void Discord_Update();
|
||||
|
||||
/* later
|
||||
|
||||
struct DiscordChannelEventHandlers {
|
||||
void (*messageCreate)(const DiscordMessage* message);
|
||||
void (*messageUpdate)(const DiscordMessage* message);
|
||||
void (*messageDelete)(const DiscordMessage* message);
|
||||
void (*voiceStateCreate)(const DiscordVoiceState* state);
|
||||
void (*voiceStateDelete)(const DiscordVoiceState* state);
|
||||
void (*speakingStart)(const DiscordSpeakingState* state);
|
||||
void (*speakingStop)(const DiscordSpeakingState* state);
|
||||
};
|
||||
// Call this to subscribe to events in a specific voice or text channel
|
||||
void Discord_Subscribe(const char* channelId, const DiscordChannelEventHandlers* handlers);
|
||||
|
||||
// TBD RPC Requests
|
||||
void Discord_Authenticate();
|
||||
void Discord_Authorize();
|
||||
void Discord_GetGuilds();
|
||||
void Discord_GetChannels();
|
||||
void Discord_GetChannel();
|
||||
void Discord_SelectVoiceChannel();
|
||||
void Discord_SelectTextChannel();
|
||||
void Discord_SendMessage();
|
||||
|
||||
*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
} /* extern "C" */
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user