Flutter iOS Embedder
FlutterUndoManagerPlugin.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_FLUTTERUNDOMANAGERPLUGIN_H_
6 #define FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTERUNDOMANAGERPLUGIN_H_
7 
8 #import <UIKit/UIKit.h>
9 
10 #import "flutter/fml/memory/weak_ptr.h"
14 
15 @interface FlutterUndoManagerPlugin : NSObject
16 
17 @property(nonatomic, assign) FlutterViewController* viewController;
18 
19 - (instancetype)init NS_UNAVAILABLE;
20 + (instancetype)new NS_UNAVAILABLE;
21 
22 - (instancetype)initWithDelegate:(id<FlutterUndoManagerDelegate>)undoManagerDelegate
23  NS_DESIGNATED_INITIALIZER;
24 
25 - (void)handleMethodCall:(FlutterMethodCall*)call result:(FlutterResult)result;
26 
27 @end
28 
29 #endif // FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTERUNDOMANAGERPLUGIN_H_
FlutterViewController
Definition: FlutterViewController.h:56
FlutterChannels.h
FlutterUndoManagerPlugin::viewController
FlutterViewController * viewController
Definition: FlutterUndoManagerPlugin.h:17
FlutterMethodCall
Definition: FlutterCodecs.h:220
FlutterResult
void(^ FlutterResult)(id _Nullable result)
Definition: FlutterChannels.h:194
FlutterUndoManagerPlugin
Definition: FlutterUndoManagerPlugin.h:15
-[FlutterUndoManagerPlugin NS_UNAVAILABLE]
instancetype NS_UNAVAILABLE()
FlutterUndoManagerDelegate.h
FlutterViewController.h