USBMSD SD card Hello World for Mbed platforms
Dependencies: mbed USBMSD_SD USBDevice
Diff: ChaNFS/FATDirHandle.h
- Revision:
- 17:364ef42e502d
- Parent:
- 16:c753717bfd4d
- Child:
- 18:08b207d10056
--- a/ChaNFS/FATDirHandle.h Sun Dec 11 13:35:44 2011 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,31 +0,0 @@ -/* 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