#ifndef __DOWNLOAD_MSG_G_H #define __DOWNLOAD_MSG_G_H #pragma once // This code is generated by spgen tool! #include "SpHelper.h" namespace Download { #define eMsg_DownloadResult 0 #define eMsg_DownloadProgress 1 #define eMsgSig_DownloadResult -2132294259 #define eMsgSig_DownloadProgress 847324670 struct DownloadResult { CSimpleStringA strFileName; unsigned int errorCode; CSimpleStringA errorMsg; void Serialize(SpBuffer &Buf) { auto & buf = Buf & strFileName & errorCode & errorMsg; } }; /////////////////////////// struct DownloadProgress { CSimpleStringA currentFile; unsigned int progress; unsigned int fileNum; void Serialize(SpBuffer &Buf) { auto & buf = Buf & currentFile & progress & fileNum; } }; /////////////////////////// } // namespace Download #endif // __DOWNLOAD_MSG_G_H