add veilid flutter plugin skeleton

This commit is contained in:
John Smith
2022-01-16 11:19:01 -05:00
parent 268e280914
commit 7877be5edd
156 changed files with 5105 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
#import "VeilidPlugin.h"
#if __has_include(<veilid/veilid-Swift.h>)
#import <veilid/veilid-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 "veilid-Swift.h"
#endif
@implementation VeilidPlugin
+ (void)registerWithRegistrar:(NSObject<FlutterPluginRegistrar>*)registrar {
[SwiftVeilidPlugin registerWithRegistrar:registrar];
}
@end