mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-11-17 01:37:40 +00:00
16 lines
627 B
Mathematica
16 lines
627 B
Mathematica
|
#import "CwSharedExternalPlugin.h"
|
||
|
#if __has_include(<cw_shared_external/cw_shared_external-Swift.h>)
|
||
|
#import <cw_shared_external/cw_shared_external-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 "cw_shared_external-Swift.h"
|
||
|
#endif
|
||
|
|
||
|
@implementation CwSharedExternalPlugin
|
||
|
+ (void)registerWithRegistrar:(NSObject<FlutterPluginRegistrar>*)registrar {
|
||
|
[SwiftCwSharedExternalPlugin registerWithRegistrar:registrar];
|
||
|
}
|
||
|
@end
|