X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=cspi%2Fspi-impl.h;h=66e8fd85ed683168c15766c7327eb2e61fe22d3b;hb=54e12e5a757d6eace45f45f08edaa778af6e0960;hp=5f6ff70e1e734f752268c7d94fae8a673bfe17b3;hpb=2b8f4365c549962de1f20418ca00dd503d6e28bc;p=platform%2Fcore%2Fuifw%2Fat-spi2-atk.git diff --git a/cspi/spi-impl.h b/cspi/spi-impl.h index 5f6ff70..66e8fd8 100644 --- a/cspi/spi-impl.h +++ b/cspi/spi-impl.h @@ -1,29 +1,76 @@ /* + * 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_ -typedef struct _Accessible Accessible; +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct _Accessible AccessibleUnknown; +typedef AccessibleUnknown Accessible; + typedef Accessible AccessibleAction; typedef Accessible AccessibleApplication; +typedef Accessible AccessibleCollection; typedef Accessible AccessibleComponent; +typedef Accessible AccessibleDocument; typedef Accessible AccessibleEditableText; typedef Accessible AccessibleHyperlink; typedef Accessible AccessibleHypertext; typedef Accessible AccessibleImage; +typedef Accessible AccessibleMatchRule; typedef Accessible AccessibleRelation; typedef Accessible AccessibleSelection; -typedef Accessible AccessibleStateSet; +typedef Accessible AccessibleStreamableContent; typedef Accessible AccessibleTable; typedef Accessible AccessibleText; typedef Accessible AccessibleValue; typedef Accessible AccessibilityRegistry; -typedef Accessible GenericInterface; -typedef struct _CSpiEventListener AccessibleEventListener; -typedef struct _CSpiKeystrokeListener AccessibleKeystrokeListener; +/** + * AccessibleStateSet: + * @ref_count: private + * @states: private + * + * An opaque structure representing an accessible object's state, + * which can then be queried via AccessibleStateSet APIs. + **/ +typedef void AccessibleStateSet; +typedef void AccessibleEventListener; +typedef void AccessibleKeystrokeListener; +typedef void AccessibleDeviceListener; typedef unsigned int SPIBoolean; +#define SPI_FALSE (0) +#define SPI_TRUE (!SPI_FALSE) + +#ifdef __cplusplus +} +#endif #endif