Initial revision
[platform/core/uifw/at-spi2-atk.git] / libspi / application.h
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2 #ifndef APPLICATION_H_
3 #define APPLICATION_H_
4
5 #ifdef __cplusplus
6 extern "C" {
7 #endif /* __cplusplus */
8
9 #include <atk/atkobject.h>
10 #include <accessible.h>
11 #include <application.h>
12 #include <Application.h>
13
14 #define APPLICATION_TYPE        (application_get_type ())
15 #define APPLICATION(o)          (G_TYPE_CHECK_INSTANCE_CAST ((o), APPLICATION_TYPE, Application))
16 #define APPLICATION_CLASS(k)    (G_TYPE_CHECK_CLASS_CAST((k), APPLICATION_TYPE, ApplicationClass))
17 #define IS_APPLICATION(o)       (G_TYPE_CHECK__INSTANCE_TYPE ((o), APPLICATION_TYPE))
18 #define IS_APPLICATION_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), APPLICATION_TYPE))
19
20 typedef struct {
21         Accessible parent;
22         char *id;
23 } Application;
24
25 typedef struct {
26         AccessibleClass parent_class;
27         POA_Accessibility_Application__epv epv;
28 } ApplicationClass;
29
30 GType               application_get_type           (void);
31 Application         *application_new               (char *name, char *desc, char *id);
32
33 #ifdef __cplusplus
34 }
35 #endif /* __cplusplus */
36
37 #endif /* APPLICATION_H_ */