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:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user