Flutter Engine
The Flutter Engine
shell
platform
linux
testing
mock_text_input_plugin.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_TESTING_MOCK_TEXT_INPUT_PLUGIN_H_
6
#define FLUTTER_SHELL_PLATFORM_LINUX_TESTING_MOCK_TEXT_INPUT_PLUGIN_H_
7
8
#include <gdk/gdk.h>
9
10
#include "flutter/shell/platform/linux/fl_text_input_plugin.h"
11
12
G_BEGIN_DECLS
13
14
G_DECLARE_FINAL_TYPE
(FlMockTextInputPlugin,
15
fl_mock_text_input_plugin,
16
FL
,
17
MOCK_TEXT_INPUT_PLUGIN,
18
FlTextInputPlugin)
19
20
FlMockTextInputPlugin*
fl_mock_text_input_plugin_new
(
21
gboolean (*filter_keypress)(FlTextInputPlugin*
self
,
FlKeyEvent
*
event
));
22
23
G_END_DECLS
24
25
#endif
// FLUTTER_SHELL_PLATFORM_LINUX_TESTING_MOCK_TEXT_INPUT_PLUGIN_H_
self
return self
Definition:
FlutterTextureRegistryRelay.mm:19
FL
FL
Definition:
fl_binary_messenger.cc:27
fl_mock_text_input_plugin_new
FlMockTextInputPlugin * fl_mock_text_input_plugin_new(gboolean(*filter_keypress)(FlTextInputPlugin *self, FlKeyEvent *event))
Definition:
mock_text_input_plugin.cc:35
event
G_BEGIN_DECLS FlKeyEvent * event
Definition:
mock_text_input_plugin.h:21
G_DECLARE_FINAL_TYPE
G_BEGIN_DECLS G_DECLARE_FINAL_TYPE(FlMockTextInputPlugin, fl_mock_text_input_plugin, FL, MOCK_TEXT_INPUT_PLUGIN, FlTextInputPlugin) FlMockTextInputPlugin *fl_mock_text_input_plugin_new(gboolean(*filter_keypress)(FlTextInputPlugin *self
_FlKeyEvent
Definition:
fl_key_event.h:22
Generated on Sun Jun 23 2024 21:55:17 for Flutter Engine by
1.9.4