#ifndef __MATERIALMAPSERIALIZER_H__ #define __MATERIALMAPSERIALIZER_H__ #include #include #include namespace Ogre { class MaterialMap; // forward declaration class MaterialMapSerializer : public Ogre::Serializer { public: MaterialMapSerializer (); virtual ~MaterialMapSerializer (); void importMaterialMap (Ogre::DataStreamPtr &stream, MaterialMap *pDest); private: void tokenize(const String& str, std::vector& tokens, const String& delimiters = " "); }; } #endif