cec: bump interface version numbers to 1.7.1
[deb_libcec.git] / src / lib / implementations / VLCommandHandler.h
index 18b75070d9531a3ce69d7500955d5eee1d2513c2..8b26741fda621e0b8864a40796d8344780a4779e 100644 (file)
@@ -40,11 +40,17 @@ namespace CEC
   public:
     CVLCommandHandler(CCECBusDevice *busDevice);
     virtual ~CVLCommandHandler(void) {};
-    virtual bool InitHandler(void);
 
-    virtual bool HandleDeviceVendorCommandWithId(const cec_command &command);
-    virtual bool TransmitActiveSource(const cec_logical_address iInitiator, uint16_t iPhysicalAddress);
-    virtual bool TransmitPendingActiveSourceCommands(void);
+    bool InitHandler(void);
+
+    int HandleDeviceVendorCommandWithId(const cec_command &command);
+    bool TransmitActiveSource(const cec_logical_address iInitiator, uint16_t iPhysicalAddress);
+    bool TransmitPendingActiveSourceCommands(void);
+
+    int HandleVendorCommand(const cec_command &command);
+    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;