cec: handle samsung remote command 'return'
[deb_libcec.git] / src / lib / CECProcessor.h
index dd0596e4e7d356e6675e4696b9851d73f6ba71a1..4e9d1115c475aba934769702b5dc650ce63db0b1 100644 (file)
@@ -60,6 +60,7 @@ namespace CEC
       virtual bool SetLogicalAddress(cec_logical_address iLogicalAddress);
       virtual bool SetPhysicalAddress(uint16_t iPhysicalAddress);
       virtual bool SetOSDString(cec_logical_address iLogicalAddress, cec_display_control duration, const char *strMessage);
+      virtual bool SwitchMonitoring(bool bEnable);
 
       static const char *CECVendorIdToString(const uint64_t iVendorId);
 
@@ -73,6 +74,9 @@ namespace CEC
       virtual void ReportOSDName(cec_logical_address address = CECDEVICE_TV);
       virtual void ReportPhysicalAddress(void);
       virtual void BroadcastActiveSource(void);
+      virtual bool HandleANCommand(cec_command &command);
+      virtual bool HandleSLCommand(cec_command &command);
+      virtual bool HandleCecCommand(cec_command &command);
 
     private:
       void LogOutput(const cec_command &data);
@@ -91,5 +95,6 @@ namespace CEC
       CLibCEC                       *m_controller;
       uint64_t                       m_vendorIds[16];
       uint8_t                        m_vendorClasses[16];
+      bool                           m_bMonitor;
   };
 };