123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340 |
- #ifndef __LOCALMEDIAPLAY_DEF_G_H
- #define __LOCALMEDIAPLAY_DEF_G_H
- #pragma once
- // This code is generated by spgen tool!
- #include "SpHelper.h"
- namespace LocalMediaPlay {
- //
- // const goes here
- //
- #define PlayService_Method_StartPlayVideo 0
- #define PlayService_Method_StartPlayAudio 1
- #define PlayService_Method_StartPlayImage 2
- #define PlayService_Method_StopPlayVideo 3
- #define PlayService_Method_StopPlayAudio 4
- #define PlayService_Method_StopPlayImage 5
- #define PlayService_Method_GetLocalVideoVolume 6
- #define PlayService_Method_SetLocalVideoVolume 7
- #define PlayService_Method_GetLocalAudioVolume 8
- #define PlayService_Method_SetLocalAudioVolume 9
- #define PlayService_Method_StartPlayNotice 10
- #define PlayService_Method_StopPlayNotice 11
- #define PlayService_Method_StopPlayAllMedias 12
- #define PlayService_MethodSignature_StartPlayVideo -271954219
- #define PlayService_MethodSignature_StartPlayAudio -1816705386
- #define PlayService_MethodSignature_StartPlayImage -1698755481
- #define PlayService_MethodSignature_StopPlayVideo 2084242398
- #define PlayService_MethodSignature_StopPlayAudio -1812157371
- #define PlayService_MethodSignature_StopPlayImage -88315811
- #define PlayService_MethodSignature_GetLocalVideoVolume -556205790
- #define PlayService_MethodSignature_SetLocalVideoVolume -1955837375
- #define PlayService_MethodSignature_GetLocalAudioVolume -1928277327
- #define PlayService_MethodSignature_SetLocalAudioVolume -1142072027
- #define PlayService_MethodSignature_StartPlayNotice -194355636
- #define PlayService_MethodSignature_StopPlayNotice -1978922649
- #define PlayService_MethodSignature_StopPlayAllMedias -1517000886
- #define PlayService_LogCode_StartPlayVideo "QLR040231300"
- #define PlayService_LogCode_StartPlayAudio "QLR040231301"
- #define PlayService_LogCode_StartPlayImage "QLR040231302"
- #define PlayService_LogCode_StopPlayVideo "QLR040231303"
- #define PlayService_LogCode_StopPlayAudio "QLR040231304"
- #define PlayService_LogCode_StopPlayImage "QLR040231305"
- #define PlayService_LogCode_GetLocalVideoVolume "QLR040231306"
- #define PlayService_LogCode_SetLocalVideoVolume "QLR040231307"
- #define PlayService_LogCode_GetLocalAudioVolume "QLR040231308"
- #define PlayService_LogCode_SetLocalAudioVolume "QLR040231309"
- #define PlayService_LogCode_StartPlayNotice "QLR040231310"
- #define PlayService_LogCode_StopPlayNotice "QLR040231311"
- #define PlayService_LogCode_StopPlayAllMedias "QLR040231312"
- struct PlayService_StartPlayVideo_Req
- {
- int CfgInx;
- int WndX;
- int WndY;
- int WndWidth;
- int WndHeight;
- void Serialize(SpBuffer &Buf)
- {
- auto & buf = Buf & CfgInx & WndX & WndY & WndWidth & WndHeight;
- }
- };
- struct PlayService_StartPlayVideo_Ans
- {
- void Serialize(SpBuffer &Buf)
- {
- }
- };
- struct PlayService_StartPlayAudio_Req
- {
- CSimpleStringW AudioNames;
- void Serialize(SpBuffer &Buf)
- {
- auto & buf = Buf & AudioNames;
- }
- };
- struct PlayService_StartPlayAudio_Ans
- {
- void Serialize(SpBuffer &Buf)
- {
- }
- };
- struct PlayService_StartPlayImage_Req
- {
- int CfgInx;
- int WndX;
- int WndY;
- int WndWidth;
- int WndHeight;
- void Serialize(SpBuffer &Buf)
- {
- auto & buf = Buf & CfgInx & WndX & WndY & WndWidth & WndHeight;
- }
- };
- struct PlayService_StartPlayImage_Ans
- {
- void Serialize(SpBuffer &Buf)
- {
- }
- };
- struct PlayService_StopPlayVideo_Req
- {
- int CfgInx;
- void Serialize(SpBuffer &Buf)
- {
- auto & buf = Buf & CfgInx;
- }
- };
- struct PlayService_StopPlayVideo_Ans
- {
- void Serialize(SpBuffer &Buf)
- {
- }
- };
- struct PlayService_StopPlayAudio_Req
- {
- void Serialize(SpBuffer &Buf)
- {
- }
- };
- struct PlayService_StopPlayAudio_Ans
- {
- void Serialize(SpBuffer &Buf)
- {
- }
- };
- struct PlayService_StopPlayImage_Req
- {
- int CfgInx;
- void Serialize(SpBuffer &Buf)
- {
- auto & buf = Buf & CfgInx;
- }
- };
- struct PlayService_StopPlayImage_Ans
- {
- void Serialize(SpBuffer &Buf)
- {
- }
- };
- struct PlayService_GetLocalVideoVolume_Req
- {
- int CfgInx;
- void Serialize(SpBuffer &Buf)
- {
- auto & buf = Buf & CfgInx;
- }
- };
- struct PlayService_GetLocalVideoVolume_Ans
- {
- int Volume;
- void Serialize(SpBuffer &Buf)
- {
- auto & buf = Buf & Volume;
- }
- };
- struct PlayService_SetLocalVideoVolume_Req
- {
- int CfgInx;
- int Volume;
- void Serialize(SpBuffer &Buf)
- {
- auto & buf = Buf & CfgInx & Volume;
- }
- };
- struct PlayService_SetLocalVideoVolume_Ans
- {
- void Serialize(SpBuffer &Buf)
- {
- }
- };
- struct PlayService_GetLocalAudioVolume_Req
- {
- void Serialize(SpBuffer &Buf)
- {
- }
- };
- struct PlayService_GetLocalAudioVolume_Ans
- {
- int Volume;
- void Serialize(SpBuffer &Buf)
- {
- auto & buf = Buf & Volume;
- }
- };
- struct PlayService_SetLocalAudioVolume_Req
- {
- int Volume;
- void Serialize(SpBuffer &Buf)
- {
- auto & buf = Buf & Volume;
- }
- };
- struct PlayService_SetLocalAudioVolume_Ans
- {
- void Serialize(SpBuffer &Buf)
- {
- }
- };
- struct PlayService_StartPlayNotice_Req
- {
- int CfgInx;
- int WndX;
- int WndY;
- int WndWidth;
- int WndHeight;
- CSimpleStringW VideoName;
- void Serialize(SpBuffer &Buf)
- {
- auto & buf = Buf & CfgInx & WndX & WndY & WndWidth & WndHeight & VideoName;
- }
- };
- struct PlayService_StartPlayNotice_Ans
- {
- unsigned int ErrorCode;
- CSimpleStringW ErrorMsg;
- void Serialize(SpBuffer &Buf)
- {
- auto & buf = Buf & ErrorCode & ErrorMsg;
- }
- };
- struct PlayService_StopPlayNotice_Req
- {
- int CfgInx;
- void Serialize(SpBuffer &Buf)
- {
- auto & buf = Buf & CfgInx;
- }
- };
- struct PlayService_StopPlayNotice_Ans
- {
- unsigned int ErrorCode;
- CSimpleStringW ErrorMsg;
- void Serialize(SpBuffer &Buf)
- {
- auto & buf = Buf & ErrorCode & ErrorMsg;
- }
- };
- struct PlayService_StopPlayAllMedias_Req
- {
- void Serialize(SpBuffer &Buf)
- {
- }
- };
- struct PlayService_StopPlayAllMedias_Ans
- {
- void Serialize(SpBuffer &Buf)
- {
- }
- };
- ///////////////////////////
- } // namespace LocalMediaPlay
- #endif // __LOCALMEDIAPLAY_DEF_G_H
|