2018-10-22 04:34:45 +00:00
|
|
|
// SONIC ROBO BLAST 2
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
// Copyright (C) 2012-2018 by Sally "TehRealSalt" Cochenour.
|
|
|
|
// Copyright (C) 2012-2016 by Sonic Team Junior.
|
|
|
|
//
|
|
|
|
// This program is free software distributed under the
|
|
|
|
// terms of the GNU General Public License, version 2.
|
|
|
|
// See the 'LICENSE' file for more details.
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
/// \file discord.h
|
|
|
|
/// \brief Discord Rich Presence handling
|
|
|
|
|
2020-08-17 06:25:05 +00:00
|
|
|
#ifndef __DISCORD__
|
|
|
|
#define __DISCORD__
|
|
|
|
|
2018-10-22 04:34:45 +00:00
|
|
|
#ifdef HAVE_DISCORDRPC
|
|
|
|
|
|
|
|
#include "discord_rpc.h"
|
|
|
|
|
2020-08-17 06:25:05 +00:00
|
|
|
extern consvar_t cv_discordrp;
|
|
|
|
|
2018-10-22 04:34:45 +00:00
|
|
|
void DRPC_Init(void);
|
|
|
|
void DRPC_UpdatePresence(void);
|
|
|
|
|
2020-08-17 06:25:05 +00:00
|
|
|
#endif // HAVE_DISCORDRPC
|
|
|
|
|
|
|
|
#endif // __DISCORD__
|