add veilid flutter plugin skeleton
This commit is contained in:
23
veilid-flutter/windows/include/veilid/veilid_plugin.h
Normal file
23
veilid-flutter/windows/include/veilid/veilid_plugin.h
Normal file
@@ -0,0 +1,23 @@
|
||||
#ifndef FLUTTER_PLUGIN_VEILID_PLUGIN_H_
|
||||
#define FLUTTER_PLUGIN_VEILID_PLUGIN_H_
|
||||
|
||||
#include <flutter_plugin_registrar.h>
|
||||
|
||||
#ifdef FLUTTER_PLUGIN_IMPL
|
||||
#define FLUTTER_PLUGIN_EXPORT __declspec(dllexport)
|
||||
#else
|
||||
#define FLUTTER_PLUGIN_EXPORT __declspec(dllimport)
|
||||
#endif
|
||||
|
||||
#if defined(__cplusplus)
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
FLUTTER_PLUGIN_EXPORT void VeilidPluginRegisterWithRegistrar(
|
||||
FlutterDesktopPluginRegistrarRef registrar);
|
||||
|
||||
#if defined(__cplusplus)
|
||||
} // extern "C"
|
||||
#endif
|
||||
|
||||
#endif // FLUTTER_PLUGIN_VEILID_PLUGIN_H_
|
Reference in New Issue
Block a user