aboutsummaryrefslogtreecommitdiff
path: root/kms++/inc/kms++/property.h
diff options
context:
space:
mode:
Diffstat (limited to 'kms++/inc/kms++/property.h')
-rw-r--r--kms++/inc/kms++/property.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/kms++/inc/kms++/property.h b/kms++/inc/kms++/property.h
index b9097ff..7c7b834 100644
--- a/kms++/inc/kms++/property.h
+++ b/kms++/inc/kms++/property.h
@@ -6,11 +6,9 @@
namespace kms
{
-
struct PropertyPriv;
-enum class PropertyType
-{
+enum class PropertyType {
Range,
Enum,
Blob,
@@ -22,6 +20,7 @@ enum class PropertyType
class Property : public DrmObject
{
friend class Card;
+
public:
const std::string& name() const;
@@ -32,13 +31,14 @@ public:
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();
+ ~Property() override;
PropertyType m_type;
PropertyPriv* m_priv;
std::string m_name;
};
-}
+} // namespace kms