#include "flutter/shell/platform/linux/fl_settings.h"
#include "flutter/shell/platform/linux/public/flutter_linux/fl_engine.h"
Go to the source code of this file.
Functions | |
G_BEGIN_DECLS | G_DECLARE_FINAL_TYPE (FlSettingsPlugin, fl_settings_plugin, FL, SETTINGS_PLUGIN, GObject) |
FlSettingsPlugin * | fl_settings_plugin_new (FlEngine *engine) |
void | fl_settings_plugin_start (FlSettingsPlugin *plugin, FlSettings *settings) |
FlSettingsPlugin* fl_settings_plugin_new | ( | FlEngine * | engine | ) |
FlSettingsPlugin:
#FlSettingsPlugin is a plugin that implements the Flutter user settings channel. fl_settings_plugin_new: @messenger: an #FlEngine
Creates a new plugin that sends user settings to the Flutter engine.
Returns: a new #FlSettingsPlugin
Definition at line 94 of file fl_settings_plugin.cc.
References fl_basic_message_channel_new(), fl_engine_get_binary_messenger(), fl_json_message_codec_new(), and kChannelName.
Referenced by fl_engine_start(), and TEST().
void fl_settings_plugin_start | ( | FlSettingsPlugin * | plugin, |
FlSettings * | settings | ||
) |
fl_settings_plugin_start: @self: an #FlSettingsPlugin.
Sends the current settings to the engine and updates when they change.
Definition at line 112 of file fl_settings_plugin.cc.
References update_settings().
Referenced by fl_engine_start(), and TEST().
G_BEGIN_DECLS G_DECLARE_FINAL_TYPE | ( | FlSettingsPlugin | , |
fl_settings_plugin | , | ||
FL | , | ||
SETTINGS_PLUGIN | , | ||
GObject | |||
) |