File indexing completed on 2025-01-18 09:28:16
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025 #ifndef _ATSPI_APPLICATION_H_
0026 #define _ATSPI_APPLICATION_H_
0027
0028 #include <dbus/dbus.h>
0029
0030 #include "atspi-accessible.h"
0031 #include "atspi-types.h"
0032 #include <sys/time.h>
0033
0034 G_BEGIN_DECLS
0035
0036 #define ATSPI_TYPE_APPLICATION (atspi_application_get_type ())
0037 #define ATSPI_APPLICATION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), ATSPI_TYPE_APPLICATION, AtspiApplication))
0038 #define ATSPI_APPLICATION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), ATSPI_TYPE_APPLICATION, AtspiAccessibleClass))
0039 #define ATSPI_IS_APPLICATION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), ATSPI_TYPE_APPLICATION))
0040 #define ATSPI_IS_APPLICATION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), ATSPI_TYPE_APPLICATION))
0041 #define ATSPI_APPLICATION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), ATSPI_TYPE_APPLICATION, AtspiAccessibleClass))
0042
0043 typedef struct _AtspiApplication AtspiApplication;
0044 struct _AtspiApplication
0045 {
0046 GObject parent;
0047 GHashTable *hash;
0048 char *bus_name;
0049 DBusConnection *bus;
0050 struct _AtspiAccessible *root;
0051 AtspiCache cache;
0052 gchar *toolkit_name;
0053 gchar *toolkit_version;
0054 gchar *atspi_version;
0055 struct timeval time_added;
0056 };
0057
0058 typedef struct _AtspiApplicationClass AtspiApplicationClass;
0059 struct _AtspiApplicationClass
0060 {
0061 GObjectClass parent_class;
0062 };
0063
0064 AtspiApplication *
0065 _atspi_application_new (const char *bus_name);
0066
0067 GType atspi_application_get_type (void);
0068
0069 G_END_DECLS
0070
0071 #endif