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

Side by Side Diff: examples/media_test/keystroke.h

Issue 1809703003: Motown: Add examples/media_test, a command line media player app. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Tweaks based on feedback. Created 4 years, 9 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef EXAMPLES_MEDIA_TEST_KEYSTROKE_H_
6 #define EXAMPLES_MEDIA_TEST_KEYSTROKE_H_
7
8 namespace mojo {
9 namespace media {
10 namespace examples {
11
12 // Returns keystroke or 0 if no key has been pressed. This is non-blocking,
13 // but requires the user to hit enter and doesn't suppress echo. Enter alone
14 // produces a newline ('\n'). If non-newline characters are entered, the
15 // terminating newline is suppressed.
16 char Keystroke();
17
18 } // namespace examples
19 } // namespace media
20 } // namespace mojo
21
22 #endif // EXAMPLES_MEDIA_TEST_KEYSTROKE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698