| Flutter iOS Embedder |

FlutterUndoManagerDelegate.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 SHELL_PLATFORM_IOS_FRAMEWORK_SOURCE_FLUTTERUNDOMANAGERDELEGATE_H_
6 #define SHELL_PLATFORM_IOS_FRAMEWORK_SOURCE_FLUTTERUNDOMANAGERDELEGATE_H_
7
8 #import <Foundation/Foundation.h>
9
10 NS_ASSUME_NONNULL_BEGIN
11
12 typedef NS_ENUM(NSInteger, FlutterUndoRedoDirection) {
13 FlutterUndoRedoDirectionUndo,
14 FlutterUndoRedoDirectionRedo,
15 };
16
17 @class FlutterUndoManagerPlugin;
18
19 @protocol FlutterUndoManagerDelegate <NSObject>
20 - (void)flutterUndoManagerPlugin:(FlutterUndoManagerPlugin*)undoManagerPlugin
21 handleUndoWithDirection:(FlutterUndoRedoDirection)direction;
22 @end
23 NS_ASSUME_NONNULL_END
24
25 #endif // SHELL_PLATFORM_IOS_FRAMEWORK_SOURCE_FLUTTERUNDOMANAGERDELEGATE_H_
NS_ENUM
NS_ASSUME_NONNULL_BEGIN typedef NS_ENUM(NSInteger, FlutterUndoRedoDirection)
Definition: FlutterUndoManagerDelegate.h:12
NS_ASSUME_NONNULL_END
#define NS_ASSUME_NONNULL_END
Definition: FlutterMacros.h:20
NS_ASSUME_NONNULL_BEGIN
#define NS_ASSUME_NONNULL_BEGIN
Definition: FlutterMacros.h:19
FlutterUndoManagerDelegate-p
Definition: FlutterUndoManagerDelegate.h:19
FlutterUndoManagerPlugin
Definition: FlutterUndoManagerPlugin.h:15