X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Flib%2FAdapterCommunication.h;h=2ebffed25dbe38775a4a90f2aabdab40e05a2d09;hb=1113cb7d55328a6c15846955626187615a9ad02e;hp=aaa07475f4899b35516e5caebc35d13f0c06f45f;hpb=34d46707cb15bd88ece3afdc14f9388e94a09ff3;p=deb_libcec.git diff --git a/src/lib/AdapterCommunication.h b/src/lib/AdapterCommunication.h index aaa0747..2ebffed 100644 --- a/src/lib/AdapterCommunication.h +++ b/src/lib/AdapterCommunication.h @@ -81,12 +81,12 @@ namespace CEC }; class CSerialPort; - class CLibCEC; + class CCECProcessor; class CAdapterCommunication : private CThread { public: - CAdapterCommunication(CLibCEC *controller); + CAdapterCommunication(CCECProcessor *processor); virtual ~CAdapterCommunication(); bool Open(const char *strPort, uint16_t iBaudRate = 38400, uint32_t iTimeoutMs = 10000); @@ -108,7 +108,7 @@ namespace CEC bool ReadFromDevice(uint32_t iTimeout); CSerialPort * m_port; - CLibCEC * m_controller; + CCECProcessor * m_processor; CecBuffer m_inBuffer; CecBuffer m_outBuffer; CMutex m_mutex;