mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 17:31:20 +02:00
changes for eywa zapit wrapper:
-CZapit constructor and instance are done protected to allow inheritance -SendEvent is done virtual to be overriden into eywa wrapper class
This commit is contained in:
@@ -118,10 +118,11 @@ class CZapit : public OpenThreads::Thread
|
|||||||
unsigned int ZapTo(const unsigned int pchannel);
|
unsigned int ZapTo(const unsigned int pchannel);
|
||||||
void PrepareScan();
|
void PrepareScan();
|
||||||
|
|
||||||
CZapitSdtMonitor SdtMonitor;
|
CZapitSdtMonitor SdtMonitor;
|
||||||
|
|
||||||
static CZapit * zapit;
|
|
||||||
void run();
|
void run();
|
||||||
|
protected:
|
||||||
|
static CZapit * zapit;
|
||||||
CZapit();
|
CZapit();
|
||||||
public:
|
public:
|
||||||
~CZapit();
|
~CZapit();
|
||||||
@@ -148,7 +149,7 @@ class CZapit : public OpenThreads::Thread
|
|||||||
void SetConfig(Zapit_config * Cfg);
|
void SetConfig(Zapit_config * Cfg);
|
||||||
void GetConfig(Zapit_config &Cfg);
|
void GetConfig(Zapit_config &Cfg);
|
||||||
|
|
||||||
void SendEvent(const unsigned int eventID, const void* eventbody = NULL, const unsigned int eventbodysize = 0);
|
virtual void SendEvent(const unsigned int eventID, const void* eventbody = NULL, const unsigned int eventbodysize = 0);
|
||||||
|
|
||||||
audio_map_set_t * GetSavedPids(const t_channel_id channel_id);
|
audio_map_set_t * GetSavedPids(const t_channel_id channel_id);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user