X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Flib%2Fdevices%2FCECTuner.cpp;h=35491f79070aacfe9aff6acc2a257d13aa781a1a;hb=5ce88432714dbc3ff38f93227d84da5ff88b6781;hp=feb35e4b5bd92834c3099efcbac1b92ee7637409;hpb=e14b15876a6d4b601973d01905eb2a6a0daeedcb;p=deb_libcec.git diff --git a/src/lib/devices/CECTuner.cpp b/src/lib/devices/CECTuner.cpp index feb35e4..35491f7 100644 --- a/src/lib/devices/CECTuner.cpp +++ b/src/lib/devices/CECTuner.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 "CECTuner.h" using namespace CEC; +using namespace PLATFORM; 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(); }