Flutter Engine
flutter::PluginRegistrarGlfw Class Reference

#include <plugin_registrar_glfw.h>

Inheritance diagram for flutter::PluginRegistrarGlfw:
flutter::PluginRegistrar

Public Member Functions

 PluginRegistrarGlfw (FlutterDesktopPluginRegistrarRef core_registrar)
 
virtual ~PluginRegistrarGlfw ()
 
 PluginRegistrarGlfw (PluginRegistrarGlfw const &)=delete
 
PluginRegistrarGlfwoperator= (PluginRegistrarGlfw const &)=delete
 
FlutterWindowwindow ()
 
void EnableInputBlockingForChannel (const std::string &channel)
 
- Public Member Functions inherited from flutter::PluginRegistrar
 PluginRegistrar (FlutterDesktopPluginRegistrarRef core_registrar)
 
virtual ~PluginRegistrar ()
 
 PluginRegistrar (PluginRegistrar const &)=delete
 
PluginRegistraroperator= (PluginRegistrar const &)=delete
 
BinaryMessengermessenger ()
 
void AddPlugin (std::unique_ptr< Plugin > plugin)
 

Additional Inherited Members

- Protected Member Functions inherited from flutter::PluginRegistrar
FlutterDesktopPluginRegistrarRef registrar ()
 
void ClearPlugins ()
 

Detailed Description

Definition at line 19 of file plugin_registrar_glfw.h.

Constructor & Destructor Documentation

◆ PluginRegistrarGlfw() [1/2]

flutter::PluginRegistrarGlfw::PluginRegistrarGlfw ( FlutterDesktopPluginRegistrarRef  core_registrar)
inlineexplicit

Definition at line 23 of file plugin_registrar_glfw.h.

References FlutterDesktopPluginRegistrarGetWindow().

Referenced by ~PluginRegistrarGlfw().

24  : PluginRegistrar(core_registrar) {
25  window_ = std::make_unique<FlutterWindow>(
27  }
PluginRegistrar(FlutterDesktopPluginRegistrarRef core_registrar)
FlutterDesktopWindowRef FlutterDesktopPluginRegistrarGetWindow(FlutterDesktopPluginRegistrarRef registrar)

◆ ~PluginRegistrarGlfw()

virtual flutter::PluginRegistrarGlfw::~PluginRegistrarGlfw ( )
inlinevirtual

Definition at line 29 of file plugin_registrar_glfw.h.

References flutter::PluginRegistrar::ClearPlugins(), operator=(), and PluginRegistrarGlfw().

29  {
30  // Must be the first call.
31  ClearPlugins();
32  // Explicitly cleared to facilitate destruction order testing.
33  window_.reset();
34  }

◆ PluginRegistrarGlfw() [2/2]

flutter::PluginRegistrarGlfw::PluginRegistrarGlfw ( PluginRegistrarGlfw const &  )
delete

Member Function Documentation

◆ EnableInputBlockingForChannel()

void flutter::PluginRegistrarGlfw::EnableInputBlockingForChannel ( const std::string &  channel)
inline

Definition at line 46 of file plugin_registrar_glfw.h.

References FlutterDesktopPluginRegistrarEnableInputBlocking(), and flutter::PluginRegistrar::registrar().

46  {
48  channel.c_str());
49  }
void FlutterDesktopPluginRegistrarEnableInputBlocking(FlutterDesktopPluginRegistrarRef registrar, const char *channel)
FlutterDesktopPluginRegistrarRef registrar()

◆ operator=()

PluginRegistrarGlfw& flutter::PluginRegistrarGlfw::operator= ( PluginRegistrarGlfw const &  )
delete

Referenced by ~PluginRegistrarGlfw().

◆ window()

FlutterWindow* flutter::PluginRegistrarGlfw::window ( )
inline

Definition at line 40 of file plugin_registrar_glfw.h.

Referenced by flutter::TEST().

40 { return window_.get(); }

The documentation for this class was generated from the following file: