misc/xfire/xfiregameclient.h
branchwebgl
changeset 8444 75db7bb8dce8
parent 8340 46a9fde631f4
parent 8443 2debc9b9f917
child 8446 c18ba8726f5a
equal deleted inserted replaced
8340:46a9fde631f4 8444:75db7bb8dce8
     1 /* This file is NOT open source. See "license.txt" to read the full license provided with the Xfire SDK. */
       
     2 
       
     3 #ifndef __XFIREGAMECLIENT_H__
       
     4 #define __XFIREGAMECLIENT_H__
       
     5 
       
     6 #ifdef __cplusplus
       
     7 extern "C" {
       
     8 #endif
       
     9 
       
    10 /*
       
    11 **  XfireIsLoaded()
       
    12 **
       
    13 **  returns 1 if application can talk to Xfire, 0 otherwise
       
    14 */
       
    15 int XfireIsLoaded();
       
    16 
       
    17 /*
       
    18 **  XfireSetCustomGameDataA()
       
    19 **
       
    20 **  ANSI version to tell xfire of custom game data
       
    21 */
       
    22 int XfireSetCustomGameDataA(int num_keys, const char **keys, const char **values);
       
    23 
       
    24 /*
       
    25 **  XfireSetCustomGameDataA()
       
    26 **
       
    27 **  UNICODE version to tell xfire of custom game data
       
    28 */
       
    29 int XfireSetCustomGameDataW(int num_keys, const wchar_t **keys, const wchar_t **values);
       
    30 
       
    31 /*
       
    32 **  XfireSetCustomGameDataUTF8()
       
    33 **
       
    34 **  UTF8 version to tell xfire of custom game data
       
    35 */
       
    36 int XfireSetCustomGameDataUTF8(int num_keys, const char **keys, const char **values);
       
    37 
       
    38 #ifdef UNICODE
       
    39 #define XfireSetCustomGameData XfireSetCustomGameDataW
       
    40 #else
       
    41 #define XfireSetCustomGameData XfireSetCustomGameDataA
       
    42 #endif
       
    43 
       
    44 
       
    45 #ifdef __cplusplus
       
    46 }
       
    47 #endif
       
    48 
       
    49 #endif /* __XFIREGAMECLIENT_H__ */