My fork of the FATFileSystem (working)

Dependents:   DGWWebServer

Fork of FatFileSystem by mbed unsupported

Committer:
screamer
Date:
Fri Oct 04 17:04:11 2013 +0300
Revision:
6:07acef5fb981
Parent:
0:97df4125f18d
* fixed - small comment change

Who changed what in which revision?

UserRevisionLine numberNew contents of line
screamer 6:07acef5fb981 1 /**
screamer 6:07acef5fb981 2 Copyright 2008 ARM Limited. All rights reserved.
screamer 6:07acef5fb981 3 */
mbed_unsupported 0:97df4125f18d 4
mbed_unsupported 0:97df4125f18d 5 #ifndef MBED_FATDIRHANDLE_H
mbed_unsupported 0:97df4125f18d 6 #define MBED_FATDIRHANDLE_H
mbed_unsupported 0:97df4125f18d 7
mbed_unsupported 0:97df4125f18d 8 #include "DirHandle.h"
mbed_unsupported 0:97df4125f18d 9 #include "ff.h"
mbed_unsupported 0:97df4125f18d 10
mbed_unsupported 0:97df4125f18d 11 namespace mbed {
mbed_unsupported 0:97df4125f18d 12
mbed_unsupported 0:97df4125f18d 13 class FATDirHandle : public DirHandle {
mbed_unsupported 0:97df4125f18d 14
mbed_unsupported 0:97df4125f18d 15 public:
mbed_unsupported 0:97df4125f18d 16 FATDirHandle(const FATFS_DIR &the_dir);
mbed_unsupported 0:97df4125f18d 17 virtual int closedir();
mbed_unsupported 0:97df4125f18d 18 virtual struct dirent *readdir();
mbed_unsupported 0:97df4125f18d 19 virtual void rewinddir();
mbed_unsupported 0:97df4125f18d 20 virtual off_t telldir();
mbed_unsupported 0:97df4125f18d 21 virtual void seekdir(off_t location);
mbed_unsupported 0:97df4125f18d 22
mbed_unsupported 0:97df4125f18d 23 private:
mbed_unsupported 0:97df4125f18d 24 FATFS_DIR dir;
mbed_unsupported 0:97df4125f18d 25 struct dirent cur_entry;
mbed_unsupported 0:97df4125f18d 26
mbed_unsupported 0:97df4125f18d 27 };
mbed_unsupported 0:97df4125f18d 28
mbed_unsupported 0:97df4125f18d 29 }
mbed_unsupported 0:97df4125f18d 30
mbed_unsupported 0:97df4125f18d 31 #endif