1 #ifndef __MODEL_LOADER_HXX
2 #define __MODEL_LOADER_HXX 1
5 # error This library requires C++
8 #include <simgear/compiler.h> // for SG_USING_STD
20 * Base class for loading and managing SSG things.
26 virtual ~FGSSGLoader ();
27 virtual void flush ();
29 std::map<string,ssgBase *> _table;
34 * Class for loading and managing models with XML wrappers.
36 class FGModelLoader : public FGSSGLoader
40 virtual ~FGModelLoader ();
42 virtual ssgEntity * load_model (const string &path);
47 * Class for loading and managing textures.
49 class FGTextureLoader : public FGSSGLoader
53 virtual ~FGTextureLoader ();
55 virtual ssgTexture * load_texture (const string &path);