reduce globales

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1079 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
satbaby
2011-01-28 09:47:17 +00:00
parent 4ed28f963c
commit ac97ccbf39

View File

@@ -42,6 +42,8 @@
#include "gui/moviebrowser.h"
#include "gui/movieinfo.h"
#include <gui/widget/hintbox.h>
#include <driver/vcrcontrol.h>
#include <playback.h>
#include <stdio.h>
@@ -94,6 +96,10 @@ class CMoviePlayerGui : public CMenuTarget
std::string Path_vlc_settings;
std::string g_file_epg;
std::string g_file_epg1;
static unsigned short g_numpida;
static unsigned short g_vtype;
static unsigned short g_vpid;
static std::string g_language[REC_MAX_APIDS];
CFileBrowser * filebrowser;
CMovieBrowser* moviebrowser;
@@ -113,9 +119,11 @@ class CMoviePlayerGui : public CMenuTarget
void showHelpVLC(void);
void callInfoViewer(const std::string & epg_title, const std::string & epg_info1,
const std::string & epg_channel, const int duration, const int pos);
static CMoviePlayerGui* instance_mp;
static cPlayback *playback;
CMoviePlayerGui(const CMoviePlayerGui&) {};
const static short MOVIE_HINT_BOX_TIMER = 5; // time to show bookmark hints in seconds
public:
CMoviePlayerGui();
@@ -136,6 +144,9 @@ class CAPIDSelectExec : public CMenuTarget
{
public:
int exec(CMenuTarget* parent, const std::string & actionKey);
static unsigned short g_apids[REC_MAX_APIDS];
static unsigned short g_ac3flags[REC_MAX_APIDS];
static unsigned short g_currentapid, g_currentac3, apidchanged;
};
#endif