| Flutter macOS Embedder |

FlutterAppDelegate_Internal.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_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERAPPDELEGATE_INTERNAL_H_
6 #define FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERAPPDELEGATE_INTERNAL_H_
7
8 #import "flutter/shell/platform/darwin/macos/framework/Headers/FlutterAppDelegate.h"
9 #import "flutter/shell/platform/darwin/macos/framework/Source/FlutterEngine_Internal.h"
10
11 @interface FlutterAppDelegate ()
12
13 /**
14 * Holds a weak reference to the termination handler owned by the engine.
15 * Called by the |FlutterApplication| when termination is requested by the OS.
16 */
17 @property(readwrite, nullable, weak) FlutterEngineTerminationHandler* terminationHandler;
18
19 @end
20
21 #endif // FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERAPPDELEGATE_INTERNAL_H_
FlutterAppDelegate.h
FlutterEngine_Internal.h
FlutterEngineTerminationHandler
Definition: FlutterEngine.mm:192
FlutterAppDelegate
Definition: FlutterAppDelegate.h:54