COPKGManager: use parameters for errror message and additional text as option

This commit is contained in:
2015-05-25 15:25:32 +02:00
parent cc49d5a714
commit 9a6aae8f49
2 changed files with 6 additions and 5 deletions

View File

@@ -126,7 +126,7 @@ class COPKGManager : public CMenuTarget
void updateMenu();
void refreshMenu();
bool badpackage(std::string &s);
void showError(const char* local_msg, char* err_msg, const std::string& command);
void showError(const char* local_msg, char* err_msg = NULL, const std::string& additional_text = std::string());
int doUpdate();
void handleShellOutput(std::string* cur_line, int* res, bool* ok);