Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion example/macos/PluginRegistrant.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
#import <FlutterMacOS/FlutterMacOS.h>

@interface PluginRegistrant : NSObject
+ (void)registerWithRegistry:(NSObject<FLEPluginRegistry>*)registry;
+ (void)registerWithRegistry:(NSObject<FlutterPluginRegistry>*)registry;
@end
2 changes: 1 addition & 1 deletion example/macos/PluginRegistrant.m
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

@implementation PluginRegistrant

+ (void)registerWithRegistry:(NSObject<FLEPluginRegistry>*)registry {
+ (void)registerWithRegistry:(NSObject<FlutterPluginRegistry>*)registry {
// Add your plugin regitration here.
}

Expand Down
2 changes: 1 addition & 1 deletion plugins/color_panel/macos/FLEColorPanelPlugin.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@
* A FlutterPlugin to manage macOS's shared NSColorPanel singleton.
* Responsible for managing the panel's display state and sending selected color data to Flutter.
*/
@interface FLEColorPanelPlugin : NSObject <FLEPlugin, NSWindowDelegate>
@interface FLEColorPanelPlugin : NSObject <FlutterPlugin, NSWindowDelegate>

@end
2 changes: 1 addition & 1 deletion plugins/color_panel/macos/FLEColorPanelPlugin.mm
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ @implementation FLEColorPanelPlugin {
FlutterMethodChannel *_channel;
}

+ (void)registerWithRegistrar:(id<FLEPluginRegistrar>)registrar {
+ (void)registerWithRegistrar:(id<FlutterPluginRegistrar>)registrar {
FlutterMethodChannel *channel =
[FlutterMethodChannel methodChannelWithName:@(plugins_color_panel::kChannelName)
binaryMessenger:registrar.messenger];
Expand Down
2 changes: 1 addition & 1 deletion plugins/example_plugin/macos/Classes/FDEExamplePlugin.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
/**
* An example Flutter plugin for macOS.
*/
@interface FDEExamplePlugin : NSObject <FLEPlugin>
@interface FDEExamplePlugin : NSObject <FlutterPlugin>

@end
2 changes: 1 addition & 1 deletion plugins/example_plugin/macos/Classes/FDEExamplePlugin.m
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

@implementation FDEExamplePlugin

+ (void)registerWithRegistrar:(id<FLEPluginRegistrar>)registrar {
+ (void)registerWithRegistrar:(id<FlutterPluginRegistrar>)registrar {
FlutterMethodChannel *channel = [FlutterMethodChannel methodChannelWithName:@"example_plugin"
binaryMessenger:registrar.messenger];
FDEExamplePlugin *instance = [[FDEExamplePlugin alloc] init];
Expand Down
2 changes: 1 addition & 1 deletion plugins/file_chooser/macos/FLEFileChooserPlugin.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@
* Responsible for creating and showing instances of NSSavePanel or NSOpenPanel and sending
* selected file paths to flutter clients, via system channels.
*/
@interface FLEFileChooserPlugin : NSObject <FLEPlugin>
@interface FLEFileChooserPlugin : NSObject <FlutterPlugin>

@end
4 changes: 2 additions & 2 deletions plugins/file_chooser/macos/FLEFileChooserPlugin.mm
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@ - (void)configureOpenPanel:(nonnull NSOpenPanel *)panel
}
}

#pragma FLEPlugin implementation
#pragma FlutterPlugin implementation

+ (void)registerWithRegistrar:(id<FLEPluginRegistrar>)registrar {
+ (void)registerWithRegistrar:(id<FlutterPluginRegistrar>)registrar {
FlutterMethodChannel *channel =
[FlutterMethodChannel methodChannelWithName:@(plugins_file_chooser::kChannelName)
binaryMessenger:registrar.messenger];
Expand Down
2 changes: 1 addition & 1 deletion plugins/menubar/macos/FLEMenubarPlugin.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
/**
* A Flutter plugin to control the native menu bar.
*/
@interface FLEMenubarPlugin : NSObject <FLEPlugin>
@interface FLEMenubarPlugin : NSObject <FlutterPlugin>

/**
* The menu item that Flutter-provided menus should be inserted after. If unset, Flutter-provided
Expand Down
4 changes: 2 additions & 2 deletions plugins/menubar/macos/FLEMenubarPlugin.mm
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,9 @@ - (void)flutterMenuItemSelected:(id)sender {
[_channel invokeMethod:@(plugins_menubar::kMenuItemSelectedCallbackMethod) arguments:@(item.tag)];
}

#pragma FLEPlugin implementation
#pragma FlutterPlugin implementation

+ (void)registerWithRegistrar:(id<FLEPluginRegistrar>)registrar {
+ (void)registerWithRegistrar:(id<FlutterPluginRegistrar>)registrar {
FlutterMethodChannel *channel =
[FlutterMethodChannel methodChannelWithName:@(plugins_menubar::kChannelName)
binaryMessenger:registrar.messenger];
Expand Down
2 changes: 1 addition & 1 deletion plugins/window_size/macos/FLEWindowSizePlugin.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@
* A FlutterPlugin to manage macOS's shared NSColorPanel singleton.
* Responsible for managing the panel's display state and sending selected color data to Flutter.
*/
@interface FLEWindowSizePlugin : NSObject <FLEPlugin, NSWindowDelegate>
@interface FLEWindowSizePlugin : NSObject <FlutterPlugin, NSWindowDelegate>

@end
2 changes: 1 addition & 1 deletion plugins/window_size/macos/FLEWindowSizePlugin.mm
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ @implementation FLEWindowSizePlugin {
NSView *_flutterView;
}

+ (void)registerWithRegistrar:(id<FLEPluginRegistrar>)registrar {
+ (void)registerWithRegistrar:(id<FlutterPluginRegistrar>)registrar {
FlutterMethodChannel *channel =
[FlutterMethodChannel methodChannelWithName:@(plugins_window_size::kChannelName)
binaryMessenger:registrar.messenger];
Expand Down
2 changes: 1 addition & 1 deletion testbed/macos/PluginRegistrant.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
#import <FlutterMacOS/FlutterMacOS.h>

@interface PluginRegistrant : NSObject
+ (void)registerWithRegistry:(NSObject<FLEPluginRegistry>*)registry;
+ (void)registerWithRegistry:(NSObject<FlutterPluginRegistry>*)registry;
@end
2 changes: 1 addition & 1 deletion testbed/macos/PluginRegistrant.m
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

@implementation PluginRegistrant

+ (void)registerWithRegistry:(NSObject<FLEPluginRegistry>*)registry {
+ (void)registerWithRegistry:(NSObject<FlutterPluginRegistry>*)registry {
[FDEExamplePlugin registerWithRegistrar:[registry registrarForPlugin:@"FDEExamplePlugin"]];
[FLEColorPanelPlugin registerWithRegistrar:[registry registrarForPlugin:@"FLEColorPanelPlugin"]];
[FLEFileChooserPlugin registerWithRegistrar:[registry registrarForPlugin:@"FLEFileChooserPlugin"]];
Expand Down