mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-29 15:09:23 +00:00
16 lines
550 B
Mathematica
16 lines
550 B
Mathematica
|
#import "CwHavenPlugin.h"
|
||
|
#if __has_include(<cw_haven/cw_haven-Swift.h>)
|
||
|
#import <cw_haven/cw_haven-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_haven-Swift.h"
|
||
|
#endif
|
||
|
|
||
|
@implementation CwHavenPlugin
|
||
|
+ (void)registerWithRegistrar:(NSObject<FlutterPluginRegistrar>*)registrar {
|
||
|
[SwiftCwHavenPlugin registerWithRegistrar:registrar];
|
||
|
}
|
||
|
@end
|