]> git.mxchange.org Git - simgear.git/blobdiff - simgear/scene/model/modellib.hxx
Do not modify danymically generated textures.
[simgear.git] / simgear / scene / model / modellib.hxx
index b2d038ebefbed27023d20f68f610a50a9ee4c02c..7c38b10abedd6adcfcf659d601a7b5b1452145db 100644 (file)
 
 #include <simgear/compiler.h>  // for SG_USING_STD
 
-#include STL_STRING
+#include <string>
 
 #include <osg/Node>
 
 #include <simgear/props/props.hxx>
 
-SG_USING_STD(map);
-SG_USING_STD(string);
+using std::map;
+using std::string;
 
 namespace simgear {
 
@@ -83,16 +83,8 @@ protected:
 class SGModelData : public osg::Referenced {
 public:
     virtual ~SGModelData() {}
-    virtual void modelLoaded( const string& path, SGPropertyNode *prop,
-                              osg::Node*branch) = 0;
-
-    virtual void setProps(SGPropertyNode *p)
-        { _props = p; }
-
-    SGPropertyNode *getProperties()
-        { return _props; }
-protected:
-    SGPropertyNode_ptr _props;
+    virtual void modelLoaded(const string& path, SGPropertyNode *prop,
+                             osg::Node* branch) = 0;
 };
 
 }