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