use friend class and hide methods
[android/external-libkmsxx.git] / libkms++ / property.h
index d5306d0be34db2c0b0be3a30c34ff5822b10502e..24d2ae93887de1bb41df516b11423e98aa05fb0d 100644 (file)
@@ -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;
 };
 }