#include <plugin_registrar.h>
Definition at line 86 of file plugin_registrar.h.
◆ PluginRegistrarManager()
◆ GetInstance()
Definition at line 49 of file plugin_registrar.cc.
49 {
52}
PluginRegistrarManager(PluginRegistrarManager const &)=delete
◆ GetRegistrar()
Definition at line 102 of file plugin_registrar.h.
102 {
103 auto insert_result =
104 registrars_.emplace(registrar_ref, std::make_unique<T>(registrar_ref));
105 auto& registrar_pair = *(insert_result.first);
107 OnRegistrarDestroyed);
108 return static_cast<T*
>(registrar_pair.second.get());
109 }
void FlutterDesktopPluginRegistrarSetDestructionHandler(FlutterDesktopPluginRegistrarRef registrar, FlutterDesktopOnPluginRegistrarDestroyed callback)
◆ operator=()
◆ Reset()
void flutter::PluginRegistrarManager::Reset |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following files: