Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
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 ()
 
TextureRegistrartexture_registrar ()
 
void AddPlugin (std::unique_ptr< Plugin > plugin)
 

Additional Inherited Members

- Protected Member Functions inherited from flutter::PluginRegistrar
FlutterDesktopPluginRegistrarRef registrar () const
 
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.

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.

29 {
30 // Must be the first call.
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.

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

◆ operator=()

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

◆ window()

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

Definition at line 40 of file plugin_registrar_glfw.h.

40{ return window_.get(); }

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