2 * Copyright 2009 Haiku Inc. All rights reserved.
3 * Distributed under the terms of the MIT license.
12 #include <ColumnListView.h>
25 class PropertyRow
: public BRow
{
27 PropertyRow(const char* name
, const char* value
);
28 virtual ~PropertyRow();
30 const char* Name() const { return fName
.String(); }
31 const char* Value() const { return fValue
.String(); }
32 void SetName(const char* name
);
33 void SetValue(const char* value
);
40 class PropertyList
: public BColumnListView
{
42 PropertyList(const char* name
);
43 virtual ~PropertyList();
45 void AddAttributes(const Attributes
& attributes
);
47 void MessageReceived(BMessage
* msg
);
49 virtual void SelectionChanged();
52 #endif /* PROPERTYLIST_H*/