Flutter Engine
The 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
11G_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 * @texture_registrar: the #FlTextureRegistrar to communicate with.
19 *
20 * Creates a new #FlPluginRegistrar.
21 *
22 * Returns: a new #FlPluginRegistrar.
23 */
24FlPluginRegistrar* fl_plugin_registrar_new(
25 FlView* view,
26 FlBinaryMessenger* messenger,
27 FlTextureRegistrar* texture_registrar);
28
29G_END_DECLS
30
31#endif // FLUTTER_SHELL_PLATFORM_LINUX_FL_PLUGIN_REGISTRAR_PRIVATE_H_
G_BEGIN_DECLS FlPluginRegistrar * fl_plugin_registrar_new(FlView *view, FlBinaryMessenger *messenger, FlTextureRegistrar *texture_registrar)
G_BEGIN_DECLS FlTextureRegistrar * texture_registrar