Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
FATDirHandle.h
00001 /* mbed Microcontroller Library - FATDirHandle 00002 * Copyright (c) 2008, sford 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 Tue Jul 12 2022 17:50:55 by
