|
|
|
@ -15,8 +15,11 @@
|
|
|
|
|
#include <gtk/gtk_plugin.h>
|
|
|
|
|
#include <handy_window/handy_window_plugin.h>
|
|
|
|
|
#include <record_linux/record_linux_plugin.h>
|
|
|
|
|
#include <screen_retriever_linux/screen_retriever_linux_plugin.h>
|
|
|
|
|
#include <sqlcipher_flutter_libs/sqlite3_flutter_libs_plugin.h>
|
|
|
|
|
#include <url_launcher_linux/url_launcher_plugin.h>
|
|
|
|
|
#include <webcrypto/webcrypto_plugin.h>
|
|
|
|
|
#include <window_manager/window_manager_plugin.h>
|
|
|
|
|
#include <window_to_front/window_to_front_plugin.h>
|
|
|
|
|
|
|
|
|
|
void fl_register_plugins(FlPluginRegistry* registry) {
|
|
|
|
@ -47,12 +50,21 @@ void fl_register_plugins(FlPluginRegistry* registry) {
|
|
|
|
|
g_autoptr(FlPluginRegistrar) record_linux_registrar =
|
|
|
|
|
fl_plugin_registry_get_registrar_for_plugin(registry, "RecordLinuxPlugin");
|
|
|
|
|
record_linux_plugin_register_with_registrar(record_linux_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);
|
|
|
|
|
g_autoptr(FlPluginRegistrar) sqlcipher_flutter_libs_registrar =
|
|
|
|
|
fl_plugin_registry_get_registrar_for_plugin(registry, "Sqlite3FlutterLibsPlugin");
|
|
|
|
|
sqlite3_flutter_libs_plugin_register_with_registrar(sqlcipher_flutter_libs_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);
|
|
|
|
|
g_autoptr(FlPluginRegistrar) webcrypto_registrar =
|
|
|
|
|
fl_plugin_registry_get_registrar_for_plugin(registry, "WebcryptoPlugin");
|
|
|
|
|
webcrypto_plugin_register_with_registrar(webcrypto_registrar);
|
|
|
|
|
g_autoptr(FlPluginRegistrar) window_manager_registrar =
|
|
|
|
|
fl_plugin_registry_get_registrar_for_plugin(registry, "WindowManagerPlugin");
|
|
|
|
|
window_manager_plugin_register_with_registrar(window_manager_registrar);
|
|
|
|
|
g_autoptr(FlPluginRegistrar) window_to_front_registrar =
|
|
|
|
|
fl_plugin_registry_get_registrar_for_plugin(registry, "WindowToFrontPlugin");
|
|
|
|
|
window_to_front_plugin_register_with_registrar(window_to_front_registrar);
|
|
|
|
|