| Flutter Linux Embedder |

fl_standard_method_codec.h
Go to the documentation of this file.
1 // Copyright 2013 The Flutter Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef FLUTTER_SHELL_PLATFORM_LINUX_PUBLIC_FLUTTER_LINUX_FL_STANDARD_METHOD_CODEC_H_
6 #define FLUTTER_SHELL_PLATFORM_LINUX_PUBLIC_FLUTTER_LINUX_FL_STANDARD_METHOD_CODEC_H_
7
8 #if !defined(__FLUTTER_LINUX_INSIDE__) && !defined(FLUTTER_LINUX_COMPILATION)
9 #error "Only <flutter_linux/flutter_linux.h> can be included directly."
10 #endif
11
12 #include <gmodule.h>
13
14 #include "fl_method_codec.h"
15
16 G_BEGIN_DECLS
17
18 G_MODULE_EXPORT
19 G_DECLARE_FINAL_TYPE(FlStandardMethodCodec,
20 fl_standard_method_codec,
21 FL,
22 STANDARD_METHOD_CODEC,
23 FlMethodCodec)
24
25 /**
26 * FlStandardMethodCodec:
27 *
28 * #FlStandardMethodCodec is an #FlMethodCodec that implements method calls
29 * using the Flutter standard message encoding. It should be used with a
30 * #FlMethodChannel.
31 *
32 * #FlStandardMethodCodec matches the StandardMethodCodec class in the Flutter
33 * services library.
34 */
35
36 /**
37 * fl_standard_method_codec_new:
38 *
39 * Creates an #FlStandardMethodCodec.
40 *
41 * Returns: a new #FlStandardMethodCodec.
42 */
43 FlStandardMethodCodec* fl_standard_method_codec_new();
44
45 G_END_DECLS
46
47 #endif // FLUTTER_SHELL_PLATFORM_LINUX_PUBLIC_FLUTTER_LINUX_FL_STANDARD_METHOD_CODEC_H_
fl_standard_method_codec_new
G_MODULE_EXPORT FlStandardMethodCodec * fl_standard_method_codec_new()
Definition: fl_standard_method_codec.cc:248
fl_method_codec.h
FL
FL
Definition: fl_binary_messenger.cc:27
G_DECLARE_FINAL_TYPE
G_BEGIN_DECLS G_MODULE_EXPORT G_DECLARE_FINAL_TYPE(FlStandardMethodCodec, fl_standard_method_codec, FL, STANDARD_METHOD_CODEC, FlMethodCodec) FlStandardMethodCodec *fl_standard_method_codec_new()