#ifndef __HGUPGRADE_H__ #define __HGUPGRADE_H__ #include // 上传安装日志 bool PostInstallInfo(const std::string &desc); // 上传卸载日志 bool PostUninstallInfo(const std::string &desc); // 升级安装, 使用之前的安装路径 bool Upgrade(const std::string& pkgPath, const std::string &desc); #endif /* __HGUPGRADE_H__ */