mirror of
https://github.com/encounter/engine.git
synced 2026-07-10 03:18:43 -07:00
c3e9c14586
Renames all FLE* classes in the macOS embedding to Flutter*. With the exception of -[FlutterDartProject engineSwitches], which is very clearly called out in the comment, the APIs should be stable at this point, so the marker prefix is no longer needed. This is a breaking change for macOS embedders, but going forward breaking changes at the source level for the macOS API should now be rare. Some of these classes will likely merge with the iOS versions in the future (e.g., FlutterDartProject), but that will be an implementation detail that will not affect clients. Fixes flutter/flutter#31735
27 lines
918 B
Objective-C
27 lines
918 B
Objective-C
// Copyright 2013 The Flutter Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
|
|
#import "flutter/shell/platform/darwin/common/framework/Headers/FlutterBinaryMessenger.h"
|
|
#import "flutter/shell/platform/darwin/macos/framework/Headers/FlutterViewController.h"
|
|
|
|
/**
|
|
* A plugin to handle text input.
|
|
*
|
|
* Responsible for bridging the native macOS text input system with the Flutter framework text
|
|
* editing classes, via system channels.
|
|
*
|
|
* This is not an FlutterPlugin since it needs access to FlutterViewController internals, so needs
|
|
* to be managed differently.
|
|
*/
|
|
@interface FlutterTextInputPlugin : NSResponder
|
|
|
|
/**
|
|
* Initializes a text input plugin that coordinates key event handling with |viewController|.
|
|
*/
|
|
- (instancetype)initWithViewController:(FlutterViewController*)viewController;
|
|
|
|
@end
|