Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
fuchsia.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_FUCHSIA_DART_PKG_FUCHSIA_SDK_EXT_FUCHSIA_H_
6#define FLUTTER_SHELL_PLATFORM_FUCHSIA_DART_PKG_FUCHSIA_SDK_EXT_FUCHSIA_H_
7
8#include <lib/zx/channel.h>
9#include <lib/zx/eventpair.h>
10
11#include <optional>
12
13namespace fuchsia {
14namespace dart {
15
16/// Initializes Dart bindings for the Fuchsia application model.
17void Initialize(zx::channel directory_request,
18 std::optional<zx::eventpair> view_ref);
19
20} // namespace dart
21} // namespace fuchsia
22
23#endif // FLUTTER_SHELL_PLATFORM_FUCHSIA_DART_PKG_FUCHSIA_SDK_EXT_FUCHSIA_H_
void Initialize(zx::channel directory_request, std::optional< zx::eventpair > view_ref)
Initializes Dart bindings for the Fuchsia application model.
Definition fuchsia.cc:103