mbed(SerialHalfDuplex入り)
Fork of mbed by
Diff: FileLike.h
- Revision:
- 44:24d45a770a51
- Parent:
- 43:e2ed12d17f06
- Child:
- 45:3d775a932e1d
--- a/FileLike.h Fri Oct 26 17:40:46 2012 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,31 +0,0 @@ -/* 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