X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Flib%2Fdevices%2FCECPlaybackDevice.cpp;h=1beed4f37221cdfdce1e74127b07c377afcf7198;hb=ebefc26c10d68ba9ced2a30c896dccc81c6c2eeb;hp=d1ac742c0ec39d4673c7dd343ea327fdffb3a014;hpb=cc938f166e50b0c9e4fdccf55e0a8cffb2c56602;p=deb_libcec.git diff --git a/src/lib/devices/CECPlaybackDevice.cpp b/src/lib/devices/CECPlaybackDevice.cpp index d1ac742..1beed4f 100644 --- a/src/lib/devices/CECPlaybackDevice.cpp +++ b/src/lib/devices/CECPlaybackDevice.cpp @@ -34,11 +34,12 @@ #include "../implementations/CECCommandHandler.h" #include "../CECProcessor.h" #include "../LibCEC.h" +#include "../CECTypeUtils.h" using namespace CEC; using namespace PLATFORM; -#define ToString(p) m_processor->GetLib()->ToString(p) +#define ToString(p) CCECTypeUtils::ToString(p) CCECPlaybackDevice::CCECPlaybackDevice(CCECProcessor *processor, cec_logical_address address, uint16_t iPhysicalAddress /* = CEC_INVALID_PHYSICAL_ADDRESS */) : CCECBusDevice(processor, address, iPhysicalAddress),