| // Autogenerated from Pigeon (v29.0.1), do not edit directly. |
| // See also: https://pub.dev/packages/pigeon |
| |
| #ifndef PIGEON_MESSAGES_G_H_ |
| #define PIGEON_MESSAGES_G_H_ |
| |
| #include <flutter_linux/flutter_linux.h> |
| |
| G_BEGIN_DECLS |
| |
| G_DECLARE_FINAL_TYPE({{projectNameUpperCamelCase}}MessageCodec, {{projectName}}_message_codec, {{projectNameCapitalSnakeCase}}, MESSAGE_CODEC, FlStandardMessageCodec) |
| |
| G_DECLARE_FINAL_TYPE({{projectNameUpperCamelCase}}{{pluginClass}}Api, {{projectName}}_{{pluginClassSnakeCase}}_api, {{projectNameCapitalSnakeCase}}, {{pluginClassCapitalSnakeCase}}_API, GObject) |
| |
| G_DECLARE_FINAL_TYPE({{projectNameUpperCamelCase}}{{pluginClass}}ApiGetPlatformVersionResponse, {{projectName}}_{{pluginClassSnakeCase}}_api_get_platform_version_response, {{projectNameCapitalSnakeCase}}, {{pluginClassCapitalSnakeCase}}_API_GET_PLATFORM_VERSION_RESPONSE, GObject) |
| |
| /** |
| * {{projectName}}_{{pluginClassSnakeCase}}_api_get_platform_version_response_new: |
| * |
| * Creates a new response to {{pluginClass}}Api.getPlatformVersion. |
| * |
| * Returns: a new #{{projectNameUpperCamelCase}}{{pluginClass}}ApiGetPlatformVersionResponse |
| */ |
| {{projectNameUpperCamelCase}}{{pluginClass}}ApiGetPlatformVersionResponse* {{projectName}}_{{pluginClassSnakeCase}}_api_get_platform_version_response_new(const gchar* return_value); |
| |
| /** |
| * {{projectName}}_{{pluginClassSnakeCase}}_api_get_platform_version_response_new_error: |
| * @code: error code. |
| * @message: error message. |
| * @details: (allow-none): error details or %NULL. |
| * |
| * Creates a new error response to {{pluginClass}}Api.getPlatformVersion. |
| * |
| * Returns: a new #{{projectNameUpperCamelCase}}{{pluginClass}}ApiGetPlatformVersionResponse |
| */ |
| {{projectNameUpperCamelCase}}{{pluginClass}}ApiGetPlatformVersionResponse* {{projectName}}_{{pluginClassSnakeCase}}_api_get_platform_version_response_new_error(const gchar* code, const gchar* message, FlValue* details); |
| |
| /** |
| * {{projectNameUpperCamelCase}}{{pluginClass}}ApiVTable: |
| * |
| * Table of functions exposed by {{pluginClass}}Api to be implemented by the API provider. |
| */ |
| typedef struct { |
| {{projectNameUpperCamelCase}}{{pluginClass}}ApiGetPlatformVersionResponse* (*get_platform_version)(gpointer user_data); |
| } {{projectNameUpperCamelCase}}{{pluginClass}}ApiVTable; |
| |
| /** |
| * {{projectName}}_{{pluginClassSnakeCase}}_api_set_method_handlers: |
| * |
| * @messenger: an #FlBinaryMessenger. |
| * @suffix: (allow-none): a suffix to add to the API or %NULL for none. |
| * @vtable: implementations of the methods in this API. |
| * @user_data: (closure): user data to pass to the functions in @vtable. |
| * @user_data_free_func: (allow-none): a function which gets called to free @user_data, or %NULL. |
| * |
| * Connects the method handlers in the {{pluginClass}}Api API. |
| */ |
| void {{projectName}}_{{pluginClassSnakeCase}}_api_set_method_handlers(FlBinaryMessenger* messenger, const gchar* suffix, const {{projectNameUpperCamelCase}}{{pluginClass}}ApiVTable* vtable, gpointer user_data, GDestroyNotify user_data_free_func); |
| |
| /** |
| * {{projectName}}_{{pluginClassSnakeCase}}_api_clear_method_handlers: |
| * |
| * @messenger: an #FlBinaryMessenger. |
| * @suffix: (allow-none): a suffix to add to the API or %NULL for none. |
| * |
| * Clears the method handlers in the {{pluginClass}}Api API. |
| */ |
| void {{projectName}}_{{pluginClassSnakeCase}}_api_clear_method_handlers(FlBinaryMessenger* messenger, const gchar* suffix); |
| |
| G_END_DECLS |
| |
| #endif // PIGEON_MESSAGES_G_H_ |