diff options
| author | oldmud0 <oldmud0@users.noreply.github.com> | 2018-12-15 11:02:12 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-12-15 11:02:12 -0600 |
| commit | de6877409714417c8fb29d66d1ae1ef098b82644 (patch) | |
| tree | db79ef284b2223daa1bee48056a96a81310945bf /include/discord_register.h | |
| parent | 3ef743da7b8071e0dc4b1189cbe131f65f11b5de (diff) | |
| parent | 6d1ea9d81fc02fbc481d93af549003db954aa1f7 (diff) | |
Merge pull request #33 from AttorneyOnline/mega-merge
AOV/Case Cafe feature parity
Diffstat (limited to 'include/discord_register.h')
| -rw-r--r-- | include/discord_register.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/include/discord_register.h b/include/discord_register.h new file mode 100644 index 0000000..4c16b68 --- /dev/null +++ b/include/discord_register.h @@ -0,0 +1,26 @@ +#pragma once + +#if defined(DISCORD_DYNAMIC_LIB) +# if defined(_WIN32) +# if defined(DISCORD_BUILDING_SDK) +# define DISCORD_EXPORT __declspec(dllexport) +# else +# define DISCORD_EXPORT __declspec(dllimport) +# endif +# else +# define DISCORD_EXPORT __attribute__((visibility("default"))) +# endif +#else +# define DISCORD_EXPORT +#endif + +#ifdef __cplusplus +extern "C" { +#endif + +DISCORD_EXPORT void Discord_Register(const char* applicationId, const char* command); +DISCORD_EXPORT void Discord_RegisterSteamGame(const char* applicationId, const char* steamId); + +#ifdef __cplusplus +} +#endif |
