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/osglauncher/osglauncher.cpp

    r7299 r9124  
    2222#include <list> 
    2323#include <string> 
    24 #include <fstream> 
    2524#include <sstream> 
    2625 
     
    4948#include <osgDB/ReadFile> 
    5049#include <osgDB/FileUtils> 
     50#include <osgDB/fstream> 
    5151 
    5252int runApp(std::string xapp); 
     
    250250     
    251251 
    252     std::ifstream in(fileName.c_str()); 
     252    osgDB::ifstream in(fileName.c_str()); 
    253253    if (!in) 
    254254    {