Make Flatten/Unflatten public and remove IsRegistered().

The BKey doesn't know anything about the keyring concept, so the
registered info isn't really useful. May be re-added later with
keyring info as well.
This commit is contained in:
Michael Lotz
2013-03-05 11:04:02 -05:00
committed by Ryan Leavengood
parent 6fb7a4569b
commit 94f897deea
3 changed files with 59 additions and 63 deletions
+3 -6
View File
@@ -67,7 +67,9 @@ public:
const char* Owner() const;
bigtime_t CreationTime() const;
bool IsRegistered() const;
virtual status_t Flatten(BMessage& message) const;
virtual status_t Unflatten(const BMessage& message);
BKey& operator=(const BKey& other);
@@ -76,10 +78,6 @@ public:
virtual void PrintToStream();
protected:
virtual status_t _Flatten(BMessage& message) const;
virtual status_t _Unflatten(const BMessage& message);
private:
friend class BKeyStore;
@@ -89,7 +87,6 @@ private:
BString fOwner;
bigtime_t fCreationTime;
mutable BMallocIO fData;
bool fRegistered;
};