1/* 2 * Copyright (c) 2005-2010, Haiku, Inc. 3 * Distributed under the terms of the MIT license. 4 * 5 * Author: 6 * DarkWyrm <darkwyrm@gmail.com> 7 */ 8#ifndef RESROSTER_H 9#define RESROSTER_H 10 11#include <List.h> 12#include "ColumnTypes.h" 13#include "ColumnListView.h" 14 15class Editor; 16class ResourceData; 17 18class ResourceRoster 19{ 20public: 21 ResourceRoster(void); 22 ~ResourceRoster(void); 23 BField * MakeFieldForType(const int32 &type, const char *data, 24 const size_t &length); 25 void SpawnEditor(ResourceData *data, BHandler *handler); 26 27private: 28 void LoadEditors(void); 29 30 BList fList; 31}; 32 33typedef Editor* create_editor(void); 34 35#endif 36