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,26 @@
#ifndef FLUTTER_PLUGIN_VEILID_PLUGIN_H_
#define FLUTTER_PLUGIN_VEILID_PLUGIN_H_
#include <flutter_linux/flutter_linux.h>
G_BEGIN_DECLS
#ifdef FLUTTER_PLUGIN_IMPL
#define FLUTTER_PLUGIN_EXPORT __attribute__((visibility("default")))
#else
#define FLUTTER_PLUGIN_EXPORT
#endif
typedef struct _VeilidPlugin VeilidPlugin;
typedef struct {
GObjectClass parent_class;
} VeilidPluginClass;
FLUTTER_PLUGIN_EXPORT GType veilid_plugin_get_type();
FLUTTER_PLUGIN_EXPORT void veilid_plugin_register_with_registrar(
FlPluginRegistrar* registrar);
G_END_DECLS
#endif // FLUTTER_PLUGIN_VEILID_PLUGIN_H_