Flutter Engine
fl_plugin_registrar_private.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_LINUX_FL_PLUGIN_REGISTRAR_PRIVATE_H_
6 #define FLUTTER_SHELL_PLATFORM_LINUX_FL_PLUGIN_REGISTRAR_PRIVATE_H_
7 
8 #include "flutter/shell/platform/linux/public/flutter_linux/fl_binary_messenger.h"
9 #include "flutter/shell/platform/linux/public/flutter_linux/fl_plugin_registrar.h"
10 
11 G_BEGIN_DECLS
12 
13 /**
14  * fl_plugin_registrar_new:
15  * @view: (allow-none): the #FlView that is being plugged into or %NULL for
16  * headless mode.
17  * @messenger: the #FlBinaryMessenger to communicate with.
18  *
19  * Creates a new #FlPluginRegistrar.
20  *
21  * Returns: a new #FlPluginRegistrar.
22  */
23 FlPluginRegistrar* fl_plugin_registrar_new(FlView* view,
24  FlBinaryMessenger* messenger);
25 
26 G_END_DECLS
27 
28 #endif // FLUTTER_SHELL_PLATFORM_LINUX_FL_PLUGIN_REGISTRAR_PRIVATE_H_
G_BEGIN_DECLS FlPluginRegistrar * fl_plugin_registrar_new(FlView *view, FlBinaryMessenger *messenger)