LocalMediaPlay_def_g.h 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340
  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_Method_StartPlayNotice 10
  21. #define PlayService_Method_StopPlayNotice 11
  22. #define PlayService_Method_StopPlayAllMedias 12
  23. #define PlayService_MethodSignature_StartPlayVideo -271954219
  24. #define PlayService_MethodSignature_StartPlayAudio -1816705386
  25. #define PlayService_MethodSignature_StartPlayImage -1698755481
  26. #define PlayService_MethodSignature_StopPlayVideo 2084242398
  27. #define PlayService_MethodSignature_StopPlayAudio -1812157371
  28. #define PlayService_MethodSignature_StopPlayImage -88315811
  29. #define PlayService_MethodSignature_GetLocalVideoVolume -556205790
  30. #define PlayService_MethodSignature_SetLocalVideoVolume -1955837375
  31. #define PlayService_MethodSignature_GetLocalAudioVolume -1928277327
  32. #define PlayService_MethodSignature_SetLocalAudioVolume -1142072027
  33. #define PlayService_MethodSignature_StartPlayNotice -194355636
  34. #define PlayService_MethodSignature_StopPlayNotice -1978922649
  35. #define PlayService_MethodSignature_StopPlayAllMedias -1517000886
  36. #define PlayService_LogCode_StartPlayVideo "QLR040231300"
  37. #define PlayService_LogCode_StartPlayAudio "QLR040231301"
  38. #define PlayService_LogCode_StartPlayImage "QLR040231302"
  39. #define PlayService_LogCode_StopPlayVideo "QLR040231303"
  40. #define PlayService_LogCode_StopPlayAudio "QLR040231304"
  41. #define PlayService_LogCode_StopPlayImage "QLR040231305"
  42. #define PlayService_LogCode_GetLocalVideoVolume "QLR040231306"
  43. #define PlayService_LogCode_SetLocalVideoVolume "QLR040231307"
  44. #define PlayService_LogCode_GetLocalAudioVolume "QLR040231308"
  45. #define PlayService_LogCode_SetLocalAudioVolume "QLR040231309"
  46. #define PlayService_LogCode_StartPlayNotice "QLR040231310"
  47. #define PlayService_LogCode_StopPlayNotice "QLR040231311"
  48. #define PlayService_LogCode_StopPlayAllMedias "QLR040231312"
  49. struct PlayService_StartPlayVideo_Req
  50. {
  51. int CfgInx;
  52. int WndX;
  53. int WndY;
  54. int WndWidth;
  55. int WndHeight;
  56. void Serialize(SpBuffer &Buf)
  57. {
  58. auto & buf = Buf & CfgInx & WndX & WndY & WndWidth & WndHeight;
  59. }
  60. };
  61. struct PlayService_StartPlayVideo_Ans
  62. {
  63. void Serialize(SpBuffer &Buf)
  64. {
  65. }
  66. };
  67. struct PlayService_StartPlayAudio_Req
  68. {
  69. CSimpleStringW AudioNames;
  70. void Serialize(SpBuffer &Buf)
  71. {
  72. auto & buf = Buf & AudioNames;
  73. }
  74. };
  75. struct PlayService_StartPlayAudio_Ans
  76. {
  77. void Serialize(SpBuffer &Buf)
  78. {
  79. }
  80. };
  81. struct PlayService_StartPlayImage_Req
  82. {
  83. int CfgInx;
  84. int WndX;
  85. int WndY;
  86. int WndWidth;
  87. int WndHeight;
  88. void Serialize(SpBuffer &Buf)
  89. {
  90. auto & buf = Buf & CfgInx & WndX & WndY & WndWidth & WndHeight;
  91. }
  92. };
  93. struct PlayService_StartPlayImage_Ans
  94. {
  95. void Serialize(SpBuffer &Buf)
  96. {
  97. }
  98. };
  99. struct PlayService_StopPlayVideo_Req
  100. {
  101. int CfgInx;
  102. void Serialize(SpBuffer &Buf)
  103. {
  104. auto & buf = Buf & CfgInx;
  105. }
  106. };
  107. struct PlayService_StopPlayVideo_Ans
  108. {
  109. void Serialize(SpBuffer &Buf)
  110. {
  111. }
  112. };
  113. struct PlayService_StopPlayAudio_Req
  114. {
  115. void Serialize(SpBuffer &Buf)
  116. {
  117. }
  118. };
  119. struct PlayService_StopPlayAudio_Ans
  120. {
  121. void Serialize(SpBuffer &Buf)
  122. {
  123. }
  124. };
  125. struct PlayService_StopPlayImage_Req
  126. {
  127. int CfgInx;
  128. void Serialize(SpBuffer &Buf)
  129. {
  130. auto & buf = Buf & CfgInx;
  131. }
  132. };
  133. struct PlayService_StopPlayImage_Ans
  134. {
  135. void Serialize(SpBuffer &Buf)
  136. {
  137. }
  138. };
  139. struct PlayService_GetLocalVideoVolume_Req
  140. {
  141. int CfgInx;
  142. void Serialize(SpBuffer &Buf)
  143. {
  144. auto & buf = Buf & CfgInx;
  145. }
  146. };
  147. struct PlayService_GetLocalVideoVolume_Ans
  148. {
  149. int Volume;
  150. void Serialize(SpBuffer &Buf)
  151. {
  152. auto & buf = Buf & Volume;
  153. }
  154. };
  155. struct PlayService_SetLocalVideoVolume_Req
  156. {
  157. int CfgInx;
  158. int Volume;
  159. void Serialize(SpBuffer &Buf)
  160. {
  161. auto & buf = Buf & CfgInx & Volume;
  162. }
  163. };
  164. struct PlayService_SetLocalVideoVolume_Ans
  165. {
  166. void Serialize(SpBuffer &Buf)
  167. {
  168. }
  169. };
  170. struct PlayService_GetLocalAudioVolume_Req
  171. {
  172. void Serialize(SpBuffer &Buf)
  173. {
  174. }
  175. };
  176. struct PlayService_GetLocalAudioVolume_Ans
  177. {
  178. int Volume;
  179. void Serialize(SpBuffer &Buf)
  180. {
  181. auto & buf = Buf & Volume;
  182. }
  183. };
  184. struct PlayService_SetLocalAudioVolume_Req
  185. {
  186. int Volume;
  187. void Serialize(SpBuffer &Buf)
  188. {
  189. auto & buf = Buf & Volume;
  190. }
  191. };
  192. struct PlayService_SetLocalAudioVolume_Ans
  193. {
  194. void Serialize(SpBuffer &Buf)
  195. {
  196. }
  197. };
  198. struct PlayService_StartPlayNotice_Req
  199. {
  200. int CfgInx;
  201. int WndX;
  202. int WndY;
  203. int WndWidth;
  204. int WndHeight;
  205. CSimpleStringW VideoName;
  206. void Serialize(SpBuffer &Buf)
  207. {
  208. auto & buf = Buf & CfgInx & WndX & WndY & WndWidth & WndHeight & VideoName;
  209. }
  210. };
  211. struct PlayService_StartPlayNotice_Ans
  212. {
  213. unsigned int ErrorCode;
  214. CSimpleStringW ErrorMsg;
  215. void Serialize(SpBuffer &Buf)
  216. {
  217. auto & buf = Buf & ErrorCode & ErrorMsg;
  218. }
  219. };
  220. struct PlayService_StopPlayNotice_Req
  221. {
  222. int CfgInx;
  223. void Serialize(SpBuffer &Buf)
  224. {
  225. auto & buf = Buf & CfgInx;
  226. }
  227. };
  228. struct PlayService_StopPlayNotice_Ans
  229. {
  230. unsigned int ErrorCode;
  231. CSimpleStringW ErrorMsg;
  232. void Serialize(SpBuffer &Buf)
  233. {
  234. auto & buf = Buf & ErrorCode & ErrorMsg;
  235. }
  236. };
  237. struct PlayService_StopPlayAllMedias_Req
  238. {
  239. void Serialize(SpBuffer &Buf)
  240. {
  241. }
  242. };
  243. struct PlayService_StopPlayAllMedias_Ans
  244. {
  245. void Serialize(SpBuffer &Buf)
  246. {
  247. }
  248. };
  249. ///////////////////////////
  250. } // namespace LocalMediaPlay
  251. #endif // __LOCALMEDIAPLAY_DEF_G_H