Index: OpenSceneGraph/trunk/src/osgPlugins/Inventor/ReaderWriterIV.h
===================================================================
--- OpenSceneGraph/trunk/src/osgPlugins/Inventor/ReaderWriterIV.h (revision 8578)
+++ OpenSceneGraph/trunk/src/osgPlugins/Inventor/ReaderWriterIV.h (revision 11032)
@@ -9,10 +9,10 @@
     public:
         ReaderWriterIV();
-        
+
         virtual const char* className() const
-        { 
-            return "Inventor reader/writer"; 
+        {
+            return "Inventor reader/writer";
         }
-        
+
         bool isInventorExtension(const std::string& extension) const
         {
@@ -20,10 +20,19 @@
         }
 
-        virtual ReadResult readNode(const std::string& filename, 
-                                    const osgDB::ReaderWriter::Options *) const;
+        virtual ReadResult readNode(const std::string& filename,
+                                    const osgDB::ReaderWriter::Options*) const;
+        virtual ReadResult readNode(std::istream& fin,
+                                    const osgDB::ReaderWriter::Options* = NULL) const;
+
 
         virtual WriteResult writeNode(const osg::Node& node, const std::string& filename,
                                       const osgDB::ReaderWriter::Options* options = NULL) const;
+
+    protected:
+        void initInventor() const;
+        ReadResult readNodeFromSoInput(class SoInput&,
+                  std::string &fileName, const osgDB::ReaderWriter::Options*) const;
 };
 
 #endif
+
