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


Origin commit data
------------------
Commit: dcf3133350
Author: [CST] Nicu <popescunicolae7@hotmail.com>
Date: 2012-03-29 (Thu, 29 Mar 2012)
This commit is contained in:
[CST] Nicu
2012-03-29 21:52:27 +03:00
committed by [CST] Focus
parent cbc201767f
commit 7439105c90

View File

@@ -120,8 +120,9 @@ class CZapit : public OpenThreads::Thread
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);