 |
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"
50 const FlutterPlatformMessageResponseHandle* response_handle,
62 FlBinaryMessenger* binary_messenger);
74 FlRenderer* renderer);
127 const FlutterEngineDisplay* displays,
128 size_t displays_length);
150 GCancellable* cancellable,
151 GAsyncReadyCallback callback,
166 GAsyncResult* result,
181 FlutterViewId view_id,
182 GCancellable* cancellable,
183 GAsyncReadyCallback callback,
198 GAsyncResult* result,
219 GDestroyNotify destroy_notify);
233 FlutterEngineDisplayId display_id,
234 FlutterViewId view_id,
255 FlutterViewId view_id,
256 FlutterPointerPhase phase,
260 FlutterPointerDeviceKind device_kind,
261 double scroll_delta_x,
262 double scroll_delta_y,
277 FlutterViewId view_id,
295 FlutterViewId view_id,
312 FlutterViewId view_id,
330 FlutterViewId view_id,
348 FlutterViewId view_id,
370 FlutterViewId view_id,
374 FlutterPointerPhase phase,
392 const FlutterKeyEvent* event,
393 GCancellable* cancellable,
394 GAsyncReadyCallback callback,
410 GAsyncResult* result,
423 FlutterSemanticsAction action,
440 const FlutterPlatformMessageResponseHandle* handle,
457 const gchar* channel,
459 GCancellable* cancellable,
460 GAsyncReadyCallback callback,
475 GAsyncResult* result,
607 #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)
FlWindowingHandler * fl_engine_get_windowing_handler(FlEngine *engine)
FlKeyboardManager * fl_engine_get_keyboard_manager(FlEngine *engine)
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)
gboolean fl_engine_start(FlEngine *engine, GError **error)
void fl_engine_notify_display_update(FlEngine *engine, const FlutterEngineDisplay *displays, size_t displays_length)
FlEngine * fl_engine_for_id(int64_t handle)
void fl_engine_execute_task(FlEngine *engine, FlutterTask *task)
void fl_engine_send_touch_move_event(FlEngine *engine, FlutterViewId view_id, size_t timestamp, double x, double y, int32_t device)
FlutterSemanticsFlag flags
gboolean fl_engine_add_view_finish(FlEngine *engine, GAsyncResult *result, GError **error)
void fl_engine_send_window_metrics_event(FlEngine *engine, FlutterEngineDisplayId display_id, FlutterViewId view_id, size_t width, size_t height, double pixel_ratio)
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)
G_BEGIN_DECLS G_MODULE_EXPORT FlValue gpointer user_data
void fl_engine_request_app_exit(FlEngine *engine)
FlEngine * fl_engine_new_with_renderer(FlDartProject *project, FlRenderer *renderer)
FlDisplayMonitor * fl_engine_get_display_monitor(FlEngine *engine)
void fl_engine_send_key_event(FlEngine *engine, const FlutterKeyEvent *event, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
FlEngine * fl_engine_new_with_binary_messenger(FlBinaryMessenger *binary_messenger)
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_touch_remove_event(FlEngine *engine, FlutterViewId view_id, size_t timestamp, double x, double y, int32_t device)
void fl_engine_update_accessibility_features(FlEngine *engine, int32_t flags)
FlRenderer * fl_engine_get_renderer(FlEngine *engine)
FlMouseCursorHandler * fl_engine_get_mouse_cursor_handler(FlEngine *engine)
FlTaskRunner * fl_engine_get_task_runner(FlEngine *engine)
gboolean fl_engine_send_key_event_finish(FlEngine *engine, GAsyncResult *result, gboolean *handled, GError **error)
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
void fl_engine_send_touch_add_event(FlEngine *engine, FlutterViewId view_id, size_t timestamp, double x, double y, int32_t device)
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)
FlTextInputHandler * fl_engine_get_text_input_handler(FlEngine *engine)
void fl_engine_send_touch_up_event(FlEngine *engine, FlutterViewId view_id, size_t timestamp, double x, double y, int32_t device)
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 fl_engine_send_touch_down_event(FlEngine *engine, FlutterViewId view_id, size_t timestamp, double x, double y, int32_t device)