#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 (FlSettingsHandler, fl_settings_handler, FL, SETTINGS_HANDLER, GObject) |
FlSettingsHandler * | fl_settings_handler_new (FlEngine *engine) |
void | fl_settings_handler_start (FlSettingsHandler *handler, FlSettings *settings) |
FlSettingsHandler* fl_settings_handler_new | ( | FlEngine * | engine | ) |
FlSettingsHandler:
#FlSettingsHandler is a handler that implements the Flutter user settings channel. fl_settings_handler_new: @messenger: an #FlEngine
Creates a new handler that sends user settings to the Flutter engine.
Returns: a new #FlSettingsHandler
Definition at line 94 of file fl_settings_handler.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_handler_start | ( | FlSettingsHandler * | handler, |
FlSettings * | settings | ||
) |
fl_settings_handler_start: @handler: an #FlSettingsHandler.
Sends the current settings to the engine and updates when they change.
Definition at line 112 of file fl_settings_handler.cc.
References update_settings().
Referenced by fl_engine_start(), and TEST().
G_BEGIN_DECLS G_DECLARE_FINAL_TYPE | ( | FlSettingsHandler | , |
fl_settings_handler | , | ||
FL | , | ||
SETTINGS_HANDLER | , | ||
GObject | |||
) |