mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2025-08-30 03:34:21 +00:00

* fix: use window_manager to set minimum window size Resolves #762 Resolves #1559 * refactor: only init WidgetsFlutterBinding once * fix: set window minimum size Was meant to be setMinimumSize not setSize * fix: windows manager crash on macOS --------- Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
36 lines
1.8 KiB
C++
36 lines
1.8 KiB
C++
//
|
|
// Generated file. Do not edit.
|
|
//
|
|
|
|
// clang-format off
|
|
|
|
#include "generated_plugin_registrant.h"
|
|
|
|
#include <flowy_infra_ui/flowy_infra_u_i_plugin.h>
|
|
#include <hotkey_manager/hotkey_manager_plugin.h>
|
|
#include <rich_clipboard_linux/rich_clipboard_plugin.h>
|
|
#include <screen_retriever/screen_retriever_plugin.h>
|
|
#include <url_launcher_linux/url_launcher_plugin.h>
|
|
#include <window_manager/window_manager_plugin.h>
|
|
|
|
void fl_register_plugins(FlPluginRegistry* registry) {
|
|
g_autoptr(FlPluginRegistrar) flowy_infra_ui_registrar =
|
|
fl_plugin_registry_get_registrar_for_plugin(registry, "FlowyInfraUIPlugin");
|
|
flowy_infra_u_i_plugin_register_with_registrar(flowy_infra_ui_registrar);
|
|
g_autoptr(FlPluginRegistrar) hotkey_manager_registrar =
|
|
fl_plugin_registry_get_registrar_for_plugin(registry, "HotkeyManagerPlugin");
|
|
hotkey_manager_plugin_register_with_registrar(hotkey_manager_registrar);
|
|
g_autoptr(FlPluginRegistrar) rich_clipboard_linux_registrar =
|
|
fl_plugin_registry_get_registrar_for_plugin(registry, "RichClipboardPlugin");
|
|
rich_clipboard_plugin_register_with_registrar(rich_clipboard_linux_registrar);
|
|
g_autoptr(FlPluginRegistrar) screen_retriever_registrar =
|
|
fl_plugin_registry_get_registrar_for_plugin(registry, "ScreenRetrieverPlugin");
|
|
screen_retriever_plugin_register_with_registrar(screen_retriever_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) window_manager_registrar =
|
|
fl_plugin_registry_get_registrar_for_plugin(registry, "WindowManagerPlugin");
|
|
window_manager_plugin_register_with_registrar(window_manager_registrar);
|
|
}
|