X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Flib%2FCECProcessor.h;h=5593a2cc99e5be970756bd2d778df3f91e27ba50;hb=117863dd4fef4d19bc3590c513ec1192427f2249;hp=e1f6d68517eee2908cc7f1b6906e72db0f29240b;hpb=6f99b2bb55d7c7659b39bda7fe54c6c3e33611ec;p=deb_libcec.git diff --git a/src/lib/CECProcessor.h b/src/lib/CECProcessor.h index e1f6d68..5593a2c 100644 --- a/src/lib/CECProcessor.h +++ b/src/lib/CECProcessor.h @@ -77,6 +77,7 @@ namespace CEC bool RegisterClient(CCECClient *client); bool UnregisterClient(CCECClient *client); void UnregisterClients(void); + uint16_t GetPhysicalAddressFromEeprom(void); CCECClient *GetPrimaryClient(void); CCECClient *GetClient(const cec_logical_address address); @@ -143,6 +144,9 @@ namespace CEC void SwitchMonitoring(bool bSwitchTo); bool AllocateLogicalAddresses(CCECClient* client); + + uint16_t GetAdapterVendorId(void) const; + uint16_t GetAdapterProductId(void) const; private: bool OpenConnection(const char *strPort, uint16_t iBaudRate, uint32_t iTimeoutMs, bool bStartListening = true); void SetCECInitialised(bool bSetTo = true);