fs/io/FileReader: add method GetFileInfo()

This commit is contained in:
Max Kellermann
2015-03-03 20:34:02 +01:00
parent f04a3ec201
commit a5760670ef
3 changed files with 26 additions and 1 deletions

View File

@@ -36,6 +36,7 @@
#endif
class Path;
class FileInfo;
class FileReader final : public Reader {
AllocatedPath path;
@@ -79,6 +80,8 @@ public:
void Close();
bool GetFileInfo(FileInfo &info, Error &error) const;
bool Seek(off_t offset, Error &error);
/* virtual methods from class Reader */