5#ifndef FLUTTER_SHELL_PLATFORM_LINUX_FL_ENGINE_PRIVATE_H_
6#define FLUTTER_SHELL_PLATFORM_LINUX_FL_ENGINE_PRIVATE_H_
8#include <glib-object.h>
10#include "flutter/shell/platform/embedder/embedder.h"
11#include "flutter/shell/platform/linux/fl_renderer.h"
12#include "flutter/shell/platform/linux/fl_task_runner.h"
13#include "flutter/shell/platform/linux/public/flutter_linux/fl_dart_project.h"
14#include "flutter/shell/platform/linux/public/flutter_linux/fl_engine.h"
112 GDestroyNotify destroy_notify);
128 GDestroyNotify destroy_notify);
144 GDestroyNotify destroy_notify);
204 double scroll_delta_x,
205 double scroll_delta_y,
269 const gchar* channel,
271 GCancellable* cancellable,
FlutterPointerPhase
The phase of the pointer event.
void(* FlutterKeyEventCallback)(bool, void *)
FlutterPointerDeviceKind
The device type that created a pointer event.
FlutterSemanticsFlag flags
gboolean fl_engine_send_platform_message_response(FlEngine *engine, const FlutterPlatformMessageResponseHandle *handle, GBytes *response, GError **error)
void(* FlEngineOnPreEngineRestartHandler)(FlEngine *engine, gpointer user_data)
void fl_engine_execute_task(FlEngine *engine, FlutterTask *task)
void fl_engine_send_key_event(FlEngine *engine, const FlutterKeyEvent *event, FlutterKeyEventCallback callback, void *user_data)
FlEngine * fl_engine_new(FlDartProject *project, FlRenderer *renderer)
void fl_engine_send_mouse_pointer_event(FlEngine *engine, FlutterPointerPhase phase, size_t timestamp, double x, double y, FlutterPointerDeviceKind device_kind, double scroll_delta_x, double scroll_delta_y, int64_t buttons)
void fl_engine_send_pointer_pan_zoom_event(FlEngine *self, size_t timestamp, double x, double y, FlutterPointerPhase phase, double pan_x, double pan_y, double scale, double rotation)
void(* FlEngineUpdateSemanticsHandler)(FlEngine *engine, const FlutterSemanticsUpdate2 *update, gpointer user_data)
GPtrArray * fl_engine_get_switches(FlEngine *engine)
gboolean fl_engine_mark_texture_frame_available(FlEngine *engine, int64_t texture_id)
GQuark fl_engine_error_quark(void) G_GNUC_CONST
gboolean fl_engine_unregister_external_texture(FlEngine *engine, int64_t texture_id)
FlutterEngineProcTable * fl_engine_get_embedder_api(FlEngine *engine)
void fl_engine_send_window_metrics_event(FlEngine *engine, size_t width, size_t height, double pixel_ratio)
void fl_engine_send_window_state_event(FlEngine *engine, gboolean visible, gboolean focused)
GBytes * fl_engine_send_platform_message_finish(FlEngine *engine, GAsyncResult *result, GError **error)
void fl_engine_set_platform_message_handler(FlEngine *engine, FlEnginePlatformMessageHandler handler, gpointer user_data, GDestroyNotify destroy_notify)
void fl_engine_send_platform_message(FlEngine *engine, const gchar *channel, GBytes *message, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
void fl_engine_set_update_semantics_handler(FlEngine *engine, FlEngineUpdateSemanticsHandler handler, gpointer user_data, GDestroyNotify destroy_notify)
void fl_engine_dispatch_semantics_action(FlEngine *engine, uint64_t id, FlutterSemanticsAction action, GBytes *data)
gboolean fl_engine_register_external_texture(FlEngine *engine, int64_t texture_id)
FlTaskRunner * fl_engine_get_task_runner(FlEngine *engine)
void fl_engine_set_on_pre_engine_restart_handler(FlEngine *engine, FlEngineOnPreEngineRestartHandler handler, gpointer user_data, GDestroyNotify destroy_notify)
void fl_engine_update_accessibility_features(FlEngine *engine, int32_t flags)
gboolean(* FlEnginePlatformMessageHandler)(FlEngine *engine, const gchar *channel, GBytes *message, const FlutterPlatformMessageResponseHandle *response_handle, gpointer user_data)
gboolean fl_engine_start(FlEngine *engine, GError **error)
FlKeyEvent uint64_t FlKeyResponderAsyncCallback callback
const uint8_t uint32_t uint32_t GError ** error
Function-pointer-based versions of the APIs above.
A batch of updates to semantics nodes and custom actions.
std::shared_ptr< const fml::Mapping > data