misc/xfire/xfiregameclient.h
author Xeli
Wed, 22 Jun 2011 23:55:32 +0200
branchhedgeroid
changeset 5299 ab899b056f77
parent 2920 5cf48744a700
permissions -rw-r--r--
Removed the extra WriteToConsole()
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2920
5cf48744a700 Engine:
smxx
parents: 2830
diff changeset
     1
/* This file is NOT open source. See "license.txt" to read the full license provided with the Xfire SDK. */
2830
571a9deffeac Frontend:
smxx
parents:
diff changeset
     2
571a9deffeac Frontend:
smxx
parents:
diff changeset
     3
#ifndef __XFIREGAMECLIENT_H__
571a9deffeac Frontend:
smxx
parents:
diff changeset
     4
#define __XFIREGAMECLIENT_H__
571a9deffeac Frontend:
smxx
parents:
diff changeset
     5
571a9deffeac Frontend:
smxx
parents:
diff changeset
     6
#ifdef __cplusplus
571a9deffeac Frontend:
smxx
parents:
diff changeset
     7
extern "C" {
571a9deffeac Frontend:
smxx
parents:
diff changeset
     8
#endif
571a9deffeac Frontend:
smxx
parents:
diff changeset
     9
571a9deffeac Frontend:
smxx
parents:
diff changeset
    10
/*
571a9deffeac Frontend:
smxx
parents:
diff changeset
    11
**  XfireIsLoaded()
571a9deffeac Frontend:
smxx
parents:
diff changeset
    12
**
571a9deffeac Frontend:
smxx
parents:
diff changeset
    13
**  returns 1 if application can talk to Xfire, 0 otherwise
571a9deffeac Frontend:
smxx
parents:
diff changeset
    14
*/
571a9deffeac Frontend:
smxx
parents:
diff changeset
    15
int XfireIsLoaded();
571a9deffeac Frontend:
smxx
parents:
diff changeset
    16
571a9deffeac Frontend:
smxx
parents:
diff changeset
    17
/*
571a9deffeac Frontend:
smxx
parents:
diff changeset
    18
**  XfireSetCustomGameDataA()
571a9deffeac Frontend:
smxx
parents:
diff changeset
    19
**
571a9deffeac Frontend:
smxx
parents:
diff changeset
    20
**  ANSI version to tell xfire of custom game data
571a9deffeac Frontend:
smxx
parents:
diff changeset
    21
*/
571a9deffeac Frontend:
smxx
parents:
diff changeset
    22
int XfireSetCustomGameDataA(int num_keys, const char **keys, const char **values);
571a9deffeac Frontend:
smxx
parents:
diff changeset
    23
571a9deffeac Frontend:
smxx
parents:
diff changeset
    24
/*
571a9deffeac Frontend:
smxx
parents:
diff changeset
    25
**  XfireSetCustomGameDataA()
571a9deffeac Frontend:
smxx
parents:
diff changeset
    26
**
571a9deffeac Frontend:
smxx
parents:
diff changeset
    27
**  UNICODE version to tell xfire of custom game data
571a9deffeac Frontend:
smxx
parents:
diff changeset
    28
*/
571a9deffeac Frontend:
smxx
parents:
diff changeset
    29
int XfireSetCustomGameDataW(int num_keys, const wchar_t **keys, const wchar_t **values);
571a9deffeac Frontend:
smxx
parents:
diff changeset
    30
571a9deffeac Frontend:
smxx
parents:
diff changeset
    31
/*
571a9deffeac Frontend:
smxx
parents:
diff changeset
    32
**  XfireSetCustomGameDataUTF8()
571a9deffeac Frontend:
smxx
parents:
diff changeset
    33
**
571a9deffeac Frontend:
smxx
parents:
diff changeset
    34
**  UTF8 version to tell xfire of custom game data
571a9deffeac Frontend:
smxx
parents:
diff changeset
    35
*/
571a9deffeac Frontend:
smxx
parents:
diff changeset
    36
int XfireSetCustomGameDataUTF8(int num_keys, const char **keys, const char **values);
571a9deffeac Frontend:
smxx
parents:
diff changeset
    37
571a9deffeac Frontend:
smxx
parents:
diff changeset
    38
#ifdef UNICODE
571a9deffeac Frontend:
smxx
parents:
diff changeset
    39
#define XfireSetCustomGameData XfireSetCustomGameDataW
571a9deffeac Frontend:
smxx
parents:
diff changeset
    40
#else
571a9deffeac Frontend:
smxx
parents:
diff changeset
    41
#define XfireSetCustomGameData XfireSetCustomGameDataA
571a9deffeac Frontend:
smxx
parents:
diff changeset
    42
#endif
571a9deffeac Frontend:
smxx
parents:
diff changeset
    43
571a9deffeac Frontend:
smxx
parents:
diff changeset
    44
571a9deffeac Frontend:
smxx
parents:
diff changeset
    45
#ifdef __cplusplus
571a9deffeac Frontend:
smxx
parents:
diff changeset
    46
}
571a9deffeac Frontend:
smxx
parents:
diff changeset
    47
#endif
571a9deffeac Frontend:
smxx
parents:
diff changeset
    48
571a9deffeac Frontend:
smxx
parents:
diff changeset
    49
#endif /* __XFIREGAMECLIENT_H__ */