X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Flib%2Fimplementations%2FCECCommandHandler.h;h=f3d3d0c5fa4cb2bb06609bc1c823d7b01a2abf3d;hb=6f14b51266d3af3f215171a4a5fca5be011c023e;hp=71baddeffcf251d4cdc00f663be3110a537a162d;hpb=a9056daaa4fa20d8048be09ff9dba8b392c7d3d8;p=deb_libcec.git diff --git a/src/lib/implementations/CECCommandHandler.h b/src/lib/implementations/CECCommandHandler.h index 71badde..f3d3d0c 100644 --- a/src/lib/implementations/CECCommandHandler.h +++ b/src/lib/implementations/CECCommandHandler.h @@ -34,7 +34,7 @@ #include #include #include "../util/StdString.h" -#include "../platform/threads.h" +#include "../platform/os-dependent.h" namespace CEC { @@ -125,7 +125,7 @@ namespace CEC virtual bool HandleVendorCommand(const cec_command &command); virtual void UnhandledCommand(const cec_command &command); - virtual unsigned int GetMyDevices(std::vector &devices) const; + virtual size_t GetMyDevices(std::vector &devices) const; virtual CCECBusDevice *GetDevice(cec_logical_address iLogicalAddress) const; virtual CCECBusDevice *GetDeviceByPhysicalAddress(uint16_t iPhysicalAddress) const; virtual CCECBusDevice *GetDeviceByType(cec_device_type type) const;