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 #ifndef FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTERTEXTUREREGISTRYRELAY_H_
6 #define FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTERTEXTUREREGISTRYRELAY_H_
7 
10 
11 #if FLUTTER_RUNTIME_MODE == FLUTTER_RUNTIME_MODE_DEBUG
13 #endif
14 
15 /**
16  * Wrapper around a weakly held collection of registered textures.
17  *
18  * Avoids a retain cycle between plugins and the engine.
19  */
21 
22 /**
23  * A weak reference to a FlutterEngine that will be passed texture registration.
24  */
25 @property(nonatomic, assign) NSObject<FlutterTextureRegistry>* parent;
26 - (instancetype)initWithParent:(NSObject<FlutterTextureRegistry>*)parent;
27 @end
28 
29 #endif // FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTERTEXTUREREGISTRYRELAY_H_
FlutterTextureRegistryRelay::parent
NSObject< FlutterTextureRegistry > * parent
Definition: FlutterTextureRegistryRelay.h:25
FlutterTextureRegistry-p
Definition: FlutterTexture.h:38
FlutterTexture.h
FlutterMacros.h
FlutterTextureRegistryRelay
Definition: FlutterTextureRegistryRelay.h:20
FLUTTER_DARWIN_EXPORT
#define FLUTTER_DARWIN_EXPORT
Definition: FlutterMacros.h:14