22 lines
405 B
C++
22 lines
405 B
C++
#ifndef __HGUPGRADE_H__
|
|
#define __HGUPGRADE_H__
|
|
|
|
#include <string>
|
|
|
|
// 上传安装日志
|
|
bool PostInstallInfo(const std::string &desc);
|
|
|
|
// 上传卸载日志
|
|
bool PostUninstallInfo(const std::string &desc);
|
|
|
|
// 升级安装, 使用之前的安装路径
|
|
bool Upgrade(const std::string& pkgPath);
|
|
|
|
// 判断app是否在运行
|
|
bool AppIsRun();
|
|
|
|
// 运行app
|
|
void RunApp();
|
|
|
|
#endif /* __HGUPGRADE_H__ */
|