| Flutter Linux Embedder |

fl_accessibility_handler.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_FL_ACCESSIBILITY_HANDLER_H_
6 #define FLUTTER_SHELL_PLATFORM_LINUX_FL_ACCESSIBILITY_HANDLER_H_
7
8 #include <gtk/gtk.h>
9
10 #include "flutter/shell/platform/linux/public/flutter_linux/fl_engine.h"
11
12 G_BEGIN_DECLS
13
14 G_DECLARE_DERIVABLE_TYPE(FlAccessibilityHandler,
15 fl_accessibility_handler,
16 FL,
17 ACCESSIBILITY_HANDLER,
18 GObject);
19
20 struct _FlAccessibilityHandlerClass {
21 GObjectClass parent_class;
22
23 void (*send_announcement)(FlAccessibilityHandler* handler,
24 const char* message);
25 };
26
27 /**
28 * FlAccessibilityHandler:
29 *
30 * #FlAccessibilityHandler is a handler that implements the shell side
31 * of SystemChannels.accessibility from the Flutter services library.
32 */
33
34 /**
35 * fl_accessibility_handler_new:
36 * @engine: an #FlEngine.
37 *
38 * Creates a new handler that implements SystemChannels.accessibility from the
39 * Flutter services library.
40 *
41 * Returns: a new #FlAccessibilityHandler
42 */
43 FlAccessibilityHandler* fl_accessibility_handler_new(FlEngine* engine);
44
45 G_END_DECLS
46
47 #endif // FLUTTER_SHELL_PLATFORM_LINUX_FL_ACCESSIBILITY_HANDLER_H_
message
const char * message
Definition: fl_accessibility_handler.cc:21
fl_accessibility_handler_new
FlAccessibilityHandler * fl_accessibility_handler_new(FlEngine *engine)
Definition: fl_accessibility_handler.cc:69
G_DECLARE_DERIVABLE_TYPE
G_BEGIN_DECLS G_DECLARE_DERIVABLE_TYPE(FlAccessibilityHandler, fl_accessibility_handler, FL, ACCESSIBILITY_HANDLER, GObject)
FL
FL
Definition: fl_binary_messenger.cc:27
fl_engine.h
_FlAccessibilityHandlerClass
Definition: fl_accessibility_handler.h:20
_FlAccessibilityHandlerClass::parent_class
GObjectClass parent_class
Definition: fl_accessibility_handler.h:21
_FlAccessibilityHandlerClass::send_announcement
void(* send_announcement)(FlAccessibilityHandler *handler, const char *message)
Definition: fl_accessibility_handler.h:23