Show
Ignore:
Timestamp:
11/07/08 16:08:08 (5 years ago)
Author:
robert
Message:

From Michael Platings, Converted std::fstream/ifstream/ofstream to osgDB::fstream/ifstream/ofstream and
fopen to osgDB::fopen to facilitate support for wide character filenames using UT8 encoding.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/examples/osgstereoimage/osgstereoimage.cpp

    r7648 r9124  
    1818 
    1919#include <osgViewer/Viewer> 
     20#include <osgDB/fstream> 
    2021#include <osgDB/ReadFile> 
    2122#include <osgDB/WriteFile> 
     
    500501    // extract the filenames from the a file, one filename per line. 
    501502    while (arguments.read("-files",filename)) { 
    502         std::ifstream is(filename.c_str()); 
     503        osgDB::ifstream is(filename.c_str()); 
    503504        if (is) { 
    504505                std::string line;