Changeset 372 for cpp/frams/virtfile
- Timestamp:
- 04/22/15 04:14:59 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/virtfile/stdiofile.cpp
r298 r372 6 6 #include <common/nonstd_dir.h> 7 7 #include <common/nonstd_stdio.h> 8 #include <common/ framsg.h>8 #include <common/hmessage.h> 9 9 #include <common/Convert.h> 10 10 11 11 VirtFILE* StdioFileSystem::Vfopen(const char *path, const char *mode) 12 12 { 13 //print FM("Vfopen %s %s",path,mode);13 //printH("Vfopen %s %s",path,mode); 14 14 #ifdef _WIN32 15 15 FILE *f = _wfopen(Convert::utf8ToUtf16(path).c_str(), Convert::strTOwstr(mode).c_str()); … … 21 21 #endif 22 22 #endif 23 //print FM("%p",f);23 //printH("%p",f); 24 24 if (f) return new StdioFILE(f, path); else return NULL; 25 25 } … … 27 27 VirtDIR* StdioFileSystem::Vopendir(const char* path) 28 28 { 29 //print FM("Vopendir %s",path);29 //printH("Vopendir %s",path); 30 30 #ifdef _WIN32 31 31 DIRTYPE *d = wopendir(Convert::utf8ToUtf16(path).c_str()); … … 33 33 DIR *d = opendir(path); 34 34 #endif 35 //print FM("%p",d);35 //printH("%p",d); 36 36 if (d) return new StdioDIR(d); else return NULL; 37 37 } … … 56 56 dirent* StdioDIR::Vreaddir() 57 57 { 58 //print FM("Vreaddir %s",dir);58 //printH("Vreaddir %s",dir); 59 59 #ifdef _WIN32 60 60 wdirent *wde=wreaddir(dir);
Note: See TracChangeset
for help on using the changeset viewer.