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..9b55add595626f86aa0f0dcd2458417aee8ba1af |
--- /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_ |
+ |