mirror of
https://github.com/haorendashu/nowser.git
synced 2025-12-18 10:04:20 +01:00
nowser add nesigner support
This commit is contained in:
@@ -6,14 +6,22 @@
|
||||
|
||||
#include "generated_plugin_registrant.h"
|
||||
|
||||
#include <flutter_nesigner_sdk/flutter_nesigner_sdk_plugin.h>
|
||||
#include <flutter_secure_storage_linux/flutter_secure_storage_linux_plugin.h>
|
||||
#include <nesigner_adapter/nesigner_adapter_plugin.h>
|
||||
#include <screen_retriever_linux/screen_retriever_linux_plugin.h>
|
||||
#include <window_manager/window_manager_plugin.h>
|
||||
|
||||
void fl_register_plugins(FlPluginRegistry* registry) {
|
||||
g_autoptr(FlPluginRegistrar) flutter_nesigner_sdk_registrar =
|
||||
fl_plugin_registry_get_registrar_for_plugin(registry, "FlutterNesignerSdkPlugin");
|
||||
flutter_nesigner_sdk_plugin_register_with_registrar(flutter_nesigner_sdk_registrar);
|
||||
g_autoptr(FlPluginRegistrar) flutter_secure_storage_linux_registrar =
|
||||
fl_plugin_registry_get_registrar_for_plugin(registry, "FlutterSecureStorageLinuxPlugin");
|
||||
flutter_secure_storage_linux_plugin_register_with_registrar(flutter_secure_storage_linux_registrar);
|
||||
g_autoptr(FlPluginRegistrar) nesigner_adapter_registrar =
|
||||
fl_plugin_registry_get_registrar_for_plugin(registry, "NesignerAdapterPlugin");
|
||||
nesigner_adapter_plugin_register_with_registrar(nesigner_adapter_registrar);
|
||||
g_autoptr(FlPluginRegistrar) screen_retriever_linux_registrar =
|
||||
fl_plugin_registry_get_registrar_for_plugin(registry, "ScreenRetrieverLinuxPlugin");
|
||||
screen_retriever_linux_plugin_register_with_registrar(screen_retriever_linux_registrar);
|
||||
|
||||
@@ -3,7 +3,9 @@
|
||||
#
|
||||
|
||||
list(APPEND FLUTTER_PLUGIN_LIST
|
||||
flutter_nesigner_sdk
|
||||
flutter_secure_storage_linux
|
||||
nesigner_adapter
|
||||
screen_retriever_linux
|
||||
window_manager
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user