added handler for philips. ignore repeating 'display information' keypresses from...
[deb_libcec.git] / src / lib / adapter / Pulse-Eight / USBCECAdapterCommands.h
index 13e22494cad0041564708dad3c078e7f35d4d611..e0bfb1fe7388b3318ee82c5ac54004338cd10779 100644 (file)
@@ -114,12 +114,25 @@ namespace CEC
      */
     uint32_t GetPersistedBuildDate(void) const { return m_iBuildDate; };
 
+    /*!
+     * @brief Request the adapter type.
+     * @return The type
+     */
+    p8_cec_adapter_type RequestAdapterType(void);
+
+    /*!
+     * @return The persisted build date.
+     */
+    p8_cec_adapter_type GetPersistedAdapterType(void) const { return m_adapterType; };
+
     /*!
      * @brief Persist the current settings in the EEPROM
      * @return True when persisted, false otherwise.
      */
     bool WriteEEPROM(void);
 
+    void SetActiveSource(bool bSetTo, bool bClientUnregistered);
+
   private:
     /*!
      * @brief Reads all settings from the eeprom.
@@ -234,6 +247,7 @@ namespace CEC
     libcec_configuration         m_persistedConfiguration; /**< the configuration that is persisted in the eeprom */
     uint32_t                     m_iBuildDate;             /**< the build date of the firmware */
     bool                         m_bControlledMode;        /**< current value of the controlled mode feature */
+    p8_cec_adapter_type          m_adapterType;            /**< the type of the adapter that we're connected to */
     PLATFORM::CMutex             m_mutex;
   };
 }