|
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,
82 FlEngine*
fl_engine_new(FlDartProject* project, FlRenderer* renderer);
112 GDestroyNotify destroy_notify);
128 GDestroyNotify destroy_notify);
144 GDestroyNotify destroy_notify);
199 FlutterPointerPhase phase,
203 FlutterPointerDeviceKind device_kind,
204 double scroll_delta_x,
205 double scroll_delta_y,
212 FlutterPointerPhase phase,
222 const FlutterKeyEvent*
event,
235 FlutterSemanticsAction action,
252 const FlutterPlatformMessageResponseHandle* handle,
269 const gchar* channel,
271 GCancellable* cancellable,
367 #endif // FLUTTER_SHELL_PLATFORM_LINUX_FL_ENGINE_PRIVATE_H_
GBytes * fl_engine_send_platform_message_finish(FlEngine *engine, GAsyncResult *result, GError **error)
void fl_engine_send_window_metrics_event(FlEngine *engine, size_t width, size_t height, double pixel_ratio)
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)
void(* FlEngineUpdateSemanticsHandler)(FlEngine *engine, const FlutterSemanticsUpdate2 *update, gpointer user_data)
gboolean fl_engine_start(FlEngine *engine, GError **error)
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_execute_task(FlEngine *engine, FlutterTask *task)
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)
FlutterSemanticsFlag flags
FlKeyEvent uint64_t FlKeyResponderAsyncCallback gpointer user_data
void fl_engine_set_on_pre_engine_restart_handler(FlEngine *engine, FlEngineOnPreEngineRestartHandler handler, gpointer user_data, GDestroyNotify destroy_notify)
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)
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)
FlTaskRunner * fl_engine_get_task_runner(FlEngine *engine)
FlEngine * fl_engine_new(FlDartProject *project, FlRenderer *renderer)
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)
GPtrArray * fl_engine_get_switches(FlEngine *engine)
const uint8_t uint32_t uint32_t GError ** error
void fl_engine_send_window_state_event(FlEngine *engine, gboolean visible, gboolean focused)
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)
void(* FlEngineOnPreEngineRestartHandler)(FlEngine *engine, gpointer user_data)