added handler for philips. ignore repeating 'display information' keypresses from...
[deb_libcec.git] / src / lib / devices / CECTuner.cpp
index b5de867d9e8a968fe4aeb644ce572ac5ca2330c5..2de4a1fb185e21292e3599043c1ff54c3926f935 100644 (file)
  *     http://www.pulse-eight.net/
  */
 
+#include "env.h"
 #include "CECTuner.h"
 
 using namespace CEC;
+using namespace PLATFORM;
 
-CCECTuner::CCECTuner(CCECProcessor *processor, cec_logical_address address, uint16_t iPhysicalAddress /* = 0 */) :
+CCECTuner::CCECTuner(CCECProcessor *processor, cec_logical_address address, uint16_t iPhysicalAddress /* = CEC_INVALID_PHYSICAL_ADDRESS */) :
     CCECBusDevice(processor, address, iPhysicalAddress)
 {
-  m_type          = CEC_DEVICE_TYPE_TUNER;
+  m_type = CEC_DEVICE_TYPE_TUNER;
+}
+
+void CCECTuner::ResetDeviceStatus(void)
+{
+  CLockObject lock(m_mutex);
+  CCECBusDevice::ResetDeviceStatus();
 }