Patch by Alex Wilson:
* Added archiving/unarchving support. * Coding style cleanup (some more by myself). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37547 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -12,6 +12,7 @@ class BSpaceLayoutItem : public BLayoutItem {
|
||||
public:
|
||||
BSpaceLayoutItem(BSize minSize, BSize maxSize,
|
||||
BSize preferredSize, BAlignment alignment);
|
||||
BSpaceLayoutItem(BMessage* archive);
|
||||
virtual ~BSpaceLayoutItem();
|
||||
|
||||
static BSpaceLayoutItem* CreateGlue();
|
||||
@@ -34,6 +35,9 @@ public:
|
||||
virtual BRect Frame();
|
||||
virtual void SetFrame(BRect frame);
|
||||
|
||||
virtual status_t Archive(BMessage* into, bool deep = true) const;
|
||||
static BArchivable* Instantiate(BMessage* from);
|
||||
|
||||
private:
|
||||
BRect fFrame;
|
||||
BSize fMinSize;
|
||||
|
||||
Reference in New Issue
Block a user