Initializer_def_g.h 2.1 KB

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