X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Flib%2Fdevices%2FCECTV.cpp;h=16f33d4c17cf1539fd9344af23983e8771af8047;hb=58691fb86d4dd7daac8b283a1bf1f125f00847a5;hp=5c2e909f26296ed7f8972c02e43e6640480afc08;hpb=d2d1660c9866f6d2ec66f1da0e64efb5e7c04996;p=deb_libcec.git diff --git a/src/lib/devices/CECTV.cpp b/src/lib/devices/CECTV.cpp index 5c2e909..16f33d4 100644 --- a/src/lib/devices/CECTV.cpp +++ b/src/lib/devices/CECTV.cpp @@ -1,7 +1,7 @@ /* * This file is part of the libCEC(R) library. * - * libCEC(R) is Copyright (C) 2011-2012 Pulse-Eight Limited. All rights reserved. + * libCEC(R) is Copyright (C) 2011-2013 Pulse-Eight Limited. All rights reserved. * libCEC(R) is an original work, containing original code. * * libCEC(R) is a trademark of Pulse-Eight Limited. @@ -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(); +}