Updated FAT File System driver. Features include: * Updated to R0.09 - Sep 06, 2011 [[http://elm-chan.org/fsw/ff/00index_e.html]] * Bug fixes from Stéphane Bausseron ** [[http://mbed.org/forum/mbed/topic/2273/?page=1#comment-11521]] ** [[http://mbed.org/forum/mbed/topic/2307]] * Long filename support enabled and exposed through mbed SDK.

Dependents:   WeatherStation GPSLogger Deneme dotHR_EKF ... more

FATDirHandle.h

Committer:
AdamGreen
Date:
2011-12-25
Revision:
0:6ceefe1c53e4

File content as of revision 0:6ceefe1c53e4:

/* 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