feat(linux): Creating a background service works
This commit is contained in:
26
linux/include/moxxy_native/moxxy_native_plugin.h
Normal file
26
linux/include/moxxy_native/moxxy_native_plugin.h
Normal file
@@ -0,0 +1,26 @@
|
||||
#ifndef FLUTTER_PLUGIN_MOXXY_NATIVE_PLUGIN_H_
|
||||
#define FLUTTER_PLUGIN_MOXXY_NATIVE_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 _MoxxyNativePlugin MoxxyNativePlugin;
|
||||
typedef struct {
|
||||
GObjectClass parent_class;
|
||||
} MoxxyNativePluginClass;
|
||||
|
||||
FLUTTER_PLUGIN_EXPORT GType moxxy_native_plugin_get_type();
|
||||
|
||||
FLUTTER_PLUGIN_EXPORT void moxxy_native_plugin_register_with_registrar(
|
||||
FlPluginRegistrar* registrar);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif // FLUTTER_PLUGIN_MOXXY_NATIVE_PLUGIN_H_
|
||||
Reference in New Issue
Block a user