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 
11 
12 G_BEGIN_DECLS
13 
14 G_DECLARE_DERIVABLE_TYPE(FlAccessibilityHandler,
15  fl_accessibility_handler,
16  FL,
17  ACCESSIBILITY_HANDLER,
18  GObject);
19 
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_
const char * message
FlAccessibilityHandler * fl_accessibility_handler_new(FlEngine *engine)
G_BEGIN_DECLS G_DECLARE_DERIVABLE_TYPE(FlAccessibilityHandler, fl_accessibility_handler, FL, ACCESSIBILITY_HANDLER, GObject)
void(* send_announcement)(FlAccessibilityHandler *handler, const char *message)