1.1 --- a/core/logic_bridge.cpp Tue Jan 07 10:21:53 2014 -0500
1.2 +++ b/core/logic_bridge.cpp Tue Jan 07 10:24:05 2014 -0500
1.3 @@ -118,6 +118,26 @@
1.4 {
1.5 filesystem->FindClose(handle);
1.6 }
1.7 + FileHandle_t Open(const char *pFileName, const char *pOptions, const char *pathID = 0)
1.8 + {
1.9 + return filesystem->Open(pFileName, pOptions, pathID);
1.10 + }
1.11 + void Close(FileHandle_t file)
1.12 + {
1.13 + filesystem->Close(file);
1.14 + }
1.15 + char *ReadLine(char *pOutput, int maxChars, FileHandle_t file)
1.16 + {
1.17 + return filesystem->ReadLine(pOutput, maxChars, file);
1.18 + }
1.19 + bool EndOfFile(FileHandle_t file)
1.20 + {
1.21 + return filesystem->EndOfFile(file);
1.22 + }
1.23 + bool FileExists(const char *pFileName, const char *pPathID = 0)
1.24 + {
1.25 + return filesystem->FileExists(pFileName, pPathID);
1.26 + }
1.27 };
1.28
1.29 static VFileSystem_Logic logic_filesystem;