OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 #ifndef BIN_STDIO_H_ | 5 #ifndef BIN_STDIO_H_ |
6 #define BIN_STDIO_H_ | 6 #define BIN_STDIO_H_ |
7 | 7 |
8 #include "bin/builtin.h" | 8 #include "bin/builtin.h" |
9 #include "bin/utils.h" | 9 #include "bin/utils.h" |
10 | 10 |
11 #include "platform/globals.h" | 11 #include "platform/globals.h" |
12 | 12 |
13 | |
14 namespace dart { | 13 namespace dart { |
15 namespace bin { | 14 namespace bin { |
16 | 15 |
17 class Stdin { | 16 class Stdin { |
18 public: | 17 public: |
19 static int ReadByte(); | 18 static int ReadByte(); |
20 | 19 |
21 static bool GetEchoMode(); | 20 static bool GetEchoMode(); |
22 static void SetEchoMode(bool enabled); | 21 static void SetEchoMode(bool enabled); |
23 | 22 |
(...skipping 12 matching lines...) Expand all Loading... |
36 | 35 |
37 private: | 36 private: |
38 DISALLOW_ALLOCATION(); | 37 DISALLOW_ALLOCATION(); |
39 DISALLOW_IMPLICIT_CONSTRUCTORS(Stdout); | 38 DISALLOW_IMPLICIT_CONSTRUCTORS(Stdout); |
40 }; | 39 }; |
41 | 40 |
42 } // namespace bin | 41 } // namespace bin |
43 } // namespace dart | 42 } // namespace dart |
44 | 43 |
45 #endif // BIN_STDIO_H_ | 44 #endif // BIN_STDIO_H_ |
OLD | NEW |