| Flutter Linux Embedder |

fl_keyboard_handler.h
Go to the documentation of this file.
1 // Copyright 2013 The Flutter 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 FLUTTER_SHELL_PLATFORM_LINUX_FL_KEYBOARD_HANDLER_H_
6 #define FLUTTER_SHELL_PLATFORM_LINUX_FL_KEYBOARD_HANDLER_H_
7
8 #include <gdk/gdk.h>
9
10 #include "flutter/shell/platform/linux/fl_keyboard_manager.h"
11 #include "flutter/shell/platform/linux/public/flutter_linux/fl_binary_messenger.h"
12
13 G_BEGIN_DECLS
14
15 G_DECLARE_FINAL_TYPE(FlKeyboardHandler,
16 fl_keyboard_handler,
17 FL,
18 KEYBOARD_HANDLER,
19 GObject);
20
21 /**
22 * FlKeyboardHandler:
23 *
24 * Provides the channel to receive keyboard requests from the Dart code.
25 */
26
27 /**
28 * fl_keyboard_handler_new:
29 * @messenger: a #FlBinaryMessenger.
30 * @keyboard_manager: a #FlKeyboardManager.
31 *
32 * Create a new #FlKeyboardHandler.
33 *
34 * Returns: a new #FlKeyboardHandler.
35 */
36 FlKeyboardHandler* fl_keyboard_handler_new(FlBinaryMessenger* messenger,
37 FlKeyboardManager* keyboard_manager);
38
39 G_END_DECLS
40
41 #endif // FLUTTER_SHELL_PLATFORM_LINUX_FL_KEYBOARD_HANDLER_H_
FL
FL
Definition: fl_binary_messenger.cc:27
fl_binary_messenger.h
fl_keyboard_handler_new
FlKeyboardHandler * fl_keyboard_handler_new(FlBinaryMessenger *messenger, FlKeyboardManager *keyboard_manager)
Definition: fl_keyboard_handler.cc:63
G_DECLARE_FINAL_TYPE
G_BEGIN_DECLS G_DECLARE_FINAL_TYPE(FlKeyboardHandler, fl_keyboard_handler, FL, KEYBOARD_HANDLER, GObject)
fl_keyboard_manager.h