COPKGManager: use shell output to generate error messages for gui

This commit is contained in:
2014-11-24 09:06:33 +01:00
parent 6feca09a07
commit 524b91a402
2 changed files with 47 additions and 16 deletions

View File

@@ -68,8 +68,8 @@ class COPKGManager : public CMenuTarget
void updateMenu();
void refreshMenu();
bool badpackage(std::string &s);
void showError(const char* local_msg, char* sys_msg, const std::string& command);
void doUpdate();
void showError(const char* local_msg, char* err_msg, const std::string& command);
int doUpdate();
struct pkg {
std::string name;