Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1783)

Unified Diff: runtime/bin/stdio.h

Issue 102123010: Add getter for hasTerminal, terminalColumns and terminalLines on stdout. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add include of thread.h and fix io_patch. Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/bin/stdin_win.cc ('k') | runtime/bin/stdio.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/stdio.h
diff --git a/runtime/bin/stdin.h b/runtime/bin/stdio.h
similarity index 74%
rename from runtime/bin/stdin.h
rename to runtime/bin/stdio.h
index a0c68757525134cb019a7269f960209cc0e84018..646629d299a3306bcdf0b595f9c85fbc7cc54cef 100644
--- a/runtime/bin/stdin.h
+++ b/runtime/bin/stdio.h
@@ -2,8 +2,8 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-#ifndef BIN_STDIN_H_
-#define BIN_STDIN_H_
+#ifndef BIN_STDIO_H_
+#define BIN_STDIO_H_
#include "bin/builtin.h"
#include "bin/utils.h"
@@ -29,8 +29,18 @@ class Stdin {
DISALLOW_IMPLICIT_CONSTRUCTORS(Stdin);
};
+
+class Stdout {
+ public:
+ static bool GetTerminalSize(int size[2]);
+
+ private:
+ DISALLOW_ALLOCATION();
+ DISALLOW_IMPLICIT_CONSTRUCTORS(Stdout);
+};
+
} // namespace bin
} // namespace dart
-#endif // BIN_STDIN_H_
+#endif // BIN_STDIO_H_
« no previous file with comments | « runtime/bin/stdin_win.cc ('k') | runtime/bin/stdio.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698