qmlFrontend/flib.h
branchqmlfrontend
changeset 11439 23912c93935a
parent 11438 bca9afcc3a72
child 11442 6e641b5453f9
equal deleted inserted replaced
11438:bca9afcc3a72 11439:23912c93935a
     6 #ifdef __cplusplus
     6 #ifdef __cplusplus
     7 extern "C" {
     7 extern "C" {
     8 #endif
     8 #endif
     9 
     9 
    10 enum MessageType {
    10 enum MessageType {
    11     MSG_PREVIEW
    11     MSG_RENDERINGPREVIEW
       
    12     , MSG_PREVIEW
    12     , MSG_ADDPLAYINGTEAM
    13     , MSG_ADDPLAYINGTEAM
    13     , MSG_REMOVEPLAYINGTEAM
    14     , MSG_REMOVEPLAYINGTEAM
    14     , MSG_ADDTEAM
    15     , MSG_ADDTEAM
    15     , MSG_REMOVETEAM
    16     , MSG_REMOVETEAM
    16     , MSG_TEAMCOLOR
    17     , MSG_TEAMCOLOR
    17     , MSG_NETDATA
    18     , MSG_NETDATA
       
    19     , MSG_FLIBEVENT
    18     , MSG_CONNECTED
    20     , MSG_CONNECTED
    19     , MSG_DISCONNECTED
    21     , MSG_DISCONNECTED
    20     , MSG_ADDLOBBYCLIENT
    22     , MSG_ADDLOBBYCLIENT
    21     , MSG_REMOVELOBBYCLIENT
    23     , MSG_REMOVELOBBYCLIENT
    22     , MSG_LOBBYCHATLINE
    24     , MSG_LOBBYCHATLINE
    65 typedef void setScheme_t(const char * schemeName);
    67 typedef void setScheme_t(const char * schemeName);
    66 typedef void setAmmo_t(const char * ammoName);
    68 typedef void setAmmo_t(const char * ammoName);
    67 typedef void flibInit_t(const char * localPrefix, const char * userPrefix);
    69 typedef void flibInit_t(const char * localPrefix, const char * userPrefix);
    68 typedef void flibFree_t();
    70 typedef void flibFree_t();
    69 typedef void passNetData_t(const char * data);
    71 typedef void passNetData_t(const char * data);
       
    72 typedef void passFlibEvent_t(const char * data);
    70 typedef void sendChatLine_t(const char * msg);
    73 typedef void sendChatLine_t(const char * msg);
    71 typedef void joinRoom_t(const char * roomName);
    74 typedef void joinRoom_t(const char * roomName);
    72 typedef void partRoom_t(const char * message);
    75 typedef void partRoom_t(const char * message);
    73 
    76 
    74 typedef char **getThemesList_t();
    77 typedef char **getThemesList_t();