HelloService_def_g.h 758 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. #ifndef __HELLOSERVICE_DEF_G_H
  2. #define __HELLOSERVICE_DEF_G_H
  3. #pragma once
  4. // This code is generated by spgen tool!
  5. #include "spHelper.h"
  6. namespace HelloService {
  7. //
  8. // const goes here
  9. //
  10. #define HelloService_Method_Ping 0
  11. #define HelloService_Method_Hello 1
  12. #define HelloService_MethodSignature_Ping 0x8FA29144
  13. #define HelloService_MethodSignature_Hello 0x885E0CAD
  14. struct HelloService_Ping_Info
  15. {
  16. void Serialize(SpBuffer &Buf)
  17. {
  18. }
  19. };
  20. struct HelloService_Hello_Req
  21. {
  22. CSimpleStringA txt;
  23. void Serialize(SpBuffer &Buf)
  24. {
  25. Buf & txt;
  26. }
  27. };
  28. struct HelloService_Hello_Ans
  29. {
  30. CSimpleStringA txt;
  31. void Serialize(SpBuffer &Buf)
  32. {
  33. Buf & txt;
  34. }
  35. };
  36. ///////////////////////////
  37. } // namespace HelloService
  38. #endif // __HELLOSERVICE_DEF_G_H