cec: get the vendor id of the TV before allocating logical addresses, so we can deter...
[deb_libcec.git] / src / lib / implementations / VLCommandHandler.h
index d24ea3d93ad9470fa66fb0c7f16e89fab701c94e..f2bfc7ec7a0a7c9ead58845636d206a81fb9acfe 100644 (file)
@@ -48,6 +48,8 @@ namespace CEC
     bool TransmitPendingActiveSourceCommands(void);
 
     bool PowerUpEventReceived(void);
+    bool SupportsDeviceType(const cec_device_type type) const { return type != CEC_DEVICE_TYPE_RECORDING_DEVICE; };
+    cec_device_type GetReplacementDeviceType(const cec_device_type type) const { return type == CEC_DEVICE_TYPE_RECORDING_DEVICE ? CEC_DEVICE_TYPE_PLAYBACK_DEVICE : type; }
 
   private:
     PLATFORM::CMutex m_mutex;