Initial revision
[platform/core/uifw/at-spi2-atk.git] / libspi / accessible.h
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2 #ifndef ACCESSIBLE_H_
3 #define ACCESSIBLE_H_
4
5
6 #ifdef __cplusplus
7 extern "C" {
8 #endif /* __cplusplus */
9
10 #include <bonobo/bonobo-xobject.h>
11 #include <atk/atkobject.h>
12 #include <Accessible.h>
13
14 #define ACCESSIBLE_TYPE        (accessible_get_type ())
15 #define ACCESSIBLE(o)          (G_TYPE_CHECK_INSTANCE_CAST ((o), ACCESSIBLE_TYPE, Accessible))
16 #define ACCESSIBLE_CLASS(k)    (G_TYPE_CHECK_CLASS_CAST((k), ACCESSIBLE_TYPE, AccessibleClass))
17 #define IS_ACCESSIBLE(o)       (G_TYPE_CHECK__INSTANCE_TYPE ((o), ACCESSIBLE_TYPE))
18 #define IS_ACCESSIBLE_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), ACCESSIBLE_TYPE))
19
20 typedef struct {
21         BonoboXObject parent;
22         AtkObject *atko;
23 } Accessible;
24
25 typedef struct {
26         BonoboXObjectClass parent_class;
27         POA_Accessibility_Accessible__epv epv;
28 } AccessibleClass;
29
30 GType                  accessible_get_type   (void);
31 Accessible             *accessible_new       (AtkObject *o);
32
33 #ifdef __cplusplus
34 }
35 #endif /* __cplusplus */
36
37 #endif /* ACCESSIBLE_H_ */