Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of FatFileSystemCpp by
FATDirHandle.h
- Committer:
- YongChingTee
- Date:
- 2013-03-06
- Revision:
- 2:5cdf6d5c3b68
- Parent:
- 0:6ceefe1c53e4
File content as of revision 2:5cdf6d5c3b68:
/* 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
