mirror of
https://gitlab.com/veilid/veilid.git
synced 2025-05-14 20:42:32 -04:00
example work
This commit is contained in:
parent
855a5a0756
commit
8c96373cfd
20 changed files with 713 additions and 30 deletions
|
@ -6,9 +6,13 @@
|
|||
|
||||
#include "generated_plugin_registrant.h"
|
||||
|
||||
#include <flutter_acrylic/flutter_acrylic_plugin.h>
|
||||
#include <veilid/veilid_plugin.h>
|
||||
|
||||
void fl_register_plugins(FlPluginRegistry* registry) {
|
||||
g_autoptr(FlPluginRegistrar) flutter_acrylic_registrar =
|
||||
fl_plugin_registry_get_registrar_for_plugin(registry, "FlutterAcrylicPlugin");
|
||||
flutter_acrylic_plugin_register_with_registrar(flutter_acrylic_registrar);
|
||||
g_autoptr(FlPluginRegistrar) veilid_registrar =
|
||||
fl_plugin_registry_get_registrar_for_plugin(registry, "VeilidPlugin");
|
||||
veilid_plugin_register_with_registrar(veilid_registrar);
|
||||
|
|
|
@ -3,10 +3,12 @@
|
|||
#
|
||||
|
||||
list(APPEND FLUTTER_PLUGIN_LIST
|
||||
flutter_acrylic
|
||||
veilid
|
||||
)
|
||||
|
||||
list(APPEND FLUTTER_FFI_PLUGIN_LIST
|
||||
flutter_pty
|
||||
)
|
||||
|
||||
set(PLUGIN_BUNDLED_LIBRARIES)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue