ddnet/src/steam/steam_api_flat.h

31 lines
937 B
C
Raw Normal View History

2020-08-20 10:17:44 +00:00
#ifndef STEAMAPI_STEAM_STEAM_API_FLAT_H
#define STEAMAPI_STEAM_STEAM_API_FLAT_H
#include <base/dynamic.h>
#ifndef STEAMAPI
#define STEAMAPI DYNAMIC_IMPORT
#endif
extern "C"
{
struct ISteamApps;
2020-08-20 10:17:44 +00:00
struct ISteamFriends;
STEAMAPI bool SteamAPI_Init(); // Returns true on success.
STEAMAPI void SteamAPI_Shutdown();
STEAMAPI ISteamApps *SteamAPI_SteamApps_v008();
STEAMAPI int SteamAPI_ISteamApps_GetLaunchCommandLine(ISteamApps *pSelf, char *pBuffer, int BufferSize);
STEAMAPI const char *SteamAPI_ISteamApps_GetLaunchQueryParam(ISteamApps *pSelf, const char *pKey);
2020-08-20 10:17:44 +00:00
STEAMAPI ISteamFriends *SteamAPI_SteamFriends_v017();
STEAMAPI void SteamAPI_ISteamFriends_ClearRichPresence(ISteamFriends *pSelf);
2020-08-20 10:17:44 +00:00
STEAMAPI const char *SteamAPI_ISteamFriends_GetPersonaName(ISteamFriends *pSelf);
STEAMAPI bool SteamAPI_ISteamFriends_SetRichPresence(ISteamFriends *pSelf, const char *pKey, const char *pValue);
2020-08-20 10:17:44 +00:00
}
#endif // STEAMAPI_STEAM_API_FLAT_H