My fork of the FATFileSystem (working)
Fork of FatFileSystem by
Embed:
(wiki syntax)
Show/hide line numbers
FATDirHandle.h
00001 /** 00002 Copyright 2008 ARM Limited. All rights reserved. 00003 */ 00004 00005 #ifndef MBED_FATDIRHANDLE_H 00006 #define MBED_FATDIRHANDLE_H 00007 00008 #include "DirHandle.h" 00009 #include "ff.h" 00010 00011 namespace mbed { 00012 00013 class FATDirHandle : public DirHandle { 00014 00015 public: 00016 FATDirHandle(const FATFS_DIR &the_dir); 00017 virtual int closedir(); 00018 virtual struct dirent *readdir(); 00019 virtual void rewinddir(); 00020 virtual off_t telldir(); 00021 virtual void seekdir(off_t location); 00022 00023 private: 00024 FATFS_DIR dir; 00025 struct dirent cur_entry; 00026 00027 }; 00028 00029 } 00030 00031 #endif
Generated on Fri Jul 15 2022 08:50:45 by 1.7.2