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

Origin commit data
------------------
Branch: ni/coolstream
Commit: 9a6aae8f49
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-05-25 (Mon, 25 May 2015)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
2015-05-25 15:25:32 +02:00
parent 844dd8a855
commit 60f9324a52
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);