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
linux
fl_platform_plugin.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_PLATFORM_PLUGIN_H_
6
#define FLUTTER_SHELL_PLATFORM_LINUX_FL_PLATFORM_PLUGIN_H_
7
8
#include "flutter/shell/platform/linux/public/flutter_linux/fl_binary_messenger.h"
9
10
G_BEGIN_DECLS
11
12
G_DECLARE_FINAL_TYPE
(FlPlatformPlugin,
13
fl_platform_plugin,
14
FL
,
15
PLATFORM_PLUGIN,
16
GObject);
17
18
/**
19
* FlPlatformPlugin:
20
*
21
* #FlPlatformPlugin is a plugin that implements the shell side
22
* of SystemChannels.platform from the Flutter services library.
23
*/
24
25
/**
26
* fl_platform_plugin_new:
27
* @messenger: an #FlBinaryMessenger
28
*
29
* Creates a new plugin that implements SystemChannels.platform from the
30
* Flutter services library.
31
*
32
* Returns: a new #FlPlatformPlugin
33
*/
34
FlPlatformPlugin*
fl_platform_plugin_new
(FlBinaryMessenger* messenger);
35
36
/**
37
* fl_platform_plugin_request_app_exit:
38
* @plugin: an #FlPlatformPlugin
39
*
40
* Request the application exits (i.e. due to the window being requested to be
41
* closed).
42
*
43
* Calling this will only send an exit request to the framework if the framework
44
* has already indicated that it is ready to receive requests by sending a
45
* "System.initializationComplete" method call on the platform channel. Calls
46
* before initialization is complete will result in an immediate exit.
47
*/
48
void
fl_platform_plugin_request_app_exit
(FlPlatformPlugin* plugin);
49
50
G_END_DECLS
51
52
#endif
// FLUTTER_SHELL_PLATFORM_LINUX_FL_PLATFORM_PLUGIN_H_
FL
FL
Definition:
fl_binary_messenger.cc:27
fl_platform_plugin_new
FlPlatformPlugin * fl_platform_plugin_new(FlBinaryMessenger *messenger)
Definition:
fl_platform_plugin.cc:402
G_DECLARE_FINAL_TYPE
G_BEGIN_DECLS G_DECLARE_FINAL_TYPE(FlPlatformPlugin, fl_platform_plugin, FL, PLATFORM_PLUGIN, GObject)
fl_platform_plugin_request_app_exit
void fl_platform_plugin_request_app_exit(FlPlatformPlugin *plugin)
Definition:
fl_platform_plugin.cc:418
Generated on Sun Jun 23 2024 21:55:17 for Flutter Engine by
1.9.4