主導機 mbed用のプログラムです

Dependencies:   mbed

Fork of F3RC_syudou_master by F3RC1班

FatFileSystem/FATDirHandle.h

Committer:
yuto17320508
Date:
2017-08-23
Revision:
19:a3f57c9833b6
Parent:
0:736c76a75def

File content as of revision 19:a3f57c9833b6:

/* Copyright 2008 ARM Limited. All rights reserved. */

#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