Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
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
10#include "flutter/shell/platform/linux/public/flutter_linux/fl_engine.h"
11
12G_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 */
23FlBinaryMessenger* fl_binary_messenger_new(FlEngine* engine);
24
25G_END_DECLS
26
27#endif // FLUTTER_SHELL_PLATFORM_LINUX_FL_BINARY_MESSENGER_PRIVATE_H_
FlutterEngine engine
Definition main.cc:68
G_BEGIN_DECLS FlBinaryMessenger * fl_binary_messenger_new(FlEngine *engine)