X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=libspi%2Fselection.h;h=0f3571648a65a376c4711ca3c21bfac69c5426eb;hb=09b09daa2b88f6b54895ee49f59cd060b14a5acf;hp=37719836033fa9300efcf6c942c5c897e48184f4;hpb=e07aeb10fff4c7802393f5cbe8460d1097cbec18;p=platform%2Fcore%2Fuifw%2Fat-spi2-atk.git diff --git a/libspi/selection.h b/libspi/selection.h index 3771983..0f35716 100644 --- a/libspi/selection.h +++ b/libspi/selection.h @@ -1,4 +1,7 @@ -/* ATK - Accessibility Toolkit +/* + * AT-SPI - Assistive Technology Service Provider Interface + * (Gnome Accessibility Project; http://developer.gnome.org/projects/gap) + * * Copyright 2001 Sun Microsystems Inc. * * This library is free software; you can redistribute it and/or @@ -17,45 +20,35 @@ * Boston, MA 02111-1307, USA. */ -#ifndef SELECTION_H_ -#define SELECTION_H_ - +#ifndef SPI_SELECTION_H_ +#define SPI_SELECTION_H_ -#ifdef __cplusplus -extern "C" { -#endif /* __cplusplus */ +#include +#include -#include -#include -#include +G_BEGIN_DECLS -#define SELECTION_TYPE (selection_get_type ()) -#define SELECTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SELECTION_TYPE, Selection)) -#define SELECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), SELECTION_TYPE, SelectionClass)) -#define IS_SELECTION(obj) (G_TYPE_CHECK__INSTANCE_TYPE ((obj), SELECTION_TYPE)) -#define IS_SELECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SELECTION_TYPE)) +#define SPI_SELECTION_TYPE (spi_selection_get_type ()) +#define SPI_SELECTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SPI_SELECTION_TYPE, SpiSelection)) +#define SPI_SELECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), SPI_SELECTION_TYPE, SpiSelectionClass)) +#define SPI_IS_SELECTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SPI_SELECTION_TYPE)) +#define SPI_IS_SELECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SPI_SELECTION_TYPE)) -typedef struct _Selection Selection; -typedef struct _SelectionClass SelectionClass; +typedef struct _SpiSelection SpiSelection; +typedef struct _SpiSelectionClass SpiSelectionClass; -struct _Selection { - BonoboObject parent; - AtkSelection *atk_selection; +struct _SpiSelection { + SpiBase parent; }; -struct _SelectionClass { - BonoboObjectClass parent_class; +struct _SpiSelectionClass { + SpiBaseClass parent_class; POA_Accessibility_Selection__epv epv; }; -GType -selection_get_type (void); - -Selection * -selection_new (AtkSelection *selection); +GType spi_selection_get_type (void); +SpiSelection *spi_selection_interface_new (AtkObject *obj); -#ifdef __cplusplus -} -#endif /* __cplusplus */ +G_END_DECLS -#endif /* SELECTION_H_ */ +#endif /* SPI_SELECTION_H_ */