From 63d9b04d14677d09b6279566f0e43d00c252770e Mon Sep 17 00:00:00 2001 From: Jyri Sarha Date: Tue, 20 Oct 2015 16:46:01 +0300 Subject: libkms++/connector: Add methods for getting details of the DRM object --- libkms++/connector.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'libkms++/connector.h') diff --git a/libkms++/connector.h b/libkms++/connector.h index 8ce6cda..f586f4e 100644 --- a/libkms++/connector.h +++ b/libkms++/connector.h @@ -37,6 +37,15 @@ public: bool connected() const; + const std::string& fullname() const { return m_fullname; } + uint32_t connector_type() const; + uint32_t connector_type_id() const; + uint32_t mmWidth() const; + uint32_t mmHeight() const; + uint32_t subpixel() const; + const std::string& subpixel_str() const; + std::vector get_modes() const; + std::vector get_encoders() const; private: Connector(Card& card, uint32_t id, uint32_t idx); ~Connector(); -- cgit v1.2.3