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 15 namespace BPrivate { 16 namespace Icon { 17 18 class Icon; 19 20 } // namespace Icon 21 } // namespace BPrivate 22 23 using namespace BPrivate::Icon; 24 25 class Importer { 26 public: 27 Importer(); 28 virtual ~Importer(); 29 30 status_t Init(Icon* icon); 31 32 int32 StyleIndexFor(int32 savedIndex) const; 33 int32 PathIndexFor(int32 savedIndex) const; 34 35 private: 36 int32 fStyleIndexOffset; 37 int32 fPathIndexOffset; 38 }; 39 40 #endif // IMPORTER_H 41