pluginClassSnakeCase.h.tmpl 573 Bytes
Newer Older
1
#ifndef FLUTTER_PLUGIN_{{pluginClassCapitalSnakeCase}}_H_
2
#define FLUTTER_PLUGIN_{{pluginClassCapitalSnakeCase}}_H_
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22

#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 {{pluginClass}}RegisterWithRegistrar(
    FlutterDesktopPluginRegistrarRef registrar);

#if defined(__cplusplus)
}  // extern "C"
#endif

23
#endif  // FLUTTER_PLUGIN_{{pluginClassCapitalSnakeCase}}_H_