diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2016-06-11 21:46:24 +0300 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2016-06-11 21:46:24 +0300 |
commit | 9916712a62169606d845510028a3ea6f84bd442f (patch) | |
tree | aca4e1bec39500812111c43a8ecee862edae0002 /kms++/property.h | |
parent | 736b295100ce441e800457bcbd08cb36db543ff2 (diff) |
kms++: organize into subdirs
Diffstat (limited to 'kms++/property.h')
-rw-r--r-- | kms++/property.h | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/kms++/property.h b/kms++/property.h deleted file mode 100644 index b9097ff..0000000 --- a/kms++/property.h +++ /dev/null @@ -1,44 +0,0 @@ -#pragma once - -#include "drmobject.h" -#include <map> -#include <vector> - -namespace kms -{ - -struct PropertyPriv; - -enum class PropertyType -{ - Range, - Enum, - Blob, - Bitmask, - Object, - SignedRange, -}; - -class Property : public DrmObject -{ - friend class Card; -public: - const std::string& name() const; - - bool is_immutable() const; - bool is_pending() const; - - PropertyType type() const { return m_type; } - std::map<uint64_t, std::string> get_enums() const; - std::vector<uint64_t> get_values() const; - std::vector<uint32_t> get_blob_ids() const; -private: - Property(Card& card, uint32_t id); - ~Property(); - - PropertyType m_type; - - PropertyPriv* m_priv; - std::string m_name; -}; -} |