feat:增加common框架

This commit is contained in:
2025-11-23 20:28:45 +08:00
parent e38e26e685
commit f11b8d6a30
32 changed files with 280 additions and 1545 deletions

View File

@@ -6,9 +6,13 @@
#include "generated_plugin_registrant.h"
#include <rive_native/rive_native_plugin.h>
#include <url_launcher_linux/url_launcher_plugin.h>
void fl_register_plugins(FlPluginRegistry* registry) {
g_autoptr(FlPluginRegistrar) rive_native_registrar =
fl_plugin_registry_get_registrar_for_plugin(registry, "RiveNativePlugin");
rive_native_plugin_register_with_registrar(rive_native_registrar);
g_autoptr(FlPluginRegistrar) url_launcher_linux_registrar =
fl_plugin_registry_get_registrar_for_plugin(registry, "UrlLauncherPlugin");
url_launcher_plugin_register_with_registrar(url_launcher_linux_registrar);