Flutter Engine
The Flutter Engine
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
12G_BEGIN_DECLS
13
14G_DECLARE_FINAL_TYPE(FlMockTextInputPlugin,
15 fl_mock_text_input_plugin,
16 FL,
17 MOCK_TEXT_INPUT_PLUGIN,
18 FlTextInputPlugin)
19
20FlMockTextInputPlugin* fl_mock_text_input_plugin_new(
21 gboolean (*filter_keypress)(FlTextInputPlugin* self, FlKeyEvent* event));
22
23G_END_DECLS
24
25#endif // FLUTTER_SHELL_PLATFORM_LINUX_TESTING_MOCK_TEXT_INPUT_PLUGIN_H_
FlMockTextInputPlugin * fl_mock_text_input_plugin_new(gboolean(*filter_keypress)(FlTextInputPlugin *self, FlKeyEvent *event))
G_BEGIN_DECLS FlKeyEvent * event
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