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

Unified Diff: cloud_print/gcp20/prototype/conio_posix.h

Issue 19468002: Added confirmation for printer registration. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@new-api-availability-check
Patch Set: kbhit to _kbhit Created 7 years, 5 months 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 | « cloud_print/gcp20/prototype/cloud_print_requester.cc ('k') | cloud_print/gcp20/prototype/conio_posix.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
+
« no previous file with comments | « cloud_print/gcp20/prototype/cloud_print_requester.cc ('k') | cloud_print/gcp20/prototype/conio_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698