Flutter Linux Embedder
fl_binary_messenger_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_BINARY_MESSENGER_PRIVATE_H_
6 #define FLUTTER_SHELL_PLATFORM_LINUX_FL_BINARY_MESSENGER_PRIVATE_H_
7 
8 #include <glib-object.h>
9 
11 
12 G_BEGIN_DECLS
13 
14 /**
15  * fl_binary_messenger_new:
16  * @engine: The #FlEngine to communicate with.
17  *
18  * Creates a new #FlBinaryMessenger. The binary messenger will take control of
19  * the engines platform message handler.
20  *
21  * Returns: a new #FlBinaryMessenger.
22  */
23 FlBinaryMessenger* fl_binary_messenger_new(FlEngine* engine);
24 
25 /**
26  * fl_binary_messenger_shutdown:
27  * @messenger: an #FlBinaryMessenger.
28  *
29  * Shutdown the messenger closing any open channels.
30  */
31 void fl_binary_messenger_shutdown(FlBinaryMessenger* messenger);
32 
33 G_END_DECLS
34 
35 #endif // FLUTTER_SHELL_PLATFORM_LINUX_FL_BINARY_MESSENGER_PRIVATE_H_
fl_binary_messenger_shutdown
void fl_binary_messenger_shutdown(FlBinaryMessenger *messenger)
Definition: fl_binary_messenger.cc:486
fl_engine.h
fl_binary_messenger_new
G_BEGIN_DECLS FlBinaryMessenger * fl_binary_messenger_new(FlEngine *engine)
Definition: fl_binary_messenger.cc:399