xref: /haiku/src/apps/icon-o-matic/import_export/Importer.h (revision 68ea01249e1e2088933cb12f9c28d4e5c5d1c9ef)
1 /*
2  * Copyright 2006, Haiku. All rights reserved.
3  * Distributed under the terms of the MIT License.
4  *
5  * Authors:
6  *		Stephan Aßmus <superstippi@gmx.de>
7  */
8 #ifndef IMPORTER_H
9 #define IMPORTER_H
10 
11 
12 #include <SupportDefs.h>
13 
14 #include "IconBuild.h"
15 
16 
17 _BEGIN_ICON_NAMESPACE
18 	class Icon;
19 _END_ICON_NAMESPACE
20 
21 _USING_ICON_NAMESPACE
22 
23 
24 class Importer {
25  public:
26 								Importer();
27 	virtual						~Importer();
28 
29 			status_t			Init(Icon* icon);
30 
31 			int32				StyleIndexFor(int32 savedIndex) const;
32 			int32				PathIndexFor(int32 savedIndex) const;
33 
34  private:
35 			int32				fStyleIndexOffset;
36 			int32				fPathIndexOffset;
37 };
38 
39 #endif // IMPORTER_H
40