Flutter Engine
The Flutter Engine
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/shell/platform/darwin/common/framework/Headers/FlutterChannels.h"
11#import "flutter/shell/platform/darwin/ios/framework/Source/FlutterUndoManagerDelegate.h"
12
13@interface FlutterUndoManagerPlugin : NSObject
14
15- (instancetype)init NS_UNAVAILABLE;
16+ (instancetype)new NS_UNAVAILABLE;
17
18- (instancetype)initWithDelegate:(id<FlutterUndoManagerDelegate>)undoManagerDelegate
19 NS_DESIGNATED_INITIALIZER;
20
21- (void)handleMethodCall:(FlutterMethodCall*)call result:(FlutterResult)result;
22
23@end
24
25#endif // FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTERUNDOMANAGERPLUGIN_H_
void(^ FlutterResult)(id _Nullable result)
instancetype init NS_UNAVAILABLE
static bool init()