opkg-manager: remove unused class CConfigFile

This commit is contained in:
2023-04-19 15:47:20 +02:00
parent ebd24e73f9
commit c6944d0905
2 changed files with 3 additions and 6 deletions

View File

@@ -120,7 +120,7 @@ static string pm_cmd[CMD_MAX] =
OPKG " clean " OPKG " clean "
}; };
COPKGManager::COPKGManager(int wizard_mode): opkg_conf('\t') COPKGManager::COPKGManager(int wizard_mode)
{ {
init(wizard_mode); init(wizard_mode);
} }

View File

@@ -30,16 +30,14 @@
#ifndef __OPKG_MANAGER__ #ifndef __OPKG_MANAGER__
#define __OPKG_MANAGER__ #define __OPKG_MANAGER__
#include <configfile.h> #include "widget/hintbox.h"
#include "widget/menue.h"
#include <map> #include <map>
#include <mutex> #include <mutex>
#include <string> #include <string>
#include <vector> #include <vector>
#include "widget/hintbox.h"
#include "widget/menue.h"
#define OPKG_MAX_FEEDS 10 #define OPKG_MAX_FEEDS 10
#define HAS_PKG_UPDATE_FLAGFILE "/tmp/.has_pkg_updates" #define HAS_PKG_UPDATE_FLAGFILE "/tmp/.has_pkg_updates"
@@ -106,7 +104,6 @@ class COPKGManager : public CMenuTarget, public COPKGManagerExtra
int width; int width;
int is_wizard; int is_wizard;
std::string terminal_str; std::string terminal_str;
CConfigFile opkg_conf;
void init(int wizard_mode); void init(int wizard_mode);
bool silent; // Controls some screen messages, eg, avoids unintended or disturbing messages on update checks at background. bool silent; // Controls some screen messages, eg, avoids unintended or disturbing messages on update checks at background.