Main Page | Modules | Class List | File List | Class Members | File Members

GSPersistentCB.h

Go to the documentation of this file.
00001 
00002 //****************************************************************************
00003 //*   Author:  Guillaume Plante  <gsdevelopers@ubisoft.com>
00004 //*   Date:       2001-09-20
00011 //****************************************************************************
00012 
00013 #ifndef _GSPersistentCB_H_
00014 #define _GSPersistentCB_H_
00015 
00016 #include "GSTypes.h"
00017 
00018 #ifdef __cplusplus
00019 class clPersistentCallbacks
00020 {
00021         public:
00022 
00023                 virtual GSvoid PSRcv_LoginResult(GSubyte ucType, GSint iReason) = 0;
00024                 virtual GSvoid PSRcv_Disconnection() = 0;
00025                 virtual GSvoid PSRcv_GetDataReply(GSubyte ucType, GSint iReason,GSuint iID,
00026                                 GSvoid *pData,GSint iSize) = 0;
00027                 virtual GSvoid PSRcv_SetDataReply(GSubyte ucType, GSint iReason,
00028                                 GSuint iID) = 0;
00029 };
00030 
00031 #endif //__cplusplus
00032 
00037 //============================================================================
00038 // CallBack CBPSRcv_LoginResult 
00039 
00052 //============================================================================
00053 typedef GSvoid (__stdcall *CBPSRcv_LoginResult)(GSubyte ucType, GSint  iReason);
00054 
00055 //============================================================================
00056 // CallBack CBPSRcv_Disconnection
00065 //============================================================================
00066 typedef GSvoid (__stdcall *CBPSRcv_Disconnection)();
00067 
00068 
00069 //============================================================================
00070 // CallBack CBPSRcv_SetDataReply
00071 
00083 //============================================================================
00084 typedef GSvoid (__stdcall *CBPSRcv_SetDataReply)(GSubyte ucType, GSint iReason,
00085                 GSuint iID);
00086 
00087 //============================================================================
00088 // CallBack CBPSRcv_GetDataReply
00089 
00104 //============================================================================
00105 typedef GSvoid (__stdcall *CBPSRcv_GetDataReply)(GSubyte ucType, GSint  iReason,
00106                 GSuint iID,GSvoid *pData,GSint iSize);
00107 
00108 #endif //_GSPersistentCB_H_

Ubi.com GameService SDK - ©UbiSoft Entertainment 2002
GameService development team