cec: add SetPhysicalAddress()/cec_set_physical_address() to the interface, so the...
[deb_libcec.git] / src / lib / CECProcessor.h
index 8617257f30437a3236c32cd613a2a6a89ed997b6..43b7a30cae32d170893d1b4b1f20ae2285f38a4a 100644 (file)
@@ -58,6 +58,7 @@ namespace CEC
       virtual bool SetInactiveView(void);
       virtual bool Transmit(const cec_command &data, bool bWaitForAck = true);
       virtual bool SetLogicalAddress(cec_logical_address iLogicalAddress);
+      virtual bool SetPhysicalAddress(uint16_t iPhysicalAddress);
 
       static const char *CECVendorIdToString(const uint64_t iVendorId);
 
@@ -80,7 +81,7 @@ namespace CEC
       void ParseVendorId(cec_logical_address device, const cec_datapacket &data);
 
       cec_command                    m_currentframe;
-      uint16_t                       m_physicaladdress;
+      uint16_t                       m_iPhysicalAddress;
       cec_logical_address            m_iLogicalAddress;
       CecBuffer<cec_adapter_message> m_frameBuffer;
       std::string                    m_strDeviceName;