5#ifndef FLUTTER_SHELL_PLATFORM_COMMON_INCOMING_MESSAGE_DISPATCHER_H_
6#define FLUTTER_SHELL_PLATFORM_COMMON_INCOMING_MESSAGE_DISPATCHER_H_
14#include "flutter/shell/platform/common/public/flutter_messenger.h"
68 std::map<std::string, std::pair<FlutterDesktopMessageCallback, void*>>
73 std::set<std::string> input_blocking_channels_;
IncomingMessageDispatcher(IncomingMessageDispatcher const &)=delete
void HandleMessage(const FlutterDesktopMessage &message, const std::function< void(void)> &input_block_cb=[] {}, const std::function< void(void)> &input_unblock_cb=[] {})
IncomingMessageDispatcher(FlutterDesktopMessengerRef messenger)
void EnableInputBlockingForChannel(const std::string &channel)
void SetMessageCallback(const std::string &channel, FlutterDesktopMessageCallback callback, void *user_data)
virtual ~IncomingMessageDispatcher()
IncomingMessageDispatcher & operator=(IncomingMessageDispatcher const &)=delete
FlKeyEvent uint64_t FlKeyResponderAsyncCallback callback
void(* FlutterDesktopMessageCallback)(FlutterDesktopMessengerRef, const FlutterDesktopMessage *, void *)
Dart_NativeFunction function