Add some bounds checking to the HDMI port number. bugzid: 508
[deb_libcec.git] / src / lib / implementations / CECCommandHandler.h
index 2943ba39b3a17059491bc098a3414a3be18c8182..6cf16a4b4615290b52507c8833498917406b4701 100644 (file)
@@ -74,11 +74,6 @@ namespace CEC
     ~CWaitForResponse(void)
     {
       PLATFORM::CLockObject lock(m_mutex);
-      for (std::map<cec_opcode, CResponse*>::iterator it = m_waitingFor.begin(); it != m_waitingFor.end(); it++)
-      {
-        it->second->Broadcast();
-        delete it->second;
-      }
       m_waitingFor.clear();
     }
 
@@ -179,6 +174,7 @@ namespace CEC
     virtual bool HandleGiveSystemAudioModeStatus(const cec_command &command);
     virtual bool HandleImageViewOn(const cec_command &command);
     virtual bool HandleMenuRequest(const cec_command &command);
+    virtual bool HandlePoll(const cec_command &command);
     virtual bool HandleReportAudioStatus(const cec_command &command);
     virtual bool HandleReportPhysicalAddress(const cec_command &command);
     virtual bool HandleReportPowerStatus(const cec_command &command);