Flutter Linux Embedder
fl_plugin_registry.cc
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
#include "
flutter/shell/platform/linux/public/flutter_linux/fl_plugin_registry.h
"
6
7
#include <gmodule.h>
8
9
G_DEFINE_INTERFACE
(FlPluginRegistry, fl_plugin_registry, G_TYPE_OBJECT)
10
11
void
fl_plugin_registry_default_init
(FlPluginRegistryInterface* self) {}
12
13
G_MODULE_EXPORT FlPluginRegistrar*
fl_plugin_registry_get_registrar_for_plugin
(
14
FlPluginRegistry*
self
,
15
const
gchar* name) {
16
g_return_val_if_fail(FL_IS_PLUGIN_REGISTRY(
self
),
nullptr
);
17
g_return_val_if_fail(name !=
nullptr
,
nullptr
);
18
19
return
FL_PLUGIN_REGISTRY_GET_IFACE(
self
)->get_registrar_for_plugin(
self
,
20
name);
21
}
fl_plugin_registry_get_registrar_for_plugin
G_MODULE_EXPORT FlPluginRegistrar * fl_plugin_registry_get_registrar_for_plugin(FlPluginRegistry *self, const gchar *name)
Definition:
fl_plugin_registry.cc:13
fl_plugin_registry_default_init
void fl_plugin_registry_default_init(FlPluginRegistryInterface *self)
Definition:
fl_plugin_registry.cc:11
G_DEFINE_INTERFACE
G_DEFINE_INTERFACE(FlKeyboardViewDelegate, fl_keyboard_view_delegate, G_TYPE_OBJECT) static void fl_keyboard_view_delegate_default_init(FlKeyboardViewDelegateInterface *iface)
Definition:
fl_keyboard_view_delegate.cc:7
fl_plugin_registry.h
shell
platform
linux
fl_plugin_registry.cc
Generated by
1.8.17