Axeda Corp / Mbed 2 deprecated AxedaGo-Freescal_FRDM-KL46Z revert

Dependencies:   FRDM_MMA8451Q KL46Z-USBHost MAG3110 SocketModem TSI mbed FATFileSystem

Fork of AxedaGo-Freescal_FRDM-KL46Z revert by Axeda Corp

Committer:
AxedaCorp
Date:
Wed Jul 02 15:59:38 2014 +0000
Revision:
1:5ad12c581db4
Parent:
0:65004368569c
url ip switch
;

Who changed what in which revision?

UserRevisionLine numberNew contents of line
AxedaCorp 0:65004368569c 1 /* mbed Microcontroller Library
AxedaCorp 0:65004368569c 2 * Copyright (c) 2006-2012 ARM Limited
AxedaCorp 0:65004368569c 3 *
AxedaCorp 0:65004368569c 4 * Permission is hereby granted, free of charge, to any person obtaining a copy
AxedaCorp 0:65004368569c 5 * of this software and associated documentation files (the "Software"), to deal
AxedaCorp 0:65004368569c 6 * in the Software without restriction, including without limitation the rights
AxedaCorp 0:65004368569c 7 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
AxedaCorp 0:65004368569c 8 * copies of the Software, and to permit persons to whom the Software is
AxedaCorp 0:65004368569c 9 * furnished to do so, subject to the following conditions:
AxedaCorp 0:65004368569c 10 *
AxedaCorp 0:65004368569c 11 * The above copyright notice and this permission notice shall be included in
AxedaCorp 0:65004368569c 12 * all copies or substantial portions of the Software.
AxedaCorp 0:65004368569c 13 *
AxedaCorp 0:65004368569c 14 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
AxedaCorp 0:65004368569c 15 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
AxedaCorp 0:65004368569c 16 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AxedaCorp 0:65004368569c 17 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
AxedaCorp 0:65004368569c 18 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
AxedaCorp 0:65004368569c 19 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
AxedaCorp 0:65004368569c 20 * SOFTWARE.
AxedaCorp 0:65004368569c 21 */
AxedaCorp 0:65004368569c 22 #ifndef MBED_FATDIRHANDLE_H
AxedaCorp 0:65004368569c 23 #define MBED_FATDIRHANDLE_H
AxedaCorp 0:65004368569c 24
AxedaCorp 0:65004368569c 25 #include "DirHandle.h"
AxedaCorp 0:65004368569c 26
AxedaCorp 0:65004368569c 27 using namespace mbed;
AxedaCorp 0:65004368569c 28
AxedaCorp 0:65004368569c 29 class FATDirHandle : public DirHandle {
AxedaCorp 0:65004368569c 30
AxedaCorp 0:65004368569c 31 public:
AxedaCorp 0:65004368569c 32 FATDirHandle(const FATFS_DIR &the_dir);
AxedaCorp 0:65004368569c 33 virtual int closedir();
AxedaCorp 0:65004368569c 34 virtual struct dirent *readdir();
AxedaCorp 0:65004368569c 35 virtual void rewinddir();
AxedaCorp 0:65004368569c 36 virtual off_t telldir();
AxedaCorp 0:65004368569c 37 virtual void seekdir(off_t location);
AxedaCorp 0:65004368569c 38
AxedaCorp 0:65004368569c 39 private:
AxedaCorp 0:65004368569c 40 FATFS_DIR dir;
AxedaCorp 0:65004368569c 41 struct dirent cur_entry;
AxedaCorp 0:65004368569c 42
AxedaCorp 0:65004368569c 43 };
AxedaCorp 0:65004368569c 44
AxedaCorp 0:65004368569c 45 #endif