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 FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTERUNDOMANAGERDELEGATE_H_
6 #define FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTERUNDOMANAGERDELEGATE_H_
7 
8 #import <Foundation/Foundation.h>
9 
11 
12 typedef NS_ENUM(NSInteger, FlutterUndoRedoDirection) {
13  // NOLINTBEGIN(readability-identifier-naming)
14  FlutterUndoRedoDirectionUndo,
15  FlutterUndoRedoDirectionRedo,
16  // NOLINTEND(readability-identifier-naming)
17 };
18 
20 
21 @protocol FlutterUndoManagerDelegate <NSObject>
22 - (void)flutterUndoManagerPlugin:(FlutterUndoManagerPlugin*)undoManagerPlugin
23  handleUndoWithDirection:(FlutterUndoRedoDirection)direction;
24 @end
26 
27 #endif // FLUTTER_SHELL_PLATFORM_DARWIN_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:21
FlutterUndoManagerPlugin
Definition: FlutterUndoManagerPlugin.h:15