mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 01:41:12 +02:00
CShellWindow/COPKGManager: rework shell shell mode handling
Modes were handled with bool values inside manager and this is not really
enough. Now we use the real parameters for more flexibility.
Origin commit data
------------------
Branch: ni/coolstream
Commit: e1e8cb0142
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-05-28 (Thu, 28 May 2015)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -32,6 +32,7 @@
|
||||
#define __OPKG_MANAGER__
|
||||
|
||||
#include <gui/widget/menue.h>
|
||||
#include <gui/widget/shellwindow.h>
|
||||
#include <driver/framebuffer.h>
|
||||
#include <configfile.h>
|
||||
#include <string>
|
||||
@@ -97,9 +98,9 @@ class COPKGManager : public CMenuTarget
|
||||
};
|
||||
void showErr(int* res);
|
||||
|
||||
int execCmd(const char* cmdstr, bool verbose = false, bool acknowledge = false);
|
||||
int execCmd(std::string cmdstr, bool verbose = false, bool acknowledge = false) {
|
||||
return execCmd(cmdstr.c_str(), verbose, acknowledge);
|
||||
int execCmd(const char* cmdstr, int verbose_mode = 0);
|
||||
int execCmd(std::string cmdstr, int verbose_mode = 0) {
|
||||
return execCmd(cmdstr.c_str(), verbose_mode);
|
||||
};
|
||||
void getPkgData(const int pkg_content_id);
|
||||
std::string getBlankPkgName(const std::string& line);
|
||||
|
Reference in New Issue
Block a user