X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=atk%2Fatkimage.h;h=f4b430c6b714b0073bfb4cab238d1883a1686b98;hb=91469053dfedda0b56fd9eb62a234ccdf68cc6ad;hp=24e0b08022123a385ad9df096bf2f890255ff48e;hpb=0089688d42f85b3e15a8897ce8ea22f6f33ec36e;p=platform%2Fupstream%2Fatk.git diff --git a/atk/atkimage.h b/atk/atkimage.h old mode 100755 new mode 100644 index 24e0b08..f4b430c --- a/atk/atkimage.h +++ b/atk/atkimage.h @@ -20,12 +20,14 @@ #ifndef __ATK_IMAGE_H__ #define __ATK_IMAGE_H__ +#if defined(ATK_DISABLE_SINGLE_INCLUDES) && !defined (__ATK_H_INSIDE__) && !defined (ATK_COMPILATION) +#error "Only can be included directly." +#endif + #include #include -#ifdef __cplusplus -extern "C" { -#endif /* __cplusplus */ +G_BEGIN_DECLS /* * The AtkImage interface should be supported by any object that has an @@ -51,30 +53,38 @@ struct _AtkImageIface gint *x, gint *y, AtkCoordType coord_type); - G_CONST_RETURN gchar* ( *get_image_description) (AtkImage *image); + const gchar* ( *get_image_description) (AtkImage *image); void ( *get_image_size) (AtkImage *image, gint *width, gint *height); gboolean ( *set_image_description) (AtkImage *image, const gchar *description); + const gchar* ( *get_image_locale) (AtkImage *image); }; +ATK_AVAILABLE_IN_ALL GType atk_image_get_type (void); -G_CONST_RETURN gchar* atk_image_get_image_description (AtkImage *image); +ATK_AVAILABLE_IN_ALL +const gchar* atk_image_get_image_description (AtkImage *image); +ATK_AVAILABLE_IN_ALL void atk_image_get_image_size (AtkImage *image, gint *width, gint *height); +ATK_AVAILABLE_IN_ALL gboolean atk_image_set_image_description (AtkImage *image, const gchar *description); +ATK_AVAILABLE_IN_ALL void atk_image_get_image_position (AtkImage *image, gint *x, gint *y, AtkCoordType coord_type); -#ifdef __cplusplus -} -#endif /* __cplusplus */ +ATK_AVAILABLE_IN_ALL +const gchar* atk_image_get_image_locale (AtkImage *image); + +G_END_DECLS + #endif /* __ATK_IMAGE_H__ */