mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 02:11:04 +02:00
COPKGManager: add member to handle line of shell lines
prepared for use as callback in shell window class, currently
it is not possible to get line output from shellwindow object, this
should help soon
also added ne locales
Origin commit data
------------------
Branch: ni/coolstream
Commit: 4909844ad6
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-12-10 (Wed, 10 Dec 2014)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -58,6 +58,9 @@ class COPKGManager : public CMenuTarget
|
||||
bool expert_mode;
|
||||
int menu_offset;
|
||||
std::string *local_dir;
|
||||
|
||||
bool has_err;
|
||||
std::string err_msg;
|
||||
|
||||
int execCmd(const char* cmdstr, bool verbose = false, bool acknowledge = false);
|
||||
int execCmd(std::string cmdstr, bool verbose = false, bool acknowledge = false) {
|
||||
@@ -73,6 +76,7 @@ class COPKGManager : public CMenuTarget
|
||||
bool badpackage(std::string &s);
|
||||
void showError(const char* local_msg, char* err_msg, const std::string& command);
|
||||
int doUpdate();
|
||||
void handleShellOutput(std::string& cur_line);
|
||||
|
||||
struct pkg {
|
||||
std::string name;
|
||||
|
Reference in New Issue
Block a user