cec: fixed - commands that were forwarded to clients used the source address of the...
[deb_libcec.git] / src / lib / LibCEC.h
index 673b5258c9a3205d6b33414c8d7c105f4bece723..6407e57a8fe479c28ba8151a11c6c29c4d7debbd 100644 (file)
@@ -134,7 +134,7 @@ namespace CEC
       void AddLog(const cec_log_level level, const char *strFormat, ...);
       static void AddKey(void) {}                                           //UNUSED
       static void AddKey(const cec_keypress &key);                          //UNUSED
-      static void AddCommand(const cec_command &command);                   //UNUSED
+      void AddCommand(const cec_command &command);
       static void ConfigurationChanged(const libcec_configuration &config); //UNUSED
       static void SetCurrentButton(cec_user_control_code iButtonCode);      //UNUSED
       void CheckKeypressTimeout(void);
@@ -143,8 +143,9 @@ namespace CEC
       static void SetInstance(CLibCEC *instance);                           //UNUSED
 
       static bool IsValidPhysicalAddress(uint16_t iPhysicalAddress);
-      CCECClient *RegisterClient(libcec_configuration *configuration);
+      CCECClient *RegisterClient(libcec_configuration &configuration);
       void UnregisterClients(void);
+      std::vector<CCECClient *> GetClients(void) { return m_clients; };
 
       CCECProcessor *           m_cec;