#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