opkg_manager: add option for silent screen

Help to control some screen messages, avoids unintended or disturbing messages,  e.g.
on update checks at background.
This commit is contained in:
2020-01-10 21:01:18 +01:00
parent 7f2bba84a0
commit 04e840366a
2 changed files with 43 additions and 21 deletions

View File

@@ -49,6 +49,7 @@ class COPKGManager : public CMenuTarget
void loadConfig();
struct pkg;
void init();
bool silent; // Controls some screen messages, eg, avoids unintended or disturbing messages on update checks at background.
//config
std::string config_src[OPKG_MAX_FEEDS];
std::vector<std::string> config_dest;