Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-30 09:32:47

0001 /*
0002  * AT-SPI - Assistive Technology Service Provider Interface
0003  * (Gnome Accessibility Project; http://developer.gnome.org/projects/gap)
0004  *
0005  * Copyright 2002 Ximian, Inc.
0006  *           2002 Sun Microsystems Inc.
0007  *
0008  *
0009  * This library is free software; you can redistribute it and/or
0010  * modify it under the terms of the GNU Lesser General Public
0011  * License as published by the Free Software Foundation; either
0012  * version 2.1 of the License, or (at your option) any later version.
0013  *
0014  * This library is distributed in the hope that it will be useful,
0015  * but WITHOUT ANY WARRANTY; without even the implied warranty of
0016  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
0017  * Lesser General Public License for more details.
0018  *
0019  * You should have received a copy of the GNU Lesser General Public
0020  * License along with this library; if not, write to the
0021  * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
0022  * Boston, MA 02110-1301, USA.
0023  */
0024 
0025 #ifndef _ATSPI_OBJECT_H_
0026 #define _ATSPI_OBJECT_H_
0027 
0028 #include "glib-object.h"
0029 
0030 #include "atspi-application.h"
0031 #include "atspi-types.h"
0032 
0033 G_BEGIN_DECLS
0034 
0035 #define ATSPI_TYPE_OBJECT (atspi_object_get_type ())
0036 #define ATSPI_OBJECT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), ATSPI_TYPE_OBJECT, AtspiObject))
0037 #define ATSPI_OBJECT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), ATSPI_TYPE_OBJECT, AtspiObjectClass))
0038 #define ATSPI_IS_OBJECT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), ATSPI_TYPE_OBJECT))
0039 #define ATSPI_IS_OBJECT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), ATSPI_TYPE_OBJECT))
0040 #define ATSPI_OBJECT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), ATSPI_TYPE_OBJECT, AtspiObjectClass))
0041 
0042 typedef struct _AtspiObject AtspiObject;
0043 struct _AtspiObject
0044 {
0045   GObject parent;
0046   AtspiApplication *app;
0047   char *path;
0048 };
0049 
0050 typedef struct _AtspiObjectClass AtspiObjectClass;
0051 struct _AtspiObjectClass
0052 {
0053   GObjectClass parent_class;
0054 };
0055 
0056 GType atspi_object_get_type (void);
0057 
0058 G_END_DECLS
0059 
0060 #endif /* _ATSPI_OBJECT_H_ */