5#ifndef FLUTTER_SHELL_PLATFORM_GLFW_TEXT_INPUT_PLUGIN_H_
6#define FLUTTER_SHELL_PLATFORM_GLFW_TEXT_INPUT_PLUGIN_H_
11#include "flutter/shell/platform/common/client_wrapper/include/flutter/binary_messenger.h"
12#include "flutter/shell/platform/common/client_wrapper/include/flutter/method_channel.h"
13#include "flutter/shell/platform/common/text_input_model.h"
14#include "flutter/shell/platform/glfw/keyboard_hook_handler.h"
15#include "flutter/shell/platform/glfw/public/flutter_glfw.h"
17#include "rapidjson/document.h"
38 void CharHook(GLFWwindow*
window,
unsigned int code_point)
override;
48 void HandleMethodCall(
53 std::unique_ptr<flutter::MethodChannel<rapidjson::Document>> channel_;
59 std::unique_ptr<TextInputModel> active_model_;
63 std::string input_type_;
67 std::string input_action_;
void KeyboardHook(GLFWwindow *window, int key, int scancode, int action, int mods) override
TextInputPlugin(flutter::BinaryMessenger *messenger)
virtual ~TextInputPlugin()
void CharHook(GLFWwindow *window, unsigned int code_point) override
G_BEGIN_DECLS G_MODULE_EXPORT FlMethodCall * method_call