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.
Fork of FatFileSystem by
FATDirHandle.h@0:97df4125f18d, 2012-05-08 (annotated)
- Committer:
- mbed_unsupported
- Date:
- Tue May 08 11:28:44 2012 +0000
- Revision:
- 0:97df4125f18d
Convert to mercurial
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mbed_unsupported | 0:97df4125f18d | 1 | /* Copyright 2008 ARM Limited. All rights reserved. */ |
mbed_unsupported | 0:97df4125f18d | 2 | |
mbed_unsupported | 0:97df4125f18d | 3 | #ifndef MBED_FATDIRHANDLE_H |
mbed_unsupported | 0:97df4125f18d | 4 | #define MBED_FATDIRHANDLE_H |
mbed_unsupported | 0:97df4125f18d | 5 | |
mbed_unsupported | 0:97df4125f18d | 6 | #include "DirHandle.h" |
mbed_unsupported | 0:97df4125f18d | 7 | #include "ff.h" |
mbed_unsupported | 0:97df4125f18d | 8 | |
mbed_unsupported | 0:97df4125f18d | 9 | namespace mbed { |
mbed_unsupported | 0:97df4125f18d | 10 | |
mbed_unsupported | 0:97df4125f18d | 11 | class FATDirHandle : public DirHandle { |
mbed_unsupported | 0:97df4125f18d | 12 | |
mbed_unsupported | 0:97df4125f18d | 13 | public: |
mbed_unsupported | 0:97df4125f18d | 14 | FATDirHandle(const FATFS_DIR &the_dir); |
mbed_unsupported | 0:97df4125f18d | 15 | virtual int closedir(); |
mbed_unsupported | 0:97df4125f18d | 16 | virtual struct dirent *readdir(); |
mbed_unsupported | 0:97df4125f18d | 17 | virtual void rewinddir(); |
mbed_unsupported | 0:97df4125f18d | 18 | virtual off_t telldir(); |
mbed_unsupported | 0:97df4125f18d | 19 | virtual void seekdir(off_t location); |
mbed_unsupported | 0:97df4125f18d | 20 | |
mbed_unsupported | 0:97df4125f18d | 21 | private: |
mbed_unsupported | 0:97df4125f18d | 22 | FATFS_DIR dir; |
mbed_unsupported | 0:97df4125f18d | 23 | struct dirent cur_entry; |
mbed_unsupported | 0:97df4125f18d | 24 | |
mbed_unsupported | 0:97df4125f18d | 25 | }; |
mbed_unsupported | 0:97df4125f18d | 26 | |
mbed_unsupported | 0:97df4125f18d | 27 | } |
mbed_unsupported | 0:97df4125f18d | 28 | |
mbed_unsupported | 0:97df4125f18d | 29 | #endif |