2 * Copyright 2006, Haiku.
3 * Distributed under the terms of the MIT License.
6 * Stephan Aßmus <superstippi@gmx.de>
12 #include <Referenceable.h>
15 #include "Observable.h"
16 #include "Selectable.h"
21 class IconObject
: public Observable
,
22 public BReferenceable
,
25 IconObject(const char* name
);
26 IconObject(const IconObject
& other
);
27 IconObject(BMessage
* archive
);
28 virtual ~IconObject();
30 // Selectable interface
31 virtual void SelectedChanged();
34 virtual status_t
Unarchive(const BMessage
* archive
);
35 virtual status_t
Archive(BMessage
* into
,
36 bool deep
= true) const;
38 virtual PropertyObject
* MakePropertyObject() const;
39 virtual bool SetToPropertyObject(
40 const PropertyObject
* object
);
42 void SetName(const char* name
);
43 const char* Name() const
44 { return fName
.String(); }
50 #endif // ICON_OBJECT_H