1
0
forked from 0ad/0ad
0ad/source/graphics/MeshManager.h
janwas b755ddefda remove all author/modified by tags.
make include guards consistent.

This was SVN commit r5040.
2007-05-07 16:33:24 +00:00

29 lines
562 B
C++

#ifndef INCLUDED_MESHMANAGER
#define INCLUDED_MESHMANAGER
#include "ps/CStr.h"
#include <boost/shared_ptr.hpp>
#include <boost/weak_ptr.hpp>
class CModelDef;
typedef boost::shared_ptr<CModelDef> CModelDefPtr;
class CColladaManager;
class CMeshManager : boost::noncopyable
{
public:
CMeshManager(CColladaManager& colladaManager);
~CMeshManager();
CModelDefPtr GetMesh(const CStr& filename);
private:
typedef STL_HASH_MAP<CStr, boost::weak_ptr<CModelDef>, CStr_hash_compare> mesh_map;
mesh_map m_MeshMap;
CColladaManager& m_ColladaManager;
};
#endif