Flutter iOS Embedder
FlutterTextureRegistryRelay.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
#import "
flutter/shell/platform/darwin/common/framework/Headers/FlutterMacros.h
"
6
#import "
flutter/shell/platform/darwin/common/framework/Headers/FlutterTexture.h
"
7
8
#if FLUTTER_RUNTIME_MODE == FLUTTER_RUNTIME_MODE_DEBUG
9
FLUTTER_DARWIN_EXPORT
10
#endif
11
12
/**
13
* Wrapper around a weakly held collection of registered textures.
14
*
15
* Avoids a retain cycle between plugins and the engine.
16
*/
17
@interface
FlutterTextureRegistryRelay
: NSObject <
FlutterTextureRegistry
>
18
19
/**
20
* A weak reference to a FlutterEngine that will be passed texture registration.
21
*/
22
@property
(nonatomic, assign) NSObject<FlutterTextureRegistry>*
parent
;
23
- (instancetype)initWithParent:(NSObject<FlutterTextureRegistry>*)
parent
;
24
@end
FlutterTextureRegistryRelay::parent
NSObject< FlutterTextureRegistry > * parent
Definition:
FlutterTextureRegistryRelay.h:22
FlutterTextureRegistry-p
Definition:
FlutterTexture.h:38
FlutterTexture.h
FlutterMacros.h
FlutterTextureRegistryRelay
Definition:
FlutterTextureRegistryRelay.h:17
FLUTTER_DARWIN_EXPORT
#define FLUTTER_DARWIN_EXPORT
Definition:
FlutterMacros.h:14
shell
platform
darwin
ios
framework
Source
FlutterTextureRegistryRelay.h
Generated by
1.8.17