cec: replace the handler directly after getting the vendor id of a device when regist...
[deb_libcec.git] / src / lib / implementations / ANCommandHandler.h
index d9437d13a1e6529c364bf5f932e05bc32cfc44bd..7a9d9e4836cdf270a1e07a8f19e22b9be81c8d22 100644 (file)
@@ -41,9 +41,10 @@ namespace CEC
     CANCommandHandler(CCECBusDevice *busDevice);
     virtual ~CANCommandHandler(void) {};
 
-    virtual bool HandleCommand(const cec_command &command);
+    int HandleVendorRemoteButtonDown(const cec_command &command);
+    int HandleVendorRemoteButtonUp(const cec_command &command);
+
   protected:
-    virtual bool HandleVendorRemoteButtonDown(const cec_command &command);
-    virtual bool PowerOn(const cec_logical_address iInitiator, const cec_logical_address iDestination);
+    bool PowerOn(const cec_logical_address iInitiator, const cec_logical_address iDestination);
   };
 };