Christian Lerche
/
EA_DoorPlayer
EA BaseBoard, playing wav, PC see\'s SD-card through USB port.
Diff: ChaNFS/FATDirHandle.h
- Revision:
- 0:fef366d2ed20
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ChaNFS/FATDirHandle.h Tue Nov 22 05:45:58 2011 +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 DIR_t &the_dir); + virtual int closedir(); + virtual struct dirent *readdir(); + virtual void rewinddir(); + virtual off_t telldir(); + virtual void seekdir(off_t location); + + private: + DIR_t dir; + struct dirent cur_entry; + +}; + +} + +#endif