mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-26 15:02:56 +02:00
opkg-manager: remove unused class CConfigFile
This commit is contained in:
@@ -120,7 +120,7 @@ static string pm_cmd[CMD_MAX] =
|
||||
OPKG " clean "
|
||||
};
|
||||
|
||||
COPKGManager::COPKGManager(int wizard_mode): opkg_conf('\t')
|
||||
COPKGManager::COPKGManager(int wizard_mode)
|
||||
{
|
||||
init(wizard_mode);
|
||||
}
|
||||
|
@@ -30,16 +30,14 @@
|
||||
#ifndef __OPKG_MANAGER__
|
||||
#define __OPKG_MANAGER__
|
||||
|
||||
#include <configfile.h>
|
||||
#include "widget/hintbox.h"
|
||||
#include "widget/menue.h"
|
||||
|
||||
#include <map>
|
||||
#include <mutex>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "widget/hintbox.h"
|
||||
#include "widget/menue.h"
|
||||
|
||||
#define OPKG_MAX_FEEDS 10
|
||||
#define HAS_PKG_UPDATE_FLAGFILE "/tmp/.has_pkg_updates"
|
||||
|
||||
@@ -106,7 +104,6 @@ class COPKGManager : public CMenuTarget, public COPKGManagerExtra
|
||||
int width;
|
||||
int is_wizard;
|
||||
std::string terminal_str;
|
||||
CConfigFile opkg_conf;
|
||||
void init(int wizard_mode);
|
||||
bool silent; // Controls some screen messages, eg, avoids unintended or disturbing messages on update checks at background.
|
||||
|
||||
|
Reference in New Issue
Block a user