From 9b382fd474a6cc949e93bf6f34ce258ef7dd76a2 Mon Sep 17 00:00:00 2001 From: Tomi Valkeinen Date: Sat, 3 Oct 2015 11:27:26 +0300 Subject: use friend class and hide methods --- libkms++/property.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'libkms++/property.h') diff --git a/libkms++/property.h b/libkms++/property.h index d5306d0..24d2ae9 100644 --- a/libkms++/property.h +++ b/libkms++/property.h @@ -9,15 +9,16 @@ struct PropertyPriv; class Property : public DrmObject { + friend class Card; public: - Property(Card& card, uint32_t id); - ~Property(); - void print_short() const; const char *name() const; private: + Property(Card& card, uint32_t id); + ~Property(); + PropertyPriv* m_priv; }; } -- cgit v1.2.3