svn / FATFileSystem / trunk / FATDirHandle.h

Revision 16, 506 bytes (checked in by rolf.meyer@…, 2 years ago)

Finaly the FATFileSystem works on both targets ;-)
Sorry for the delay.

Line 
1/* Copyright 2008 ARM Limited. All rights reserved. */
2
3#ifndef MBED_FATDIRHANDLE_H
4#define MBED_FATDIRHANDLE_H
5
6#include "DirHandle.h"
7#include "ff.h"
8
9namespace mbed {
10
11class FATDirHandle : public DirHandle {
12
13 public:
14    FATDirHandle(const FATFS_DIR &the_dir);
15    virtual int closedir();
16    virtual struct dirent *readdir();
17    virtual void rewinddir();
18    virtual off_t telldir();
19    virtual void seekdir(off_t location);
20
21 private:
22    FATFS_DIR dir;
23    struct dirent cur_entry;
24
25};
26
27}
28
29#endif
Note: See TracBrowser for help on using the browser.