forked from axiom-team/gecko
16 lines
521 B
Objective-C
16 lines
521 B
Objective-C
#import "DubpPlugin.h"
|
|
#if __has_include(<dubp/dubp-Swift.h>)
|
|
#import <dubp/dubp-Swift.h>
|
|
#else
|
|
// Support project import fallback if the generated compatibility header
|
|
// is not copied when this plugin is created as a library.
|
|
// https://forums.swift.org/t/swift-static-libraries-dont-copy-generated-objective-c-header/19816
|
|
#import "dubp-Swift.h"
|
|
#endif
|
|
|
|
@implementation DubpPlugin
|
|
+ (void)registerWithRegistrar:(NSObject<FlutterPluginRegistrar>*)registrar {
|
|
[SwiftDubpPlugin registerWithRegistrar:registrar];
|
|
}
|
|
@end
|