Files
FC1/Ubisoft.com/GSServices/sdks/gs-sdk-base/doc-api/GSPersistentCB_8h-source.html
romkazvo 34d6c5d489 123
2023-08-07 19:29:24 +08:00

71 lines
4.8 KiB
HTML

<HTML>
<HEAD>
<TITLE>Ubi.com GameService SDK</TITLE>
<LINK href="./gs-sdk-doc.css" rel="stylesheet" type="text/css">
</HEAD>
<BODY >
<!-- Generated by Doxygen 1.3.4 -->
<div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="annotated.html">Class&nbsp;List</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a></div>
<h1>GSPersistentCB.h</h1><a href="GSPersistentCB_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001
00002 <span class="comment">//****************************************************************************</span>
00003 <span class="comment">//* Author: Guillaume Plante &lt;gsdevelopers@ubisoft.com&gt;</span>
00004 <span class="comment">//* Date: 2001-09-20</span>
00011 <span class="comment"></span><span class="comment">//****************************************************************************</span>
00012
00013 <span class="preprocessor">#ifndef _GSPersistentCB_H_</span>
00014 <span class="preprocessor"></span><span class="preprocessor">#define _GSPersistentCB_H_</span>
00015 <span class="preprocessor"></span>
00016 <span class="preprocessor">#include "GSTypes.h"</span>
00017
00018 <span class="preprocessor">#ifdef __cplusplus</span>
00019 <span class="preprocessor"></span><span class="keyword">class </span>clPersistentCallbacks
00020 {
00021 <span class="keyword">public</span>:
00022
00023 <span class="keyword">virtual</span> GSvoid PSRcv_LoginResult(GSubyte ucType, GSint iReason) = 0;
00024 <span class="keyword">virtual</span> GSvoid PSRcv_Disconnection() = 0;
00025 <span class="keyword">virtual</span> GSvoid PSRcv_GetDataReply(GSubyte ucType, GSint iReason,GSuint iID,
00026 GSvoid *pData,GSint iSize) = 0;
00027 <span class="keyword">virtual</span> GSvoid PSRcv_SetDataReply(GSubyte ucType, GSint iReason,
00028 GSuint iID) = 0;
00029 };
00030
00031 <span class="preprocessor">#endif //__cplusplus</span>
00032 <span class="preprocessor"></span>
00037 <span class="comment">//============================================================================</span>
00038 <span class="comment">// CallBack CBPSRcv_LoginResult </span>
00039
00052 <span class="comment">//============================================================================</span>
<a name="l00053"></a><a class="code" href="group__group__PSCB.html#a0">00053</a> <span class="keyword">typedef</span> GSvoid (__stdcall *<a class="code" href="group__group__PSCB.html#a0">CBPSRcv_LoginResult</a>)(GSubyte ucType, GSint iReason);
00054
00055 <span class="comment">//============================================================================</span>
00056 <span class="comment">// CallBack CBPSRcv_Disconnection</span>
00065 <span class="comment"></span><span class="comment">//============================================================================</span>
<a name="l00066"></a><a class="code" href="group__group__PSCB.html#a1">00066</a> <span class="keyword">typedef</span> GSvoid (__stdcall *<a class="code" href="group__group__PSCB.html#a1">CBPSRcv_Disconnection</a>)();
00067
00068
00069 <span class="comment">//============================================================================</span>
00070 <span class="comment">// CallBack CBPSRcv_SetDataReply</span>
00071
00083 <span class="comment">//============================================================================</span>
<a name="l00084"></a><a class="code" href="group__group__PSCB.html#a2">00084</a> <span class="keyword">typedef</span> GSvoid (__stdcall *<a class="code" href="group__group__PSCB.html#a2">CBPSRcv_SetDataReply</a>)(GSubyte ucType, GSint iReason,
00085 GSuint iID);
00086
00087 <span class="comment">//============================================================================</span>
00088 <span class="comment">// CallBack CBPSRcv_GetDataReply</span>
00089
00104 <span class="comment">//============================================================================</span>
<a name="l00105"></a><a class="code" href="group__group__PSCB.html#a3">00105</a> <span class="keyword">typedef</span> GSvoid (__stdcall *<a class="code" href="group__group__PSCB.html#a3">CBPSRcv_GetDataReply</a>)(GSubyte ucType, GSint iReason,
00106 GSuint iID,GSvoid *pData,GSint iSize);
00107
00108 <span class="preprocessor">#endif //_GSPersistentCB_H_</span>
</pre></div><hr>
<p align="right">
<i>Ubi.com GameService SDK - &copy;UbiSoft Entertainment 2002 </i><br>
<i><a href="mailto:gsdevteam@ubisoft.com">GameService development team</a></i>
</p>
</body>
</html>