cec: set the correct ackmask on startup
[deb_libcec.git] / src / lib / CECProcessor.h
index 3d668ecba9b8faffa9270853c8d60963c61698c2..0d8a21f188e9b961960eaf73956c1bae0bd81022 100644 (file)
@@ -57,7 +57,7 @@ namespace CEC
 
       virtual bool SetActiveView(void);
       virtual bool SetInactiveView(void);
-      virtual bool Transmit(const cec_command &data, bool bWaitForAck = true);
+      virtual bool Transmit(const cec_command &data);
       virtual bool SetLogicalAddress(cec_logical_address iLogicalAddress);
       virtual bool SetPhysicalAddress(uint16_t iPhysicalAddress);
       virtual bool SwitchMonitoring(bool bEnable);
@@ -78,16 +78,16 @@ namespace CEC
     private:
       void LogOutput(const cec_command &data);
       bool WaitForAck(bool *bError, uint8_t iLength, uint32_t iTimeout = 1000);
-      bool ParseMessage(CCECAdapterMessage &msg);
+      bool ParseMessage(CCECAdapterMessagePtr msg);
       void ParseCommand(cec_command &command);
 
-      cec_command                   m_currentframe;
-      cec_logical_address           m_iLogicalAddress;
-      CecBuffer<CCECAdapterMessage> m_frameBuffer;
-      std::string                   m_strDeviceName;
-      CMutex                        m_mutex;
-      CAdapterCommunication        *m_communication;
-      CLibCEC                      *m_controller;
-      bool                          m_bMonitor;
+      cec_command                      m_currentframe;
+      cec_logical_address              m_iLogicalAddress;
+      CecBuffer<CCECAdapterMessagePtr> m_frameBuffer;
+      std::string                      m_strDeviceName;
+      CMutex                           m_mutex;
+      CAdapterCommunication           *m_communication;
+      CLibCEC                         *m_controller;
+      bool                             m_bMonitor;
   };
 };