5 #ifndef FLUTTER_SHELL_PLATFORM_LINUX_PUBLIC_FLUTTER_LINUX_FL_EVENT_CHANNEL_H_
6 #define FLUTTER_SHELL_PLATFORM_LINUX_PUBLIC_FLUTTER_LINUX_FL_EVENT_CHANNEL_H_
8 #if !defined(__FLUTTER_LINUX_INSIDE__) && !defined(FLUTTER_LINUX_COMPILATION)
9 #error "Only <flutter_linux/flutter_linux.h> can be included directly."
13 #include <glib-object.h>
88 typedef FlMethodErrorResponse* (*FlEventChannelHandler)(FlEventChannel* channel,
105 FlMethodCodec* codec);
126 FlEventChannelHandler listen_handler,
127 FlEventChannelHandler cancel_handler,
129 GDestroyNotify destroy_notify);
146 GCancellable* cancellable,
166 const gchar* message,
168 GCancellable* cancellable,
184 GCancellable* cancellable,
189 #endif // FLUTTER_SHELL_PLATFORM_LINUX_PUBLIC_FLUTTER_LINUX_FL_EVENT_CHANNEL_H_