*neutrino: clean up

removed unused variables

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1365 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
thilo
2011-03-31 13:44:56 +00:00
parent f3d3a67f0c
commit 7b44a81585
2 changed files with 9 additions and 28 deletions

View File

@@ -152,15 +152,12 @@
int old_b_id = -1;
CHintBox * reloadhintBox = 0;
uint32_t sec_timer;
int rf_dummy;
// int rf_dummy;
bool has_hdd;
#include "gui/infoclock.h"
#include "gui/dboxinfo.h"
CInfoClock *InfoClock;
int allow_flash = 1;
extern int was_record;
extern char current_timezone[50];
Zapit_config zapitCfg;
char zapit_lat[20];
char zapit_long[20];
@@ -189,8 +186,6 @@ void * zapit_main_thread(void *data);
extern t_channel_id live_channel_id; //zapit
extern t_channel_id rec_channel_id; //zapit
extern CZapitChannel *g_current_channel;
// void setZapitConfig(Zapit_config * Cfg);
void getZapitConfig(Zapit_config *Cfg);
void * nhttpd_main_thread(void *data);
static pthread_t nhttpd_thread ;
@@ -964,7 +959,7 @@ void CNeutrinoApp::saveSetup(const char * fname)
}
#endif
//scansettings
if(!scanSettings.saveSettings(NEUTRINO_SCAN_SETTINGS_FILE)) {
if(!scansettings.saveSettings(NEUTRINO_SCAN_SETTINGS_FILE)) {
dprintf(DEBUG_NORMAL, "error while saving scan-settings!\n");
}
@@ -4206,8 +4201,6 @@ int CNeutrinoApp::exec(CMenuTarget* parent, const std::string & actionKey)
} else
tuxtxt_close();
CScanSetup::getInstance()->exec(NULL, "save_scansettings");
//g_Sectionsd->setEventsAreOldInMinutes((unsigned short) (g_settings.epg_old_hours*60));
//g_Sectionsd->setHoursToCache((unsigned short) (g_settings.epg_cache_days*24));

View File

@@ -81,24 +81,12 @@
#include "gui/widget/stringinput.h"
#include "gui/widget/stringinput_ext.h"
#include <zapit/fastscan.h>
#include <zapit/frontend_c.h>
#include <zapit/getservices.h>
#include <zapit/satconfig.h>
extern CFrontend * frontend;
extern CAudioPlayerGui * audioPlayer;
extern CPlugins * g_PluginList;
extern bool has_hdd;
extern CZapitClient::SatelliteList satList;
extern Zapit_config zapitCfg;
extern char zapit_lat[20];
extern char zapit_long[20];
extern char current_timezone[50];
extern CRemoteControl * g_RemoteControl;
extern CCAMMenuHandler * g_CamHandler;
extern bool autoshift;
// extern bool has_hdd;
// extern char current_timezone[50];
// extern bool autoshift;
/**************************************************************************************
@@ -222,11 +210,11 @@ const CMenuOptionChooser::keyval FLASHUPDATE_UPDATEMODE_OPTIONS[FLASHUPDATE_UPDA
{ 1, LOCALE_FLASHUPDATE_UPDATEMODE_INTERNET }
};
void getZapitConfig(Zapit_config *Cfg);
void CNeutrinoApp::InitServiceSettings(CMenuWidget &service/*, CMenuWidget &_scanSettings*/)
void CNeutrinoApp::InitServiceSettings(CMenuWidget &service)
{
dprintf(DEBUG_DEBUG, "init serviceSettings\n");
getZapitConfig(&zapitCfg);
#if 0
CZapitDestExec * zexec = new CZapitDestExec();