IrrlichtEngine
ISceneLoader.h
Go to the documentation of this file.
00001 #ifndef __I_SCENE_LOADER_H_INCLUDED__
00002 #define __I_SCENE_LOADER_H_INCLUDED__
00003 
00004 #include "IReferenceCounted.h"
00005 #include "path.h"
00006 
00007 namespace irr
00008 {
00009 namespace io
00010 {
00011         class IReadFile;
00012 } // end namespace io
00013 namespace scene
00014 {
00015         class ISceneNode;
00016         class ISceneUserDataSerializer;
00017 
00019 
00022 class ISceneLoader : public virtual IReferenceCounted
00023 {
00024 public:
00025 
00027 
00031         virtual bool isALoadableFileExtension(const io::path& filename) const = 0;
00032 
00034 
00037         virtual bool isALoadableFileFormat(io::IReadFile* file) const = 0;
00038 
00040 
00048         virtual bool loadScene(io::IReadFile* file, ISceneUserDataSerializer* userDataSerializer=0,
00049                                ISceneNode* rootNode=0) = 0;
00050 
00051 };
00052 
00053 
00054 } // end namespace scene
00055 } // end namespace irr
00056 
00057 #endif
00058