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 mbed by
Diff: Stream.h
- Revision:
- 11:1c1ebd0324fa
- Parent:
- 8:00a04e5cd407
- Child:
- 27:7110ebee3484
diff -r fcb9359f0959 -r 1c1ebd0324fa Stream.h
--- a/Stream.h Thu May 14 14:44:00 2009 +0000
+++ b/Stream.h Fri Aug 28 12:10:11 2009 +0000
@@ -1,11 +1,13 @@
/* mbed Microcontroller Library - Stream
- * Copyright (c) 2007-2008, sford
- */
-
+ * Copyright (c) 2007-2009 ARM Limited. All rights reserved.
+ * sford
+ */
+
#ifndef MBED_STREAM_H
#define MBED_STREAM_H
#include "FileLike.h"
+#include "platform.h"
#include <cstdio>
namespace mbed {
@@ -37,8 +39,10 @@
int scanf(const char* format, ...);
operator std::FILE*() { return _file; }
-
+
+#ifdef MBED_RPC
virtual const struct rpc_method *get_rpc_methods();
+#endif
protected: