Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
flutter_plugin_registrar.h
Go to the documentation of this file.
1// Copyright 2013 The Flutter Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef FLUTTER_SHELL_PLATFORM_COMMON_PUBLIC_FLUTTER_PLUGIN_REGISTRAR_H_
6#define FLUTTER_SHELL_PLATFORM_COMMON_PUBLIC_FLUTTER_PLUGIN_REGISTRAR_H_
7
8#include <stddef.h>
9#include <stdint.h>
10
11#include "flutter_export.h"
12#include "flutter_messenger.h"
14
15#if defined(__cplusplus)
16extern "C" {
17#endif // defined(__cplusplus)
18
19// Opaque reference to a plugin registrar.
21
22// Function pointer type for registrar destruction callback.
25
26// Returns the engine messenger associated with this registrar.
30
31// Returns the texture registrar associated with this registrar.
35
36// Registers a callback to be called when the plugin registrar is destroyed.
40
41#if defined(__cplusplus)
42} // extern "C"
43#endif
44
45#endif // FLUTTER_SHELL_PLATFORM_COMMON_PUBLIC_FLUTTER_PLUGIN_REGISTRAR_H_
FlKeyEvent uint64_t FlKeyResponderAsyncCallback callback
#define FLUTTER_EXPORT
FLUTTER_EXPORT FlutterDesktopTextureRegistrarRef FlutterDesktopRegistrarGetTextureRegistrar(FlutterDesktopPluginRegistrarRef registrar)
struct FlutterDesktopPluginRegistrar * FlutterDesktopPluginRegistrarRef
void(* FlutterDesktopOnPluginRegistrarDestroyed)(FlutterDesktopPluginRegistrarRef)
FLUTTER_EXPORT void FlutterDesktopPluginRegistrarSetDestructionHandler(FlutterDesktopPluginRegistrarRef registrar, FlutterDesktopOnPluginRegistrarDestroyed callback)
FLUTTER_EXPORT FlutterDesktopMessengerRef FlutterDesktopPluginRegistrarGetMessenger(FlutterDesktopPluginRegistrarRef registrar)
struct FlutterDesktopTextureRegistrar * FlutterDesktopTextureRegistrarRef