summaryrefslogtreecommitdiff
path: root/kms++/inc/kms++/drmpropobject.h
diff options
context:
space:
mode:
Diffstat (limited to 'kms++/inc/kms++/drmpropobject.h')
-rw-r--r--kms++/inc/kms++/drmpropobject.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/kms++/inc/kms++/drmpropobject.h b/kms++/inc/kms++/drmpropobject.h
index 809caf5..48e0265 100644
--- a/kms++/inc/kms++/drmpropobject.h
+++ b/kms++/inc/kms++/drmpropobject.h
@@ -15,6 +15,8 @@ class DrmPropObject : public DrmObject
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;