diff options
author | Jyri Sarha <jsarha@ti.com> | 2015-10-20 16:46:01 +0300 |
---|---|---|
committer | Jyri Sarha <jsarha@ti.com> | 2015-10-20 19:18:32 +0300 |
commit | 63d9b04d14677d09b6279566f0e43d00c252770e (patch) | |
tree | 13a23ca9e8dedb6eb9ef633b1bf79dbc56318206 /libkms++/connector.h | |
parent | 17a0cd1a122b0a17a362bb44da559a936731d70c (diff) |
libkms++/connector: Add methods for getting details of the DRM object
Diffstat (limited to 'libkms++/connector.h')
-rw-r--r-- | libkms++/connector.h | 9 |
1 files changed, 9 insertions, 0 deletions
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<Videomode> get_modes() const; + std::vector<Encoder*> get_encoders() const; private: Connector(Card& card, uint32_t id, uint32_t idx); ~Connector(); |