X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=cspi%2Fspi-impl.h;h=a81a821fd5760819b0a183c388f13d195da1b3a3;hb=71d260bd2f5b7a59e64f1504621e37cbc8f56249;hp=28653f6ccf8018a797640ca3830d853d0e3d18b6;hpb=edf9ed64974254eade7ed3b1ddcad9f963c03694;p=platform%2Fcore%2Fuifw%2Fat-spi2-atk.git diff --git a/cspi/spi-impl.h b/cspi/spi-impl.h index 28653f6..a81a821 100644 --- a/cspi/spi-impl.h +++ b/cspi/spi-impl.h @@ -1,24 +1,64 @@ +/* + * AT-SPI - Assistive Technology Service Provider Interface + * (Gnome Accessibility Project; http://developer.gnome.org/projects/gap) + * + * Copyright 2001, 2002 Sun Microsystems Inc., + * Copyright 2001, 2002 Ximian, Inc. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 59 Temple Place - Suite 330, + * Boston, MA 02111-1307, USA. + */ + +/* + * A load of opaque handles that people can't poke at. + */ #ifndef _SPI_IMPL_H_ #define _SPI_IMPL_H_ -#include - -typedef unsigned int boolean; - -typedef CORBA_Object Accessible; -typedef CORBA_Object AccessibleAction; -typedef CORBA_Object AccessibleApplication; -typedef CORBA_Object AccessibleComponent; -typedef CORBA_Object AccessibleEditableText; -typedef CORBA_Object AccessibleHyperlink; -typedef CORBA_Object AccessibleHypertext; -typedef CORBA_Object AccessibleImage; -typedef CORBA_Object AccessibleRelation; -typedef CORBA_Object AccessibleSelection; -typedef CORBA_Object AccessibleStateSet; -typedef CORBA_Object AccessibleTable; -typedef CORBA_Object AccessibleText; -typedef CORBA_Object AccessibleValue; -typedef CORBA_Object Accessibility_Registry; +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct _Accessible AccessibleUnknown; +typedef AccessibleUnknown Accessible; + +typedef Accessible AccessibleAction; +typedef Accessible AccessibleApplication; +typedef Accessible AccessibleComponent; +typedef Accessible AccessibleEditableText; +typedef Accessible AccessibleHyperlink; +typedef Accessible AccessibleHypertext; +typedef Accessible AccessibleImage; +typedef Accessible AccessibleRelation; +typedef Accessible AccessibleSelection; +typedef Accessible AccessibleStreamableContent; +typedef Accessible AccessibleTable; +typedef Accessible AccessibleText; +typedef Accessible AccessibleValue; +typedef Accessible AccessibilityRegistry; + +typedef void AccessibleStateSet; +typedef void AccessibleEventListener; +typedef void AccessibleKeystrokeListener; +typedef void AccessibleDeviceListener; + +typedef unsigned int SPIBoolean; + + +#ifdef __cplusplus +} +#endif #endif