#include <glib-object.h>#include <gmodule.h>#include "fl_binary_messenger.h"#include "fl_texture_registrar.h"#include "fl_view.h"Go to the source code of this file.
Functions | |
| G_BEGIN_DECLS G_MODULE_EXPORT | G_DECLARE_INTERFACE (FlPluginRegistrar, fl_plugin_registrar, FL, PLUGIN_REGISTRAR, GObject) struct _FlPluginRegistrarInterface |
| FlBinaryMessenger * | fl_plugin_registrar_get_messenger (FlPluginRegistrar *registrar) |
| FlTextureRegistrar * | fl_plugin_registrar_get_texture_registrar (FlPluginRegistrar *registrar) |
| FlView * | fl_plugin_registrar_get_view (FlPluginRegistrar *registrar) |
| FlBinaryMessenger* fl_plugin_registrar_get_messenger | ( | FlPluginRegistrar * | registrar | ) |
FlPluginRegistrar:
#FlPluginRegistrar is used when registering new plugins. fl_plugin_registrar_get_messenger: @registrar: an #FlPluginRegistrar.
Gets the messenger this plugin can communicate with.
Returns: an #FlBinaryMessenger.
Definition at line 106 of file fl_plugin_registrar.cc.
Referenced by TEST().
| FlTextureRegistrar* fl_plugin_registrar_get_texture_registrar | ( | FlPluginRegistrar * | registrar | ) |
fl_plugin_registrar_get_texture_registrar: @registrar: an #FlPluginRegistrar.
Gets the texture registrar this plugin can communicate with.
Returns: an #FlTextureRegistrar.
Definition at line 113 of file fl_plugin_registrar.cc.
Referenced by TEST().
| FlView* fl_plugin_registrar_get_view | ( | FlPluginRegistrar * | registrar | ) |
fl_plugin_registrar_get_view: @registrar: an #FlPluginRegistrar.
Get the view that Flutter is rendering with.
Returns: (allow-none): an #FlView or NULL if running in headless mode.
Definition at line 120 of file fl_plugin_registrar.cc.
| G_BEGIN_DECLS G_MODULE_EXPORT G_DECLARE_INTERFACE | ( | FlPluginRegistrar | , |
| fl_plugin_registrar | , | ||
| FL | , | ||
| PLUGIN_REGISTRAR | , | ||
| GObject | |||
| ) |
Definition at line 22 of file fl_plugin_registrar.h.