Index: cloud_print/gcp20/prototype/conio_posix.h |
diff --git a/cloud_print/gcp20/prototype/conio_posix.h b/cloud_print/gcp20/prototype/conio_posix.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..f8bebea208caa65364dfabe74a5115d41db86921 |
--- /dev/null |
+++ b/cloud_print/gcp20/prototype/conio_posix.h |
@@ -0,0 +1,19 @@ |
+// Copyright 2013 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef CLOUD_PRINT_GCP20_PROTOTYPE_CONIO_POSIX_H_ |
+#define CLOUD_PRINT_GCP20_PROTOTYPE_CONIO_POSIX_H_ |
+ |
+// Method for disabling buffered IO. |
+// |true| - disable, |false| - restore previous settings. |
+void SetTemporaryTermiosSettings(bool temporary); |
+ |
+// Analog from conio.h |
+int _kbhit(); |
+ |
+// Analog from conio.h |
+int _getche(); |
+ |
+#endif // CLOUD_PRINT_GCP20_PROTOTYPE_CONIO_POSIX_H_ |
+ |