cec: moved the autodetect address api call to libcec_configuration. only send power...
[deb_libcec.git] / src / lib / adapter / AdapterCommunication.h
index c169e169d3ae7c024f7bd75b2b9517a8e73cad06..9ee29518d3a7cdac3d345ef413bbb2d1a055f93c 100644 (file)
@@ -143,5 +143,15 @@ namespace CEC
      * @return True when the configuration was persisted, false otherwise.
      */
     virtual bool PersistConfiguration(libcec_configuration *configuration) = 0;
+
+    /*!
+     * @return The name of the port
+     */
+    virtual CStdString GetPortName(void) = 0;
+
+    /*!
+     * @return The physical address, if the adapter supports this. 0 otherwise.
+     */
+    virtual uint16_t GetPhysicalAddress(void) = 0;
   };
 };