Initializer_def_g.h 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. #ifndef __INITIALIZER_DEF_G_H
  2. #define __INITIALIZER_DEF_G_H
  3. // This code is generated by spgen tool!
  4. #include "SpHelper.h"
  5. namespace Initializer {
  6. //
  7. // const goes here
  8. //
  9. #define InitializerService_Method_Initialize 0
  10. #define InitializerService_Method_InitializeNew 1
  11. #define InitializerService_Method_GetAuthServerInfo 2
  12. #define InitializerService_Method_InitializeForBlueTooth 3
  13. #define InitializerService_MethodSignature_Initialize -74094894
  14. #define InitializerService_MethodSignature_InitializeNew 1567332745
  15. #define InitializerService_MethodSignature_GetAuthServerInfo 220818735
  16. #define InitializerService_MethodSignature_InitializeForBlueTooth 707136591
  17. struct InitializerService_Initialize_Info
  18. {
  19. CSimpleStringA strUserID;
  20. CSimpleStringA strPassword;
  21. void Serialize(SpBuffer &Buf)
  22. {
  23. auto & buf = Buf & strUserID & strPassword;
  24. }
  25. };
  26. struct InitializerService_InitializeNew_Req
  27. {
  28. CSimpleStringA strAuthServer;
  29. int nAuthPort;
  30. CSimpleStringA strUserID;
  31. CSimpleStringA strPassword;
  32. void Serialize(SpBuffer &Buf)
  33. {
  34. auto & buf = Buf & strAuthServer & nAuthPort & strUserID & strPassword;
  35. }
  36. };
  37. struct InitializerService_InitializeNew_Ans
  38. {
  39. double Errcode;
  40. CSimpleStringA ErrMsg;
  41. void Serialize(SpBuffer &Buf)
  42. {
  43. auto & buf = Buf & Errcode & ErrMsg;
  44. }
  45. };
  46. struct InitializerService_GetAuthServerInfo_Req
  47. {
  48. void Serialize(SpBuffer &Buf)
  49. {
  50. }
  51. };
  52. struct InitializerService_GetAuthServerInfo_Ans
  53. {
  54. CSimpleStringA strIP;
  55. int nPort;
  56. void Serialize(SpBuffer &Buf)
  57. {
  58. auto & buf = Buf & strIP & nPort;
  59. }
  60. };
  61. struct InitializerService_InitializeForBlueTooth_Req
  62. {
  63. CSimpleStringA strAuthServer;
  64. int nAuthPort;
  65. CSimpleStringA strUserID;
  66. CSimpleStringA strPassword;
  67. int type;
  68. void Serialize(SpBuffer &Buf)
  69. {
  70. auto & buf = Buf & strAuthServer & nAuthPort & strUserID & strPassword & type;
  71. }
  72. };
  73. struct InitializerService_InitializeForBlueTooth_Ans
  74. {
  75. double Errcode;
  76. CSimpleStringA ErrMsg;
  77. void Serialize(SpBuffer &Buf)
  78. {
  79. auto & buf = Buf & Errcode & ErrMsg;
  80. }
  81. };
  82. ///////////////////////////
  83. } // namespace Initializer
  84. #endif // __INITIALIZER_DEF_G_H