/* * Copyright 2006-2007, Haiku. * Distributed under the terms of the MIT License. * * Authors: * Stephan Aßmus */ #ifndef TRANSFORMER_FACTORY_H #define TRANSFORMER_FACTORY_H #include class BMessage; namespace BPrivate { namespace Icon { class Transformer; class VertexSource; class TransformerFactory { public: static Transformer* TransformerFor(uint32 type, VertexSource& source); #ifdef ICON_O_MATIC static Transformer* TransformerFor(BMessage* archive, VertexSource& source); static bool NextType(int32* cookie, uint32* type, BString* name); #endif // ICON_O_MATIC }; } // namespace Icon } // namespace BPrivate #endif // TRANSFORMER_FACTORY_H