mirror of
https://gitlab.com/veilid/veilid.git
synced 2025-12-10 21:49:31 -05:00
add veilid flutter plugin skeleton
This commit is contained in:
parent
268e280914
commit
7877be5edd
156 changed files with 5105 additions and 0 deletions
26
veilid-flutter/linux/include/veilid/veilid_plugin.h
Normal file
26
veilid-flutter/linux/include/veilid/veilid_plugin.h
Normal 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_
|
||||
Loading…
Add table
Add a link
Reference in a new issue