Skip to content

Commit

Permalink
wip: remove exmaple hotkey_manager lib
Browse files Browse the repository at this point in the history
  • Loading branch information
lijy91 committed Jan 27, 2024
1 parent 41ebb3f commit 3a3bf32
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,9 @@

#include "generated_plugin_registrant.h"

#include <hotkey_manager/hotkey_manager_plugin.h>
#include <screen_capturer_linux/screen_capturer_linux_plugin.h>

void fl_register_plugins(FlPluginRegistry* registry) {
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) screen_capturer_linux_registrar =
fl_plugin_registry_get_registrar_for_plugin(registry, "ScreenCapturerLinuxPlugin");
screen_capturer_linux_plugin_register_with_registrar(screen_capturer_linux_registrar);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
#

list(APPEND FLUTTER_PLUGIN_LIST
hotkey_manager
screen_capturer_linux
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,9 @@

#include "generated_plugin_registrant.h"

#include <hotkey_manager/hotkey_manager_plugin.h>
#include <screen_capturer_windows/screen_capturer_windows_plugin_c_api.h>

void RegisterPlugins(flutter::PluginRegistry* registry) {
HotkeyManagerPluginRegisterWithRegistrar(
registry->GetRegistrarForPlugin("HotkeyManagerPlugin"));
ScreenCapturerWindowsPluginCApiRegisterWithRegistrar(
registry->GetRegistrarForPlugin("ScreenCapturerWindowsPluginCApi"));
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
#

list(APPEND FLUTTER_PLUGIN_LIST
hotkey_manager
screen_capturer_windows
)

Expand Down

0 comments on commit 3a3bf32

Please sign in to comment.