input/file: use class FileReader

This commit is contained in:
Max Kellermann
2015-03-03 18:10:02 +01:00
parent f677f42be7
commit 57ad3aca8e
2 changed files with 23 additions and 30 deletions

View File

@@ -78,6 +78,12 @@ public:
#endif
}
#ifndef WIN32
FileDescriptor GetFD() const {
return fd;
}
#endif
void Close();
bool GetFileInfo(FileInfo &info, Error &error) const;