mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 17:31:11 +02:00
opkg_manager: vizualize available package updates
Origin commit data
------------------
Branch: ni/coolstream
Commit: dd1754009a
Author: Thilo Graf <dbt@novatux.de>
Date: 2021-04-10 (Sat, 10 Apr 2021)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
OPKG-Manager Class for Neutrino-GUI
|
||||
|
||||
Implementation:
|
||||
Copyright (C) 2012-2015 T. Graf 'dbt'
|
||||
Copyright (C) 2012-2020 T. Graf 'dbt'
|
||||
www.dbox2-tuning.net
|
||||
|
||||
Adaptions:
|
||||
@@ -36,6 +36,7 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
#include <mutex>
|
||||
|
||||
#define OPKG_MAX_FEEDS 10
|
||||
|
||||
@@ -107,7 +108,10 @@ class COPKGManager : public CMenuTarget
|
||||
std::string getBlankPkgName(const std::string& line);
|
||||
bool isInstalled(const std::string& pkg_name);
|
||||
bool isUpgradable(const std::string& pkg_name);
|
||||
void showUpdateCheckResult();
|
||||
|
||||
void initUpdateMessage(bool enable_message = true);
|
||||
bool removeInfoBarTxt();
|
||||
std::mutex opk_mutex;
|
||||
|
||||
/*!
|
||||
* Gets an info from opkg command info or status from a package via keywords as std::string
|
||||
@@ -172,7 +176,8 @@ class COPKGManager : public CMenuTarget
|
||||
|
||||
int exec(CMenuTarget* parent, const std::string & actionKey);
|
||||
static bool hasOpkgSupport();
|
||||
bool checkUpdates(const std::string & package_name = std::string(), bool show_progress = true);
|
||||
bool checkUpdates(const std::string & package_name = std::string(), bool show_progress = false);
|
||||
void setUpdateCheckResult(bool enable_message = true);
|
||||
bool installPackage(const std::string& pkg_name, std::string options = std::string(), bool force_configure = false);
|
||||
bool checkSize(const std::string& pkg_name);
|
||||
};
|
||||
|
Reference in New Issue
Block a user