fix gcc 4.7.x warnings

This commit is contained in:
satbaby
2012-07-09 09:26:37 +02:00
parent 0294319f1d
commit df2ab71978
5 changed files with 6 additions and 0 deletions

View File

@@ -72,6 +72,7 @@ class CSectionsdClient : private CBasicClient
char * parseExtendedEvents(char * dp, CEPGData * epgdata); char * parseExtendedEvents(char * dp, CEPGData * epgdata);
public: public:
virtual ~CSectionsdClient() {};
enum SIlanguageMode_t { enum SIlanguageMode_t {
ALL, ALL,
FIRST_FIRST, FIRST_FIRST,

View File

@@ -41,6 +41,7 @@ class CTimerdClient:private CBasicClient
virtual const char * getSocketName() const; virtual const char * getSocketName() const;
public: public:
virtual ~CTimerdClient() {};
enum events enum events
{ {
EVT_SHUTDOWN = 1, EVT_SHUTDOWN = 1,

View File

@@ -99,6 +99,7 @@ class CExtendedInput_Item
virtual bool isSelectable(){return true;}; virtual bool isSelectable(){return true;};
virtual void keyPressed( int /*key*/ ){}; virtual void keyPressed( int /*key*/ ){};
virtual ~CExtendedInput_Item() {};
}; };
class CExtendedInput_Item_Spacer : public CExtendedInput_Item class CExtendedInput_Item_Spacer : public CExtendedInput_Item

View File

@@ -63,6 +63,7 @@ class CCam : public CBasicClient
CAPMT_UPDATE = 0x05 CAPMT_UPDATE = 0x05
}; };
CCam(); CCam();
virtual ~CCam() {};
bool sendMessage(const char * const data, const size_t length, bool update = false); bool sendMessage(const char * const data, const size_t length, bool update = false);
bool makeCaPmt(CZapitChannel * channel, uint8_t list = CAPMT_ONLY, const CaIdVector &caids = CaIdVector()); bool makeCaPmt(CZapitChannel * channel, uint8_t list = CAPMT_ONLY, const CaIdVector &caids = CaIdVector());
bool setCaPmt(bool update = false); bool setCaPmt(bool update = false);

View File

@@ -514,6 +514,8 @@ class CZapitClient:public CBasicClient
ein beliebiges Event abmelden ein beliebiges Event abmelden
*/ */
void unRegisterEvent(const unsigned int eventID, const unsigned int clientID); void unRegisterEvent(const unsigned int eventID, const unsigned int clientID);
virtual ~CZapitClient() {};
}; };
#define PAL 0 #define PAL 0