|
Flutter Linux Embedder
|
|
Go to the documentation of this file.
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"
47 const FlutterPlatformMessageResponseHandle* response_handle,
60 const FlutterSemanticsUpdate2* update,
73 FlRenderer* renderer);
127 GCancellable* cancellable,
158 FlutterViewId view_id,
159 GCancellable* cancellable,
196 GDestroyNotify destroy_notify);
212 GDestroyNotify destroy_notify);
225 FlutterViewId view_id,
246 FlutterViewId view_id,
247 FlutterPointerPhase phase,
251 FlutterPointerDeviceKind device_kind,
252 double scroll_delta_x,
253 double scroll_delta_y,
272 FlutterViewId view_id,
276 FlutterPointerPhase phase,
286 const FlutterKeyEvent*
event,
299 FlutterSemanticsAction action,
316 const FlutterPlatformMessageResponseHandle* handle,
333 const gchar* channel,
335 GCancellable* cancellable,
431 #endif // FLUTTER_SHELL_PLATFORM_LINUX_FL_ENGINE_PRIVATE_H_
GBytes * fl_engine_send_platform_message_finish(FlEngine *engine, GAsyncResult *result, GError **error)
gboolean(* FlEnginePlatformMessageHandler)(FlEngine *engine, const gchar *channel, GBytes *message, const FlutterPlatformMessageResponseHandle *response_handle, gpointer user_data)
void fl_engine_send_platform_message(FlEngine *engine, const gchar *channel, GBytes *message, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
gboolean fl_engine_mark_texture_frame_available(FlEngine *engine, int64_t texture_id)
gboolean fl_engine_unregister_external_texture(FlEngine *engine, int64_t texture_id)
FlutterViewId fl_engine_add_view(FlEngine *engine, size_t width, size_t height, double pixel_ratio, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
void(* FlEngineUpdateSemanticsHandler)(FlEngine *engine, const FlutterSemanticsUpdate2 *update, gpointer user_data)
gboolean fl_engine_start(FlEngine *engine, GError **error)
void fl_engine_execute_task(FlEngine *engine, FlutterTask *task)
FlutterSemanticsFlag flags
gboolean fl_engine_add_view_finish(FlEngine *engine, GAsyncResult *result, GError **error)
FlKeyEvent uint64_t FlKeyResponderAsyncCallback gpointer user_data
gboolean fl_engine_remove_view_finish(FlEngine *engine, GAsyncResult *result, GError **error)
gboolean fl_engine_send_platform_message_response(FlEngine *engine, const FlutterPlatformMessageResponseHandle *handle, GBytes *response, GError **error)
gboolean fl_engine_register_external_texture(FlEngine *engine, int64_t texture_id)
FlEngine * fl_engine_new_with_renderer(FlDartProject *project, FlRenderer *renderer)
void fl_engine_send_mouse_pointer_event(FlEngine *engine, FlutterViewId view_id, 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_key_event(FlEngine *engine, const FlutterKeyEvent *event, FlutterKeyEventCallback callback, void *user_data)
void fl_engine_update_accessibility_features(FlEngine *engine, int32_t flags)
FlRenderer * fl_engine_get_renderer(FlEngine *engine)
void fl_engine_send_window_metrics_event(FlEngine *engine, FlutterViewId view_id, size_t width, size_t height, double pixel_ratio)
FlTaskRunner * fl_engine_get_task_runner(FlEngine *engine)
void fl_engine_set_update_semantics_handler(FlEngine *engine, FlEngineUpdateSemanticsHandler handler, gpointer user_data, GDestroyNotify destroy_notify)
FlutterEngineProcTable * fl_engine_get_embedder_api(FlEngine *engine)
void fl_engine_set_platform_message_handler(FlEngine *engine, FlEnginePlatformMessageHandler handler, gpointer user_data, GDestroyNotify destroy_notify)
const uint8_t uint32_t uint32_t * height
GPtrArray * fl_engine_get_switches(FlEngine *engine)
void fl_engine_remove_view(FlEngine *engine, FlutterViewId view_id, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
const uint8_t uint32_t uint32_t GError ** error
void fl_engine_send_pointer_pan_zoom_event(FlEngine *engine, FlutterViewId view_id, size_t timestamp, double x, double y, FlutterPointerPhase phase, double pan_x, double pan_y, double scale, double rotation)
FlKeyEvent uint64_t FlKeyResponderAsyncCallback callback
GQuark fl_engine_error_quark(void) G_GNUC_CONST
const uint8_t uint32_t * width
void fl_engine_dispatch_semantics_action(FlEngine *engine, uint64_t id, FlutterSemanticsAction action, GBytes *data)