diff --git a/src/zapit/include/zapit/zapit.h b/src/zapit/include/zapit/zapit.h index 4ee25b8f1..8a22305ee 100644 --- a/src/zapit/include/zapit/zapit.h +++ b/src/zapit/include/zapit/zapit.h @@ -118,10 +118,11 @@ class CZapit : public OpenThreads::Thread unsigned int ZapTo(const unsigned int pchannel); void PrepareScan(); - CZapitSdtMonitor SdtMonitor; + CZapitSdtMonitor SdtMonitor; - static CZapit * zapit; void run(); + protected: + static CZapit * zapit; CZapit(); public: ~CZapit(); @@ -148,7 +149,7 @@ class CZapit : public OpenThreads::Thread void SetConfig(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);