123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114 |
- #ifndef __INITIALIZER_DEF_G_H
- #define __INITIALIZER_DEF_G_H
- // This code is generated by spgen tool!
- #include "SpHelper.h"
- namespace Initializer {
- //
- // const goes here
- //
- #define InitializerService_Method_Initialize 0
- #define InitializerService_Method_InitializeNew 1
- #define InitializerService_Method_GetAuthServerInfo 2
- #define InitializerService_Method_InitializeForBlueTooth 3
- #define InitializerService_MethodSignature_Initialize -74094894
- #define InitializerService_MethodSignature_InitializeNew 1567332745
- #define InitializerService_MethodSignature_GetAuthServerInfo 220818735
- #define InitializerService_MethodSignature_InitializeForBlueTooth 707136591
- struct InitializerService_Initialize_Info
- {
- CSimpleStringA strUserID;
- CSimpleStringA strPassword;
- void Serialize(SpBuffer &Buf)
- {
- auto & buf = Buf & strUserID & strPassword;
- }
- };
- struct InitializerService_InitializeNew_Req
- {
- CSimpleStringA strAuthServer;
- int nAuthPort;
- CSimpleStringA strUserID;
- CSimpleStringA strPassword;
- void Serialize(SpBuffer &Buf)
- {
- auto & buf = Buf & strAuthServer & nAuthPort & strUserID & strPassword;
- }
- };
- struct InitializerService_InitializeNew_Ans
- {
- double Errcode;
- CSimpleStringA ErrMsg;
- void Serialize(SpBuffer &Buf)
- {
- auto & buf = Buf & Errcode & ErrMsg;
- }
- };
- struct InitializerService_GetAuthServerInfo_Req
- {
- void Serialize(SpBuffer &Buf)
- {
- }
- };
- struct InitializerService_GetAuthServerInfo_Ans
- {
- CSimpleStringA strIP;
- int nPort;
- void Serialize(SpBuffer &Buf)
- {
- auto & buf = Buf & strIP & nPort;
- }
- };
- struct InitializerService_InitializeForBlueTooth_Req
- {
- CSimpleStringA strAuthServer;
- int nAuthPort;
- CSimpleStringA strUserID;
- CSimpleStringA strPassword;
- int type;
- void Serialize(SpBuffer &Buf)
- {
- auto & buf = Buf & strAuthServer & nAuthPort & strUserID & strPassword & type;
- }
- };
- struct InitializerService_InitializeForBlueTooth_Ans
- {
- double Errcode;
- CSimpleStringA ErrMsg;
- void Serialize(SpBuffer &Buf)
- {
- auto & buf = Buf & Errcode & ErrMsg;
- }
- };
- ///////////////////////////
- } // namespace Initializer
- #endif // __INITIALIZER_DEF_G_H
|