123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113 |
- #ifndef __DOWNLOAD_DEF_G_H
- #define __DOWNLOAD_DEF_G_H
- #pragma once
- // This code is generated by spgen tool!
- #include "SpHelper.h"
- namespace Download {
- //
- // const goes here
- //
- #define DownloadService_Method_DownloadFile 0
- #define DownloadService_Method_IsDownloading 1
- #define DownloadService_Method_CancelDownloadFile 2
- #define DownloadService_Method_QueryDownloadState 3
- #define DownloadService_MethodSignature_DownloadFile 1681898988
- #define DownloadService_MethodSignature_IsDownloading 772750151
- #define DownloadService_MethodSignature_CancelDownloadFile -1360464111
- #define DownloadService_MethodSignature_QueryDownloadState 754956501
- struct DownloadService_DownloadFile_Req
- {
- CSimpleStringA strFileName;
- unsigned int dwExpireTime;
- void Serialize(SpBuffer &Buf)
- {
- auto & buf = Buf & strFileName & dwExpireTime;
- }
- };
- struct DownloadService_DownloadFile_Ans
- {
- void Serialize(SpBuffer &Buf)
- {
- }
- };
- struct DownloadService_IsDownloading_Req
- {
- void Serialize(SpBuffer &Buf)
- {
- }
- };
- struct DownloadService_IsDownloading_Ans
- {
- bool bDownloading;
- void Serialize(SpBuffer &Buf)
- {
- auto & buf = Buf & bDownloading;
- }
- };
- struct DownloadService_CancelDownloadFile_Req
- {
- CSimpleStringA strFileName;
- void Serialize(SpBuffer &Buf)
- {
- auto & buf = Buf & strFileName;
- }
- };
- struct DownloadService_CancelDownloadFile_Ans
- {
- void Serialize(SpBuffer &Buf)
- {
- }
- };
- struct DownloadService_QueryDownloadState_Req
- {
- CSimpleStringA strFileName;
- void Serialize(SpBuffer &Buf)
- {
- auto & buf = Buf & strFileName;
- }
- };
- struct DownloadService_QueryDownloadState_Ans
- {
- unsigned int iDownloadState;
- void Serialize(SpBuffer &Buf)
- {
- auto & buf = Buf & iDownloadState;
- }
- };
- ///////////////////////////
- } // namespace Download
- #endif // __DOWNLOAD_DEF_G_H
|