00001 00002 // X3DLoader.h // 00004 00005 #ifndef X3DLOADER_H 00006 #define X3DLOADER_H 00007 00008 #include "X3DTypes.h" 00009 00010 namespace X3DTK { 00011 00012 class Scene; 00013 class NodeCreationProxy; 00014 00016 00017 class X3DLoader 00018 { 00019 public: 00021 X3DLoader(); 00023 virtual ~X3DLoader() = 0; 00024 00026 void setComponentCreator(X3DComponentCreator *component); 00027 00029 virtual Scene *load(const char *file, bool fileValidation = false) const = 0; 00030 00031 protected: 00032 NodeCreationProxy *ncp; 00033 00034 }; 00035 00036 } 00037 00038 #endif