Dependencies: PinDetect TextLCD mbed mRotaryEncoder
Diff: FATFileSystem/Interface/FATDirHandle.h
- Revision:
- 0:afb2650fb49a
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/FATFileSystem/Interface/FATDirHandle.h Mon Feb 13 02:11:20 2012 +0000 @@ -0,0 +1,30 @@ +/* mbed Microcontroller Library - FATDirHandle + Copyright (c) 2008, sford */ + +//Modified by Thomas Hamilton, Copyright 2010 + +#ifndef MBED_FATDIRHANDLE_H +#define MBED_FATDIRHANDLE_H + +#include "stdint.h" +#include "ff.h" +#include "mbed.h" +#include "DirHandle.h" +#include <stdio.h> + +class FATDirHandle : public DirHandle +{ + private: + FAT_DIR DirectoryObject; + struct dirent CurrentEntry; + + public: + FATDirHandle(FAT_DIR InputDirStr); + virtual int closedir(); + virtual struct dirent* readdir(); + virtual void rewinddir(); + virtual off_t telldir(); + virtual void seekdir(off_t location); +}; + +#endif \ No newline at end of file