X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=libspi%2Faction.h;h=7396b4b5546cd87e1933aedcdd369f24db36c159;hb=af73589b8f6efcd457290b11e183769918cf3294;hp=88faf1c6acf082fa3f34133195b0a199160e8bab;hpb=408978dd34f3338e49b6ace5f60b7606579ce7a9;p=platform%2Fcore%2Fuifw%2Fat-spi2-atk.git diff --git a/libspi/action.h b/libspi/action.h index 88faf1c..7396b4b 100644 --- a/libspi/action.h +++ b/libspi/action.h @@ -20,14 +20,9 @@ #ifndef SPI_ACTION_H_ #define SPI_ACTION_H_ +#include -#ifdef __cplusplus -extern "C" { -#endif /* __cplusplus */ - -#include -#include -#include +G_BEGIN_DECLS #define SPI_ACTION_TYPE (spi_action_get_type ()) #define SPI_ACTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SPI_ACTION_TYPE, SpiAction)) @@ -35,27 +30,21 @@ extern "C" { #define SPI_IS_ACTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SPI_ACTION_TYPE)) #define SPI_IS_ACTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SPI_ACTION_TYPE)) -typedef struct _SpiAction SpiAction; -typedef struct _SpiActionClass SpiActionClass; +typedef struct _Action SpiAction; +typedef struct _ActionClass SpiActionClass; -struct _SpiAction { - BonoboObject parent; - AtkObject *atko; +struct _Action { + SpiBase parent; }; -struct _SpiActionClass { - BonoboObjectClass parent_class; - POA_Accessibility_SpiAction__epv epv; +struct _ActionClass { + SpiBaseClass parent_class; + POA_Accessibility_Action__epv epv; }; -GType -spi_action_get_type (void); - -SpiAction * -spi_action_interface_new (AtkObject *obj); +GType spi_action_get_type (void); +SpiAction *spi_action_interface_new (AtkObject *obj); -#ifdef __cplusplus -} -#endif /* __cplusplus */ +G_END_DECLS #endif /* SPI_ACTION_H_ */