ahmed ahmed
/
samir2_alti_logger
dd
Diff: FileSystem/FatFileSystem/FATDirHandle.h
- Revision:
- 0:caecb0d1e7d3
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/FileSystem/FatFileSystem/FATDirHandle.h Wed Apr 08 08:27:55 2015 +0000 @@ -0,0 +1,31 @@ +/* mbed Microcontroller Library - FATDirHandle + * Copyright (c) 2008, sford + */ + +#ifndef MBED_FATDIRHANDLE_H +#define MBED_FATDIRHANDLE_H + +#include "DirHandle.h" +#include "ff.h" + +namespace mbed { + +class FATDirHandle : public DirHandle { + + public: + FATDirHandle(const FATFS_DIR &the_dir); + virtual int closedir(); + virtual struct dirent *readdir(); + virtual void rewinddir(); + virtual off_t telldir(); + virtual void seekdir(off_t location); + + private: + FATFS_DIR dir; + struct dirent cur_entry; + +}; + +} + +#endif