1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-09 14:28:51 +00:00

Update linux compilation generated files (#489)

This commit is contained in:
Brett Morgan
2020-07-09 08:03:21 +10:00
committed by GitHub
parent 11cbd8b637
commit 9140559040
2 changed files with 5 additions and 0 deletions

View File

@@ -6,6 +6,7 @@
#include <file_chooser/file_chooser_plugin.h> #include <file_chooser/file_chooser_plugin.h>
#include <menubar/menubar_plugin.h> #include <menubar/menubar_plugin.h>
#include <url_launcher_linux/url_launcher_plugin.h>
void fl_register_plugins(FlPluginRegistry* registry) { void fl_register_plugins(FlPluginRegistry* registry) {
g_autoptr(FlPluginRegistrar) file_chooser_registrar = g_autoptr(FlPluginRegistrar) file_chooser_registrar =
@@ -14,4 +15,7 @@ void fl_register_plugins(FlPluginRegistry* registry) {
g_autoptr(FlPluginRegistrar) menubar_registrar = g_autoptr(FlPluginRegistrar) menubar_registrar =
fl_plugin_registry_get_registrar_for_plugin(registry, "MenubarPlugin"); fl_plugin_registry_get_registrar_for_plugin(registry, "MenubarPlugin");
menubar_plugin_register_with_registrar(menubar_registrar); menubar_plugin_register_with_registrar(menubar_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);
} }

View File

@@ -5,6 +5,7 @@
list(APPEND FLUTTER_PLUGIN_LIST list(APPEND FLUTTER_PLUGIN_LIST
file_chooser file_chooser
menubar menubar
url_launcher_linux
) )
set(PLUGIN_BUNDLED_LIBRARIES) set(PLUGIN_BUNDLED_LIBRARIES)