00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef OXYGEN_SCENEIMPORTER
00023 #define OXYGEN_SCENEIMPORTER
00024
00025 #include <zeitgeist/class.h>
00026 #include <zeitgeist/leaf.h>
00027 #include <salt/fileclasses.h>
00028
00029 namespace oxygen
00030 {
00031 class BaseNode;
00032
00033 class SceneImporter : public zeitgeist::Leaf
00034 {
00035 public:
00036 SceneImporter() : zeitgeist::Leaf() {}
00037 virtual ~SceneImporter() {};
00038
00040 virtual bool ImportScene(const std::string& fileName,
00041 boost::shared_ptr<BaseNode> root,
00042 boost::shared_ptr<zeitgeist::ParameterList> parameter) = 0;
00043
00045 virtual bool ParseScene(const std::string& scene,
00046 boost::shared_ptr<BaseNode> root,
00047 boost::shared_ptr<zeitgeist::ParameterList> parameter) = 0;
00048 };
00049
00050 DECLARE_ABSTRACTCLASS(SceneImporter);
00051
00052 }
00053
00054 #endif // OXYGEN_SCENEIMPORTER