mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 01:41:12 +02:00
COPKGManager: use empty string as default parameter for full info
Origin commit data
------------------
Branch: ni/coolstream
Commit: acdc74950a
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-05-24 (Sun, 24 May 2015)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -115,7 +115,7 @@ class COPKGManager : public CMenuTarget
|
|||||||
* These kewords are to find in the control package inside of the opkg package file and the package list.
|
* These kewords are to find in the control package inside of the opkg package file and the package list.
|
||||||
* 3rd parameter sets the sub command status or info. For more details, take a look to the opkg commands via command line.
|
* 3rd parameter sets the sub command status or info. For more details, take a look to the opkg commands via command line.
|
||||||
*/
|
*/
|
||||||
std::string getPkgInfo(const std::string& pkg_name, const std::string& pkg_key, bool current_status = false);
|
std::string getPkgInfo(const std::string& pkg_name, const std::string& pkg_key = std::string(), bool current_status = false);
|
||||||
|
|
||||||
//Does the same like getPkgInfo(), but only for status
|
//Does the same like getPkgInfo(), but only for status
|
||||||
std::string getPkgStatus(const std::string& pkg_name, const std::string& pkg_key){return getPkgInfo(pkg_name, pkg_key, true);}
|
std::string getPkgStatus(const std::string& pkg_name, const std::string& pkg_key){return getPkgInfo(pkg_name, pkg_key, true);}
|
||||||
|
Reference in New Issue
Block a user