a

Fork of mbed by -deleted-

FileLike.h

Committer:
TUATBM
Date:
2018-09-09
Revision:
44:8d22cce05b9a
Parent:
43:aff670d0d510

File content as of revision 44:8d22cce05b9a:

/* mbed Microcontroller Library - FileLike
 * Copyright (c) 2008-2009 ARM Limited. All rights reserved.
 */ 
 
#ifndef MBED_FILELIKE_H
#define MBED_FILELIKE_H

#include "Base.h"
#include "FileHandle.h"

namespace mbed {

/** A file-like object is one that can be opened with fopen by
 *  fopen("/name", mode). It is intersection of the classes Base and
 *  FileHandle.
 */ 
class FileLike : public Base, public FileHandle {
    
 public:
    /** FileLike constructor
     *
     *  @param name The name to use to open the file.
     */
    FileLike(const char *name) : Base(name) { }
    virtual ~FileLike();

};

} // namespace mbed

#endif