LocalMediaPlay_def_g.h 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252
  1. #ifndef __LOCALMEDIAPLAY_DEF_G_H
  2. #define __LOCALMEDIAPLAY_DEF_G_H
  3. #pragma once
  4. // This code is generated by spgen tool!
  5. #include "SpHelper.h"
  6. namespace LocalMediaPlay {
  7. //
  8. // const goes here
  9. //
  10. #define PlayService_Method_StartPlayVideo 0
  11. #define PlayService_Method_StartPlayAudio 1
  12. #define PlayService_Method_StartPlayImage 2
  13. #define PlayService_Method_StopPlayVideo 3
  14. #define PlayService_Method_StopPlayAudio 4
  15. #define PlayService_Method_StopPlayImage 5
  16. #define PlayService_Method_GetLocalVideoVolume 6
  17. #define PlayService_Method_SetLocalVideoVolume 7
  18. #define PlayService_Method_GetLocalAudioVolume 8
  19. #define PlayService_Method_SetLocalAudioVolume 9
  20. #define PlayService_MethodSignature_StartPlayVideo -271954219
  21. #define PlayService_MethodSignature_StartPlayAudio -1816705386
  22. #define PlayService_MethodSignature_StartPlayImage -1698755481
  23. #define PlayService_MethodSignature_StopPlayVideo 2084242398
  24. #define PlayService_MethodSignature_StopPlayAudio -1812157371
  25. #define PlayService_MethodSignature_StopPlayImage -88315811
  26. #define PlayService_MethodSignature_GetLocalVideoVolume -556205790
  27. #define PlayService_MethodSignature_SetLocalVideoVolume -1955837375
  28. #define PlayService_MethodSignature_GetLocalAudioVolume -1928277327
  29. #define PlayService_MethodSignature_SetLocalAudioVolume -1142072027
  30. struct PlayService_StartPlayVideo_Req
  31. {
  32. int CfgInx;
  33. int WndX;
  34. int WndY;
  35. int WndWidth;
  36. int WndHeight;
  37. void Serialize(SpBuffer &Buf)
  38. {
  39. auto & buf = Buf & CfgInx & WndX & WndY & WndWidth & WndHeight;
  40. }
  41. };
  42. struct PlayService_StartPlayVideo_Ans
  43. {
  44. void Serialize(SpBuffer &Buf)
  45. {
  46. }
  47. };
  48. struct PlayService_StartPlayAudio_Req
  49. {
  50. CSimpleStringW AudioNames;
  51. void Serialize(SpBuffer &Buf)
  52. {
  53. auto & buf = Buf & AudioNames;
  54. }
  55. };
  56. struct PlayService_StartPlayAudio_Ans
  57. {
  58. void Serialize(SpBuffer &Buf)
  59. {
  60. }
  61. };
  62. struct PlayService_StartPlayImage_Req
  63. {
  64. int CfgInx;
  65. int WndX;
  66. int WndY;
  67. int WndWidth;
  68. int WndHeight;
  69. void Serialize(SpBuffer &Buf)
  70. {
  71. auto & buf = Buf & CfgInx & WndX & WndY & WndWidth & WndHeight;
  72. }
  73. };
  74. struct PlayService_StartPlayImage_Ans
  75. {
  76. void Serialize(SpBuffer &Buf)
  77. {
  78. }
  79. };
  80. struct PlayService_StopPlayVideo_Req
  81. {
  82. int CfgInx;
  83. void Serialize(SpBuffer &Buf)
  84. {
  85. auto & buf = Buf & CfgInx;
  86. }
  87. };
  88. struct PlayService_StopPlayVideo_Ans
  89. {
  90. void Serialize(SpBuffer &Buf)
  91. {
  92. }
  93. };
  94. struct PlayService_StopPlayAudio_Req
  95. {
  96. void Serialize(SpBuffer &Buf)
  97. {
  98. }
  99. };
  100. struct PlayService_StopPlayAudio_Ans
  101. {
  102. void Serialize(SpBuffer &Buf)
  103. {
  104. }
  105. };
  106. struct PlayService_StopPlayImage_Req
  107. {
  108. int CfgInx;
  109. void Serialize(SpBuffer &Buf)
  110. {
  111. auto & buf = Buf & CfgInx;
  112. }
  113. };
  114. struct PlayService_StopPlayImage_Ans
  115. {
  116. void Serialize(SpBuffer &Buf)
  117. {
  118. }
  119. };
  120. struct PlayService_GetLocalVideoVolume_Req
  121. {
  122. int CfgInx;
  123. void Serialize(SpBuffer &Buf)
  124. {
  125. auto & buf = Buf & CfgInx;
  126. }
  127. };
  128. struct PlayService_GetLocalVideoVolume_Ans
  129. {
  130. int Volume;
  131. void Serialize(SpBuffer &Buf)
  132. {
  133. auto & buf = Buf & Volume;
  134. }
  135. };
  136. struct PlayService_SetLocalVideoVolume_Req
  137. {
  138. int CfgInx;
  139. int Volume;
  140. void Serialize(SpBuffer &Buf)
  141. {
  142. auto & buf = Buf & CfgInx & Volume;
  143. }
  144. };
  145. struct PlayService_SetLocalVideoVolume_Ans
  146. {
  147. void Serialize(SpBuffer &Buf)
  148. {
  149. }
  150. };
  151. struct PlayService_GetLocalAudioVolume_Req
  152. {
  153. void Serialize(SpBuffer &Buf)
  154. {
  155. }
  156. };
  157. struct PlayService_GetLocalAudioVolume_Ans
  158. {
  159. int Volume;
  160. void Serialize(SpBuffer &Buf)
  161. {
  162. auto & buf = Buf & Volume;
  163. }
  164. };
  165. struct PlayService_SetLocalAudioVolume_Req
  166. {
  167. int Volume;
  168. void Serialize(SpBuffer &Buf)
  169. {
  170. auto & buf = Buf & Volume;
  171. }
  172. };
  173. struct PlayService_SetLocalAudioVolume_Ans
  174. {
  175. void Serialize(SpBuffer &Buf)
  176. {
  177. }
  178. };
  179. ///////////////////////////
  180. } // namespace LocalMediaPlay
  181. #endif // __LOCALMEDIAPLAY_DEF_G_H