Patch by Alex Wilson:
* Added support for archiving/unarchiving. * Coding style cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37613 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2006, Haiku, Inc. All rights reserved.
|
||||
* Copyright 2006-2010, Haiku, Inc. All rights reserved.
|
||||
* Distributed under the terms of the MIT License.
|
||||
*/
|
||||
#ifndef _CARD_LAYOUT_H
|
||||
@@ -11,6 +11,7 @@
|
||||
class BCardLayout : public BLayout {
|
||||
public:
|
||||
BCardLayout();
|
||||
BCardLayout(BMessage* from);
|
||||
virtual ~BCardLayout();
|
||||
|
||||
BLayoutItem* VisibleItem() const;
|
||||
@@ -30,6 +31,10 @@ public:
|
||||
virtual void InvalidateLayout();
|
||||
virtual void LayoutView();
|
||||
|
||||
virtual status_t Archive(BMessage* into, bool deep = true) const;
|
||||
virtual status_t AllUnarchived(const BMessage* from);
|
||||
static BArchivable* Instantiate(BMessage* from);
|
||||
|
||||
protected:
|
||||
virtual void ItemAdded(BLayoutItem* item);
|
||||
virtual void ItemRemoved(BLayoutItem* item);
|
||||
|
||||
Reference in New Issue
Block a user