cec: added GetPortName() to CUSBCECAdapterCommunication
[deb_libcec.git] / src / lib / adapter / USBCECAdapterCommunication.cpp
index e5cedb8b03e99d07652018813b0ef180c4666fb6..7037c78eff960357f2842e3f8cd5a154dfcb61cb 100644 (file)
@@ -707,3 +707,10 @@ void CUSBCECAdapterCommunication::WriteNextCommand(void)
   if (m_outBuffer.Pop(msg))
     SendMessageToAdapter(msg);
 }
+
+CStdString CUSBCECAdapterCommunication::GetPortName(void)
+{
+  CStdString strName;
+  strName = m_port->GetName();
+  return strName;
+}