Flutter Engine
The Flutter Engine
|
#include "flutter/shell/platform/linux/public/flutter_linux/fl_standard_method_codec.h"
#include <gmodule.h>
#include "flutter/shell/platform/linux/public/flutter_linux/fl_standard_message_codec.h"
Go to the source code of this file.
Classes | |
struct | _FlStandardMethodCodec |
Enumerations | |
enum | { kPropMessageCodec = 1 , kPropLast } |
Functions | |
G_DEFINE_TYPE (FlStandardMethodCodec, fl_standard_method_codec, fl_method_codec_get_type()) static void fl_standard_method_codec_set_property(GObject *object | |
switch (prop_id) | |
static void | fl_standard_method_codec_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) |
static void | fl_standard_method_codec_dispose (GObject *object) |
static GBytes * | fl_standard_method_codec_encode_method_call (FlMethodCodec *codec, const gchar *name, FlValue *args, GError **error) |
static gboolean | fl_standard_method_codec_decode_method_call (FlMethodCodec *codec, GBytes *message, gchar **name, FlValue **args, GError **error) |
static GBytes * | fl_standard_method_codec_encode_success_envelope (FlMethodCodec *codec, FlValue *result, GError **error) |
static GBytes * | fl_standard_method_codec_encode_error_envelope (FlMethodCodec *codec, const gchar *code, const gchar *message, FlValue *details, GError **error) |
static FlMethodResponse * | fl_standard_method_codec_decode_response (FlMethodCodec *codec, GBytes *message, GError **error) |
static void | fl_standard_method_codec_class_init (FlStandardMethodCodecClass *klass) |
static void | fl_standard_method_codec_init (FlStandardMethodCodec *self) |
G_MODULE_EXPORT FlStandardMethodCodec * | fl_standard_method_codec_new () |
G_MODULE_EXPORT FlStandardMethodCodec * | fl_standard_method_codec_new_with_message_codec (FlStandardMessageCodec *message_codec) |
Variables | |
static constexpr guint8 | kEnvelopeTypeSuccess = 0 |
static constexpr guint8 | kEnvelopeTypeError = 1 |
guint | prop_id |
guint const GValue * | value |
guint const GValue GParamSpec * | pspec |
anonymous enum |
|
static |
Definition at line 263 of file fl_standard_method_codec.cc.
|
static |
Definition at line 94 of file fl_standard_method_codec.cc.
|
static |
Definition at line 184 of file fl_standard_method_codec.cc.
|
static |
Definition at line 63 of file fl_standard_method_codec.cc.
|
static |
Definition at line 152 of file fl_standard_method_codec.cc.
|
static |
Definition at line 72 of file fl_standard_method_codec.cc.
|
static |
Definition at line 133 of file fl_standard_method_codec.cc.
|
static |
Definition at line 47 of file fl_standard_method_codec.cc.
|
static |
Definition at line 289 of file fl_standard_method_codec.cc.
G_MODULE_EXPORT FlStandardMethodCodec * fl_standard_method_codec_new | ( | ) |
Definition at line 291 of file fl_standard_method_codec.cc.
G_MODULE_EXPORT FlStandardMethodCodec * fl_standard_method_codec_new_with_message_codec | ( | FlStandardMessageCodec * | message_codec | ) |
fl_standard_method_codec_new: @message_codec: A #FlMessageCodec.
Creates an #FlStandardMethodCodec with a custom message codec.
Returns: a new #FlStandardMethodCodec.
Definition at line 298 of file fl_standard_method_codec.cc.
G_DEFINE_TYPE | ( | FlStandardMethodCodec | , |
fl_standard_method_codec | , | ||
fl_method_codec_get_type() | |||
) |
switch | ( | prop_id | ) |
Definition at line 36 of file fl_standard_method_codec.cc.
|
staticconstexpr |
Definition at line 16 of file fl_standard_method_codec.cc.
|
staticconstexpr |
Definition at line 15 of file fl_standard_method_codec.cc.
guint prop_id |
Definition at line 31 of file fl_standard_method_codec.cc.
guint const GValue GParamSpec* pspec |
Definition at line 33 of file fl_standard_method_codec.cc.
guint const GValue* value |
Definition at line 32 of file fl_standard_method_codec.cc.