Make archiving hooks protected in layout classes.
Furthermore, * remove a stray blank line in Layout.cpp * make BLayoutItem::SetLayout() private, as it should have been
This commit is contained in:
@@ -39,13 +39,6 @@ public:
|
||||
virtual void SetFrame(BRect frame);
|
||||
|
||||
virtual status_t Archive(BMessage* into, bool deep = true) const;
|
||||
virtual status_t AllArchived(BMessage* into) const;
|
||||
virtual status_t AllUnarchived(const BMessage* from);
|
||||
|
||||
virtual status_t ItemArchived(BMessage* into, BLayoutItem* item,
|
||||
int32 index) const;
|
||||
virtual status_t ItemUnarchived(const BMessage* from,
|
||||
BLayoutItem* item, int32 index);
|
||||
|
||||
virtual status_t Perform(perform_code d, void* arg);
|
||||
|
||||
@@ -63,7 +56,15 @@ protected:
|
||||
int32 height;
|
||||
};
|
||||
|
||||
virtual status_t AllArchived(BMessage* into) const;
|
||||
virtual status_t AllUnarchived(const BMessage* from);
|
||||
|
||||
virtual status_t ItemArchived(BMessage* into, BLayoutItem* item,
|
||||
int32 index) const;
|
||||
virtual status_t ItemUnarchived(const BMessage* from,
|
||||
BLayoutItem* item, int32 index);
|
||||
virtual void LayoutInvalidated(bool children = false);
|
||||
|
||||
virtual void DoLayout();
|
||||
|
||||
BSize AddInsets(BSize size);
|
||||
|
||||
Reference in New Issue
Block a user