// PropertyList.h
// Copyright (c) 2009, Dan Heeks
// This program is released under the BSD license. See the file COPYING for details.

#if !defined PropertyList_HEADER
#define PropertyList_HEADER

#include "Property.h"

class PropertyList:public Property{
private:
	wxString title;

public:
	std::list< Property* > m_list;

	PropertyList(const wxChar* t, void(*selectcallback)(HeeksObj*) = NULL);
	~PropertyList();

	// Property's virtual functions
	int get_property_type(){return ListOfPropertyType;}
	bool property_editable()const{return false;}
	Property *MakeACopy(void)const;
	const wxChar* GetShortString(void)const;
};

#endif
