UpgradeManager_msg_g.h 886 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. #ifndef __UPGRADEMANAGER_MSG_G_H
  2. #define __UPGRADEMANAGER_MSG_G_H
  3. #pragma once
  4. // This code is generated by spgen tool!
  5. #include "SpHelper.h"
  6. namespace UpgradeManager {
  7. #define eMsg_UpgradeStateEvent 0
  8. #define eMsg_ManualTaskEvent 1
  9. #define eMsgSig_UpgradeStateEvent -1650087685
  10. #define eMsgSig_ManualTaskEvent 1253338878
  11. struct UpgradeStateEvent
  12. {
  13. CSimpleStringA strPackName;
  14. CSimpleStringA strExecID;
  15. char cInstallState;
  16. bool bSysInstall;
  17. bool bLightPack;
  18. CSimpleStringA strNewVersion;
  19. void Serialize(SpBuffer &Buf)
  20. {
  21. auto & buf = Buf & strPackName & strExecID & cInstallState & bSysInstall & bLightPack & strNewVersion;
  22. }
  23. };
  24. ///////////////////////////
  25. struct ManualTaskEvent
  26. {
  27. int nTaskNum;
  28. void Serialize(SpBuffer &Buf)
  29. {
  30. auto & buf = Buf & nTaskNum;
  31. }
  32. };
  33. ///////////////////////////
  34. } // namespace UpgradeManager
  35. #endif // __UPGRADEMANAGER_MSG_G_H