xref: /haiku/src/apps/resedit/ResourceRoster.h (revision 1acbe440b8dd798953bec31d18ee589aa3f71b73)
1 /*
2  * Copyright (c) 2005-2006, Haiku, Inc.
3  * Distributed under the terms of the MIT license.
4  *
5  * Author:
6  *		DarkWyrm <darkwyrm@earthlink.net>
7  */
8 #ifndef RESROSTER_H
9 #define RESROSTER_H
10 
11 #include <List.h>
12 #include <ColumnTypes.h>
13 #include <ColumnListView.h>
14 
15 class Editor;
16 class ResourceData;
17 
18 class ResourceRoster
19 {
20 public:
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 
27 private:
28 	void		LoadEditors(void);
29 
30 	BList	fList;
31 };
32 
33 typedef Editor* create_editor(void);
34 
35 #endif
36