libkms++/connector: Add methods for getting details of the DRM object
[android/external-libkmsxx.git] / libkms++ / connector.h
index 8ce6cda0568fb0ce87398a3f8942118c9aba24db..f586f4e316c48724c401da4763bcc93e9f4f7d5f 100644 (file)
@@ -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();