example work

This commit is contained in:
John Smith 2022-12-09 18:59:31 -05:00
parent 855a5a0756
commit 8c96373cfd
20 changed files with 713 additions and 30 deletions

View file

@ -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);

View file

@ -3,10 +3,12 @@
#
list(APPEND FLUTTER_PLUGIN_LIST
flutter_acrylic
veilid
)
list(APPEND FLUTTER_FFI_PLUGIN_LIST
flutter_pty
)
set(PLUGIN_BUNDLED_LIBRARIES)