HolderContext_def_g.h 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. #ifndef __HOLDERCONTEXT_DEF_G_H
  2. #define __HOLDERCONTEXT_DEF_G_H
  3. #pragma once
  4. // This code is generated by spgen tool!
  5. #include "SpHelper.h"
  6. namespace HolderContext {
  7. //
  8. // const goes here
  9. //
  10. #define HolderContext_Method_SetHolderState 0
  11. #define HolderContext_Method_CheckHolderRights 1
  12. #define HolderContext_Method_PickUp 2
  13. #define HolderContext_Method_Hangup 3
  14. #define HolderContext_MethodSignature_SetHolderState 1254910705
  15. #define HolderContext_MethodSignature_CheckHolderRights -684992352
  16. #define HolderContext_MethodSignature_PickUp -5597460
  17. #define HolderContext_MethodSignature_Hangup 1220628221
  18. struct HolderContext_SetHolderState_Req
  19. {
  20. CSimpleStringA state;
  21. void Serialize(SpBuffer &Buf)
  22. {
  23. auto & buf = Buf & state;
  24. }
  25. };
  26. struct HolderContext_SetHolderState_Ans
  27. {
  28. void Serialize(SpBuffer &Buf)
  29. {
  30. }
  31. };
  32. struct HolderContext_CheckHolderRights_Req
  33. {
  34. void Serialize(SpBuffer &Buf)
  35. {
  36. }
  37. };
  38. struct HolderContext_CheckHolderRights_Ans
  39. {
  40. double Errcode;
  41. CSimpleStringA ErrMsg;
  42. void Serialize(SpBuffer &Buf)
  43. {
  44. auto & buf = Buf & Errcode & ErrMsg;
  45. }
  46. };
  47. struct HolderContext_PickUp_Req
  48. {
  49. void Serialize(SpBuffer &Buf)
  50. {
  51. }
  52. };
  53. struct HolderContext_PickUp_Ans
  54. {
  55. void Serialize(SpBuffer &Buf)
  56. {
  57. }
  58. };
  59. struct HolderContext_Hangup_Info
  60. {
  61. void Serialize(SpBuffer &Buf)
  62. {
  63. }
  64. };
  65. ///////////////////////////
  66. } // namespace HolderContext
  67. #endif // __HOLDERCONTEXT_DEF_G_H