#ifndef __UPGRADEMANAGER_MSG_G_H #define __UPGRADEMANAGER_MSG_G_H #pragma once // This code is generated by spgen tool! #include "SpHelper.h" namespace UpgradeManager { #define eMsg_UpgradeStateEvent 0 #define eMsg_UpgradeDownloadProgress 2 #define eMsgSig_UpgradeStateEvent -1650087685 #define eMsgSig_UpgradeDownloadProgress -498820347 struct UpgradeStateEvent { CSimpleStringA strPackName; CSimpleStringA strExecID; char cInstallState; bool bSysInstall; bool bLightPack; CSimpleStringA strNewVersion; void Serialize(SpBuffer &Buf) { auto & buf = Buf & strPackName & strExecID & cInstallState & bSysInstall & bLightPack & strNewVersion; } }; /////////////////////////// struct UpgradeDownloadProgress { CSimpleStringA currentFile; unsigned int progress; unsigned int fileNum; void Serialize(SpBuffer &Buf) { auto & buf = Buf & currentFile & progress & fileNum; } }; /////////////////////////// } // namespace UpgradeManager #endif // __UPGRADEMANAGER_MSG_G_H