From 59ddcd08f40c175903d426757d4722b5ea677fa7 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Wed, 13 May 2009 19:47:26 +0000 Subject: [PATCH] Added intial cut at fileExists() implement using libcurl. Note, current implement loads the whole file and then discards it so is very in-efficient. This implementation will soon be replaced. --- src/osgPlugins/curl/ReaderWriterCURL.cpp | 20 ++++++++++++++++++++ src/osgPlugins/curl/ReaderWriterCURL.h | 2 ++ 2 files changed, 22 insertions(+) diff --git a/src/osgPlugins/curl/ReaderWriterCURL.cpp b/src/osgPlugins/curl/ReaderWriterCURL.cpp index 656089e27..71718d654 100644 --- a/src/osgPlugins/curl/ReaderWriterCURL.cpp +++ b/src/osgPlugins/curl/ReaderWriterCURL.cpp @@ -349,6 +349,8 @@ osgDB::ReaderWriter::ReadResult ReaderWriterCURL::readFile(ObjectType objectType // return ReadResult::FILE_NOT_HANDLED; //} + osg::notify(osg::INFO)<<"CURL: Have readerwriter="<