todo safeguard

This commit is contained in:
Naoufal
2023-02-25 14:47:21 -05:00
parent 6a7de1fc3d
commit 7af41bcf45
12 changed files with 132 additions and 21 deletions

View File

@@ -8,10 +8,16 @@
#include <pdfx/pdfx_plugin.h>
#include <printing/printing_plugin.h>
#include <screen_retriever/screen_retriever_plugin.h>
#include <window_manager/window_manager_plugin.h>
void RegisterPlugins(flutter::PluginRegistry* registry) {
PdfxPluginRegisterWithRegistrar(
registry->GetRegistrarForPlugin("PdfxPlugin"));
PrintingPluginRegisterWithRegistrar(
registry->GetRegistrarForPlugin("PrintingPlugin"));
ScreenRetrieverPluginRegisterWithRegistrar(
registry->GetRegistrarForPlugin("ScreenRetrieverPlugin"));
WindowManagerPluginRegisterWithRegistrar(
registry->GetRegistrarForPlugin("WindowManagerPlugin"));
}

View File

@@ -5,6 +5,8 @@
list(APPEND FLUTTER_PLUGIN_LIST
pdfx
printing
screen_retriever
window_manager
)
list(APPEND FLUTTER_FFI_PLUGIN_LIST