X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Flib%2Fdevices%2FCECTV.cpp;h=2f852ae4b4ae34f505f109a7da3d687aa25c00bd;hb=e75e09bfc2b9799a6a57f9c4ca8cff4984e8fc99;hp=5c2e909f26296ed7f8972c02e43e6640480afc08;hpb=e14b15876a6d4b601973d01905eb2a6a0daeedcb;p=deb_libcec.git diff --git a/src/lib/devices/CECTV.cpp b/src/lib/devices/CECTV.cpp index 5c2e909..2f852ae 100644 --- a/src/lib/devices/CECTV.cpp +++ b/src/lib/devices/CECTV.cpp @@ -30,12 +30,20 @@ * http://www.pulse-eight.net/ */ +#include "env.h" #include "CECTV.h" using namespace CEC; +using namespace PLATFORM; CCECTV::CCECTV(CCECProcessor *processor, cec_logical_address address) : CCECBusDevice(processor, address, CEC_PHYSICAL_ADDRESS_TV) { m_type = CEC_DEVICE_TYPE_TV; } + +void CCECTV::ResetDeviceStatus(void) +{ + CLockObject lock(m_mutex); + CCECBusDevice::ResetDeviceStatus(); +}