libkms++/drmobject: Add const std::map<uint32_t, uint64_t>& get_prop_map() const
authorJyri Sarha <jsarha@ti.com>
Tue, 20 Oct 2015 13:48:58 +0000 (16:48 +0300)
committerJyri Sarha <jsarha@ti.com>
Tue, 20 Oct 2015 16:18:32 +0000 (19:18 +0300)
libkms++/drmobject.h

index 5e2a28ca2a9bdc3757c561bb39fdcdfb898e352b..9ce2adc5ee32a1fb7c85ecf6c033be0a5277e01e 100644 (file)
@@ -27,6 +27,9 @@ public:
        uint64_t get_prop_value(uint32_t id) const;
        uint64_t get_prop_value(const std::string& name) const;
 
        uint64_t get_prop_value(uint32_t id) const;
        uint64_t get_prop_value(const std::string& name) const;
 
+       const std::map<uint32_t, uint64_t>& get_prop_map() const {
+               return m_prop_values;
+       }
 protected:
        DrmObject(Card& card, uint32_t object_type);
        DrmObject(Card& card, uint32_t id, uint32_t object_type, uint32_t idx = 0);
 protected:
        DrmObject(Card& card, uint32_t object_type);
        DrmObject(Card& card, uint32_t id, uint32_t object_type, uint32_t idx = 0);