#include <plugin_registrar_windows.h>
Definition at line 28 of file plugin_registrar_windows.h.
◆ PluginRegistrarWindows() [1/2]
Definition at line 32 of file plugin_registrar_windows.h.
37 if (implicit_view) {
38 implicit_view_ = std::make_unique<FlutterView>(implicit_view);
39 }
40 }
PluginRegistrar(FlutterDesktopPluginRegistrarRef core_registrar)
struct FlutterDesktopView * FlutterDesktopViewRef
FlutterDesktopViewRef FlutterDesktopPluginRegistrarGetView(FlutterDesktopPluginRegistrarRef controller)
◆ ~PluginRegistrarWindows()
virtual flutter::PluginRegistrarWindows::~PluginRegistrarWindows |
( |
| ) |
|
|
inlinevirtual |
◆ PluginRegistrarWindows() [2/2]
◆ GetView()
FlutterView * flutter::PluginRegistrarWindows::GetView |
( |
| ) |
|
|
inline |
◆ GetViewById()
Definition at line 65 of file plugin_registrar_windows.h.
65 {
68 if (!view) {
69 return nullptr;
70 }
71
72 return std::make_shared<FlutterView>(view);
73 }
FlutterDesktopPluginRegistrarRef registrar() const
FlutterDesktopViewRef FlutterDesktopPluginRegistrarGetViewById(FlutterDesktopPluginRegistrarRef controller, FlutterDesktopViewId view_id)
◆ operator=()
◆ RegisterTopLevelWindowProcDelegate()
Definition at line 88 of file plugin_registrar_windows.h.
88 {
89 if (window_proc_delegates_.empty()) {
91 registrar(), PluginRegistrarWindows::OnTopLevelWindowProc,
this);
92 }
94 window_proc_delegates_.emplace(
delegate_id, std::move(delegate));
96 }
void FlutterDesktopPluginRegistrarRegisterTopLevelWindowProcDelegate(FlutterDesktopPluginRegistrarRef registrar, FlutterDesktopWindowProcCallback delegate, void *user_data)
◆ UnregisterTopLevelWindowProcDelegate()
void flutter::PluginRegistrarWindows::UnregisterTopLevelWindowProcDelegate |
( |
int |
proc_id | ) |
|
|
inline |
Definition at line 99 of file plugin_registrar_windows.h.
99 {
100 window_proc_delegates_.erase(proc_id);
101 if (window_proc_delegates_.empty()) {
103 registrar(), PluginRegistrarWindows::OnTopLevelWindowProc);
104 }
105 }
void FlutterDesktopPluginRegistrarUnregisterTopLevelWindowProcDelegate(FlutterDesktopPluginRegistrarRef registrar, FlutterDesktopWindowProcCallback delegate)
The documentation for this class was generated from the following file: