Flutter Engine
The Flutter Engine
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
Enumerations
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
[
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
[
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
Properties
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Related Functions
:
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
y
z
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
v
w
y
Enumerator
b
c
d
e
f
g
h
k
l
m
n
p
r
s
t
u
v
w
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
shell
platform
common
client_wrapper
include
flutter
plugin_registry.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_CLIENT_WRAPPER_INCLUDE_FLUTTER_PLUGIN_REGISTRY_H_
6
#define FLUTTER_SHELL_PLATFORM_COMMON_CLIENT_WRAPPER_INCLUDE_FLUTTER_PLUGIN_REGISTRY_H_
7
8
#include <string>
9
10
#include <
flutter_plugin_registrar.h
>
11
12
namespace
flutter
{
13
14
// Vends PluginRegistrars for named plugins.
15
//
16
// Plugins are identified by unique string keys, typically the name of the
17
// plugin's main class.
18
class
PluginRegistry
{
19
public
:
20
PluginRegistry
() =
default
;
21
virtual
~PluginRegistry
() =
default
;
22
23
// Prevent copying.
24
PluginRegistry
(
PluginRegistry
const
&) =
delete
;
25
PluginRegistry
&
operator=
(
PluginRegistry
const
&) =
delete
;
26
27
// Returns the FlutterDesktopPluginRegistrarRef to register a plugin with the
28
// given name.
29
//
30
// The name must be unique across the application.
31
virtual
FlutterDesktopPluginRegistrarRef
GetRegistrarForPlugin
(
32
const
std::string& plugin_name) = 0;
33
};
34
35
}
// namespace flutter
36
37
#endif
// FLUTTER_SHELL_PLATFORM_COMMON_CLIENT_WRAPPER_INCLUDE_FLUTTER_PLUGIN_REGISTRY_H_
flutter::PluginRegistry
Definition:
plugin_registry.h:18
flutter::PluginRegistry::operator=
PluginRegistry & operator=(PluginRegistry const &)=delete
flutter::PluginRegistry::PluginRegistry
PluginRegistry(PluginRegistry const &)=delete
flutter::PluginRegistry::GetRegistrarForPlugin
virtual FlutterDesktopPluginRegistrarRef GetRegistrarForPlugin(const std::string &plugin_name)=0
flutter::PluginRegistry::PluginRegistry
PluginRegistry()=default
flutter::PluginRegistry::~PluginRegistry
virtual ~PluginRegistry()=default
flutter_plugin_registrar.h
flutter
Definition:
asset_manager.cc:10
FlutterDesktopPluginRegistrar
Definition:
flutter_glfw.cc:149
Generated on Sun Jun 23 2024 21:55:11 for Flutter Engine by
1.9.4