mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-01 18:01:13 +02:00
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:
@@ -42,6 +42,8 @@
|
|||||||
#include "gui/moviebrowser.h"
|
#include "gui/moviebrowser.h"
|
||||||
#include "gui/movieinfo.h"
|
#include "gui/movieinfo.h"
|
||||||
#include <gui/widget/hintbox.h>
|
#include <gui/widget/hintbox.h>
|
||||||
|
#include <driver/vcrcontrol.h>
|
||||||
|
#include <playback.h>
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
@@ -94,6 +96,10 @@ class CMoviePlayerGui : public CMenuTarget
|
|||||||
std::string Path_vlc_settings;
|
std::string Path_vlc_settings;
|
||||||
std::string g_file_epg;
|
std::string g_file_epg;
|
||||||
std::string g_file_epg1;
|
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;
|
CFileBrowser * filebrowser;
|
||||||
CMovieBrowser* moviebrowser;
|
CMovieBrowser* moviebrowser;
|
||||||
@@ -113,9 +119,11 @@ class CMoviePlayerGui : public CMenuTarget
|
|||||||
void showHelpVLC(void);
|
void showHelpVLC(void);
|
||||||
void callInfoViewer(const std::string & epg_title, const std::string & epg_info1,
|
void callInfoViewer(const std::string & epg_title, const std::string & epg_info1,
|
||||||
const std::string & epg_channel, const int duration, const int pos);
|
const std::string & epg_channel, const int duration, const int pos);
|
||||||
|
|
||||||
static CMoviePlayerGui* instance_mp;
|
static CMoviePlayerGui* instance_mp;
|
||||||
|
static cPlayback *playback;
|
||||||
CMoviePlayerGui(const CMoviePlayerGui&) {};
|
CMoviePlayerGui(const CMoviePlayerGui&) {};
|
||||||
|
const static short MOVIE_HINT_BOX_TIMER = 5; // time to show bookmark hints in seconds
|
||||||
|
|
||||||
public:
|
public:
|
||||||
CMoviePlayerGui();
|
CMoviePlayerGui();
|
||||||
@@ -136,6 +144,9 @@ class CAPIDSelectExec : public CMenuTarget
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
int exec(CMenuTarget* parent, const std::string & actionKey);
|
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
|
#endif
|
||||||
|
Reference in New Issue
Block a user