diff options
Diffstat (limited to 'kms++/inc/kms++/drmpropobject.h')
-rw-r--r-- | kms++/inc/kms++/drmpropobject.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/kms++/inc/kms++/drmpropobject.h b/kms++/inc/kms++/drmpropobject.h index 809caf5..dc3a806 100644 --- a/kms++/inc/kms++/drmpropobject.h +++ b/kms++/inc/kms++/drmpropobject.h @@ -8,13 +8,15 @@ namespace kms { - class DrmPropObject : public DrmObject { friend class Card; + public: void refresh_props(); + bool has_prop(const std::string& name) const { return !!get_prop(name); } + Property* get_prop(const std::string& name) const; uint64_t get_prop_value(uint32_t id) const; @@ -36,4 +38,4 @@ protected: private: std::map<uint32_t, uint64_t> m_prop_values; }; -} +} // namespace kms |