Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
isolate_name_server_natives.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_LIB_UI_ISOLATE_NAME_SERVER_ISOLATE_NAME_SERVER_NATIVES_H_
6#define FLUTTER_LIB_UI_ISOLATE_NAME_SERVER_ISOLATE_NAME_SERVER_NATIVES_H_
7
8#include <string>
9
10#include "third_party/dart/runtime/include/dart_api.h"
11
12namespace flutter {
13
15 public:
16 static Dart_Handle LookupPortByName(const std::string& name);
17 static bool RegisterPortWithName(Dart_Handle port_handle,
18 const std::string& name);
19 static bool RemovePortNameMapping(const std::string& name);
20};
21
22} // namespace flutter
23
24#endif // FLUTTER_LIB_UI_ISOLATE_NAME_SERVER_ISOLATE_NAME_SERVER_NATIVES_H_
static Dart_Handle LookupPortByName(const std::string &name)
static bool RegisterPortWithName(Dart_Handle port_handle, const std::string &name)
static bool RemovePortNameMapping(const std::string &name)
struct _Dart_Handle * Dart_Handle
Definition dart_api.h:258
DEF_SWITCHES_START aot vmservice shared library name
Definition switches.h:32