diff options
27 files changed, 1676 insertions, 1756 deletions
diff --git a/src/lib/edje/Edje.h b/src/lib/edje/Edje.h index 44907ea29b..f86ec4dea7 100644 --- a/src/lib/edje/Edje.h +++ b/src/lib/edje/Edje.h @@ -216,35 +216,7 @@ param in edje programs #include <Eo.h> #include <Efl_Config.h> -#ifdef EAPI -# undef EAPI -#endif - -#ifdef _WIN32 -# ifdef EFL_BUILD -# ifdef DLL_EXPORT -# define EAPI __declspec(dllexport) -# else -# define EAPI -# endif -# else -# define EAPI __declspec(dllimport) -# endif -# define EAPI_WEAK -#else -# ifdef __GNUC__ -# if __GNUC__ >= 4 -# define EAPI __attribute__ ((visibility("default"))) -# define EAPI_WEAK __attribute__ ((weak)) -# else -# define EAPI -# define EAPI_WEAK -# endif -# else -# define EAPI -# define EAPI_WEAK -# endif -#endif +#include <edje_api.h> #ifdef __cplusplus extern "C" { @@ -263,7 +235,4 @@ extern "C" { } #endif -#undef EAPI -#define EAPI - #endif diff --git a/src/lib/edje/Edje_Common.h b/src/lib/edje/Edje_Common.h index 5e486fe2de..20c467e55c 100644 --- a/src/lib/edje/Edje_Common.h +++ b/src/lib/edje/Edje_Common.h @@ -162,7 +162,7 @@ typedef struct _Edje_Version * Current Edje Version info * */ -EAPI extern Edje_Version *edje_version; +EDJE_API extern Edje_Version *edje_version; #ifndef _EDJE_OBJECT_EO_CLASS_TYPE #define _EDJE_OBJECT_EO_CLASS_TYPE @@ -246,7 +246,7 @@ struct _Edje_Size_Class * (alive) edje objects. * */ -EAPI void edje_message_signal_process (void); +EDJE_API void edje_message_signal_process (void); /** * @} @@ -282,7 +282,7 @@ typedef Efl_Signal_Cb Edje_Signal_Cb; * @see edje_object_signal_callback_add() for more on Edje signals. * @since 1.1.0 */ -EAPI void * edje_object_signal_callback_extra_data_get(void); +EDJE_API void * edje_object_signal_callback_extra_data_get(void); #ifdef EFL_BETA_API_SUPPORT @@ -302,7 +302,7 @@ EAPI void * edje_object_signal_callback_extra_data_get(void); * @see edje_object_signal_callback_add() for more on Edje signals. * @since 1.21 */ -EAPI void *edje_object_signal_callback_seat_data_get(void); +EDJE_API void *edje_object_signal_callback_seat_data_get(void); #endif @@ -353,7 +353,7 @@ typedef enum _Edje_Channel * * @since 1.9 */ -EAPI void edje_audio_channel_mute_set(Edje_Channel channel, Eina_Bool mute); +EDJE_API void edje_audio_channel_mute_set(Edje_Channel channel, Eina_Bool mute); /** * @brief Gets the mute state of the given channel. @@ -365,7 +365,7 @@ EAPI void edje_audio_channel_mute_set(Edje_Channel channel, Eina_Bool mute); * * @since 1.9 */ -EAPI Eina_Bool edje_audio_channel_mute_get(Edje_Channel channel); +EDJE_API Eina_Bool edje_audio_channel_mute_get(Edje_Channel channel); /** * @} @@ -403,7 +403,7 @@ EAPI Eina_Bool edje_audio_channel_mute_get(Edje_Channel channel); * @see eet_init() * */ -EAPI int edje_init (void); +EDJE_API int edje_init (void); /** * @brief Shuts down the Edje library. @@ -424,7 +424,7 @@ EAPI int edje_init (void); * @see eet_shutdown() * */ -EAPI int edje_shutdown (void); +EDJE_API int edje_shutdown (void); /** * @brief Sets the edje append fontset. @@ -434,7 +434,7 @@ EAPI int edje_shutdown (void); * This function sets the edje append fontset. * */ -EAPI void edje_fontset_append_set (const char *fonts); +EDJE_API void edje_fontset_append_set (const char *fonts); /** * @brief Gets data from the file level data block of an edje mapped file. @@ -453,7 +453,7 @@ EAPI void edje_fontset_append_set (const char *fonts); * * Then, edje_file_data_get("test.edj", "key1") will return "value1" */ -EAPI char *edje_mmap_data_get(const Eina_File *f, const char *key); +EDJE_API char *edje_mmap_data_get(const Eina_File *f, const char *key); /** * @brief Gets data from the file level data block of an edje file. @@ -474,7 +474,7 @@ EAPI char *edje_mmap_data_get(const Eina_File *f, const char *key); * * @see edje_mmap_data_get() */ -EAPI char *edje_file_data_get (const char *file, const char *key); +EDJE_API char *edje_file_data_get (const char *file, const char *key); /** * @brief Loads a new module in Edje. @@ -485,7 +485,7 @@ EAPI char *edje_file_data_get (const char *file, const char * So, when a module is loaded, its functionality should be available for use. * */ -EAPI Eina_Bool edje_module_load (const char *module); +EDJE_API Eina_Bool edje_module_load (const char *module); /** * @brief Retrieves all modules that can be loaded. @@ -496,7 +496,7 @@ EAPI Eina_Bool edje_module_load (const char *module * @see edje_module_load(). * */ -EAPI const Eina_List *edje_available_modules_get (void); +EDJE_API const Eina_List *edje_available_modules_get (void); /** * @brief Gets the edje append fontset. @@ -509,7 +509,7 @@ EAPI const Eina_List *edje_available_modules_get (void); * @see edje_fontset_append_set(). * */ -EAPI const char *edje_fontset_append_get (void); +EDJE_API const char *edje_fontset_append_get (void); /** * @brief Sets the file cache size. @@ -524,7 +524,7 @@ EAPI const char *edje_fontset_append_get (void); * @see edje_file_cache_flush() * */ -EAPI void edje_file_cache_set (int count); +EDJE_API void edje_file_cache_set (int count); /** * @brief Returns the file cache size. @@ -538,7 +538,7 @@ EAPI void edje_file_cache_set (int count); * @see edje_file_cache_flush() * */ -EAPI int edje_file_cache_get (void); +EDJE_API int edje_file_cache_get (void); /** * @brief Cleans the file cache. @@ -550,7 +550,7 @@ EAPI int edje_file_cache_get (void); * @see edje_file_cache_get() * */ -EAPI void edje_file_cache_flush (void); +EDJE_API void edje_file_cache_flush (void); /** * @brief Sets the collection cache size. @@ -566,7 +566,7 @@ EAPI void edje_file_cache_flush (void); * @see edje_collection_cache_flush() * */ -EAPI void edje_collection_cache_set (int count); +EDJE_API void edje_collection_cache_set (int count); /** * @brief Returns the collection cache size. @@ -580,7 +580,7 @@ EAPI void edje_collection_cache_set (int count); * @see edje_collection_cache_flush() * */ -EAPI int edje_collection_cache_get (void); +EDJE_API int edje_collection_cache_get (void); /** * @brief Cleans the collection cache. @@ -592,7 +592,7 @@ EAPI int edje_collection_cache_get (void); * @see edje_collection_cache_get() * */ -EAPI void edje_collection_cache_flush (void); +EDJE_API void edje_collection_cache_flush (void); /** * @} @@ -666,7 +666,7 @@ typedef struct _Edje_External_Param * @param type the identifier to convert. * @return the string with the string representation, or @c "(unknown)". */ -EAPI const char *edje_external_param_type_str(Edje_External_Param_Type type) EINA_PURE; +EDJE_API const char *edje_external_param_type_str(Edje_External_Param_Type type) EINA_PURE; /** * Helper macro to indicate an EXTERNAL's integer parameter is undefined. @@ -912,7 +912,7 @@ typedef struct _Edje_External_Type_Info Edje_External_Type_Info; * * @see edje_external_type_array_register() */ -EAPI Eina_Bool edje_external_type_register (const char *type_name, const Edje_External_Type *type_info); +EDJE_API Eina_Bool edje_external_type_register (const char *type_name, const Edje_External_Type *type_info); /** * @brief Unregisters a previously registered EXTERNAL type. @@ -925,7 +925,7 @@ EAPI Eina_Bool edje_external_type_register (const char *type_name * * @see edje_external_type_array_unregister() */ -EAPI Eina_Bool edje_external_type_unregister (const char *type_name); +EDJE_API Eina_Bool edje_external_type_unregister (const char *type_name); /** * @brief Registers a batch of types and their information. @@ -950,7 +950,7 @@ EAPI Eina_Bool edje_external_type_unregister (const char *type_name * * @see edje_external_type_register() */ -EAPI void edje_external_type_array_register (const Edje_External_Type_Info *array); +EDJE_API void edje_external_type_array_register (const Edje_External_Type_Info *array); /** * @brief Unregisters a batch of given external type previously registered. @@ -960,7 +960,7 @@ EAPI void edje_external_type_array_register (const Edje_External_T * * @see edje_external_type_unregister() */ -EAPI void edje_external_type_array_unregister (const Edje_External_Type_Info *array); +EDJE_API void edje_external_type_array_unregister (const Edje_External_Type_Info *array); /** * @brief Returns the current ABI version for Edje_External_Type structure. @@ -981,7 +981,7 @@ EAPI void edje_external_type_array_unregister (const Edje_External_T * @return The external ABI version the Edje library was compiled with. That * is, the value #EDJE_EXTERNAL_TYPE_ABI_VERSION had at that moment. */ -EAPI unsigned int edje_external_type_abi_version_get (void) EINA_CONST; +EDJE_API unsigned int edje_external_type_abi_version_get (void) EINA_CONST; /** * @@ -1026,7 +1026,7 @@ EAPI unsigned int edje_external_type_abi_version_get (void) EINA_CONST; * * @endcode */ -EAPI Eina_Iterator *edje_external_iterator_get (void); +EDJE_API Eina_Iterator *edje_external_iterator_get (void); /** * @brief Convenience function to find a specific parameter in a list of them. @@ -1036,7 +1036,7 @@ EAPI Eina_Iterator *edje_external_iterator_get (void); * * @return The matching #Edje_External_Param or NULL if it's not found. */ -EAPI Edje_External_Param *edje_external_param_find (const Eina_List *params, const char *key); +EDJE_API Edje_External_Param *edje_external_param_find (const Eina_List *params, const char *key); /** * @brief Gets the value of the given parameter of integer type. @@ -1054,7 +1054,7 @@ EAPI Edje_External_Param *edje_external_param_find (const Eina_ * @return @c EINA_TRUE if the parameter was found and is of integer type, * @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_external_param_int_get (const Eina_List *params, const char *key, int *ret); +EDJE_API Eina_Bool edje_external_param_int_get (const Eina_List *params, const char *key, int *ret); /** * @brief Gets the value of the given parameter of double type. @@ -1072,7 +1072,7 @@ EAPI Eina_Bool edje_external_param_int_get (const Eina_ * @return @c EINA_TRUE if the parameter was found and is of double type, * @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_external_param_double_get (const Eina_List *params, const char *key, double *ret); +EDJE_API Eina_Bool edje_external_param_double_get (const Eina_List *params, const char *key, double *ret); /** * @brief Gets the value of the given parameter of string type. @@ -1092,7 +1092,7 @@ EAPI Eina_Bool edje_external_param_double_get (const Eina_ * @return @c EINA_TRUE if the parameter was found and is of string type, * @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_external_param_string_get (const Eina_List *params, const char *key, const char **ret); +EDJE_API Eina_Bool edje_external_param_string_get (const Eina_List *params, const char *key, const char **ret); /** * @brief Gets the value of the given parameter of boolean type. @@ -1110,7 +1110,7 @@ EAPI Eina_Bool edje_external_param_string_get (const Eina_ * @return @c EINA_TRUE if the parameter was found and is of boolean type, * @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_external_param_bool_get (const Eina_List *params, const char *key, Eina_Bool *ret); +EDJE_API Eina_Bool edje_external_param_bool_get (const Eina_List *params, const char *key, Eina_Bool *ret); /** * @brief Gets the value of the given parameter of choice type. @@ -1130,7 +1130,7 @@ EAPI Eina_Bool edje_external_param_bool_get (const Eina_ * @return EINA_TRUE if the parameter was found and is of integer type, * EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_external_param_choice_get (const Eina_List *params, const char *key, const char **ret); +EDJE_API Eina_Bool edje_external_param_choice_get (const Eina_List *params, const char *key, const char **ret); /** * @brief Gets the array of parameters information about a type given its name. @@ -1146,13 +1146,13 @@ EAPI Eina_Bool edje_external_param_choice_get (const Eina_ * * @see edje_external_type_get() */ -EAPI const Edje_External_Param_Info *edje_external_param_info_get (const char *type_name); +EDJE_API const Edje_External_Param_Info *edje_external_param_info_get (const char *type_name); /** * @brief Gets the #Edje_External_Type that defines an EXTERNAL type registered with * the name @p type_name. */ -EAPI const Edje_External_Type *edje_external_type_get (const char *type_name); +EDJE_API const Edje_External_Type *edje_external_type_get (const char *type_name); /** * @} @@ -1199,7 +1199,7 @@ typedef enum _Edje_Aspect_Control * @see edje_object_part_object_get() * @since 1.10 */ -EAPI const char *edje_object_part_object_name_get(const Evas_Object *obj); +EDJE_API const char *edje_object_part_object_name_get(const Evas_Object *obj); /** * @} @@ -1239,7 +1239,7 @@ EAPI const char *edje_object_part_object_name_get(const Evas_Object *obj); * * @see edje_scale_get(). */ -EAPI void edje_scale_set (double scale); +EDJE_API void edje_scale_set (double scale); /** * @brief Retrieves Edje's global scaling factor. @@ -1251,7 +1251,7 @@ EAPI void edje_scale_set (double scale); * @see edje_scale_set() for more details * */ -EAPI double edje_scale_get (void); +EDJE_API double edje_scale_get (void); /** * @} @@ -1373,7 +1373,7 @@ typedef Evas_Object *(*Edje_Item_Provider_Cb) (void *data, Evas_Object *obj, c * * @see edje_password_show_last_timeout_set(). */ -EAPI void edje_password_show_last_set(Eina_Bool password_show_last); +EDJE_API void edje_password_show_last_set(Eina_Bool password_show_last); /** * @brief Sets the timeout value in last show password mode. @@ -1388,7 +1388,7 @@ EAPI void edje_password_show_last_set(Eina_Bool password_show_last); * @see edje_password_show_last_set(). * */ -EAPI void edje_password_show_last_timeout_set(double password_show_last_timeout); +EDJE_API void edje_password_show_last_timeout_set(double password_show_last_timeout); /** * @} @@ -1450,7 +1450,7 @@ EAPI void edje_password_show_last_timeout_set(double password_show_last_timeout) * * @return Eina_Bool, @c EINA_TRUE on success and @c EINA_FALSE on failure. */ -EAPI Eina_Bool edje_color_class_set (const char *color_class, int r, int g, int b, int a, int r2, int g2, int b2, int a2, int r3, int g3, int b3, int a3); +EDJE_API Eina_Bool edje_color_class_set (const char *color_class, int r, int g, int b, int a, int r2, int g2, int b2, int a2, int r3, int g3, int b3, int a3); /** * @brief Gets Edje color class. @@ -1486,7 +1486,7 @@ EAPI Eina_Bool edje_color_class_set (const char *color_class, int * @note Unlike Evas, Edje colors are @b not pre-multiplied. That is, * half-transparent white is 255 255 255 128. */ -EAPI Eina_Bool edje_color_class_get (const char *color_class, int *r, int *g, int *b, int *a, int *r2, int *g2, int *b2, int *a2, int *r3, int *g3, int *b3, int *a3); +EDJE_API Eina_Bool edje_color_class_get (const char *color_class, int *r, int *g, int *b, int *a, int *r2, int *g2, int *b2, int *a2, int *r3, int *g3, int *b3, int *a3); /** * @brief Deletes edje color class. @@ -1501,7 +1501,7 @@ EAPI Eina_Bool edje_color_class_get (const char *color_class, int * Deleting the color class will emit the signal "color_class,del" * to all the Edje objects in the running program. */ -EAPI void edje_color_class_del (const char *color_class); +EDJE_API void edje_color_class_del (const char *color_class); /** * @brief Lists color classes. @@ -1513,7 +1513,7 @@ EAPI void edje_color_class_del (const char *color_class); * process. * */ -EAPI Eina_List *edje_color_class_list (void); +EDJE_API Eina_List *edje_color_class_list (void); /** * @brief Iterates over all the active class of an application. @@ -1525,7 +1525,7 @@ EAPI Eina_List *edje_color_class_list (void); * * @since 1.14 */ -EAPI Eina_Iterator *edje_color_class_active_iterator_new(void); +EDJE_API Eina_Iterator *edje_color_class_active_iterator_new(void); /** * @brief Iterates over all the color class provided by an Edje file. @@ -1536,7 +1536,7 @@ EAPI Eina_Iterator *edje_color_class_active_iterator_new(void); * * @since 1.14 */ -EAPI Eina_Iterator *edje_mmap_color_class_iterator_new(Eina_File *f); +EDJE_API Eina_Iterator *edje_mmap_color_class_iterator_new(Eina_File *f); /** * @} @@ -1578,7 +1578,7 @@ EAPI Eina_Iterator *edje_mmap_color_class_iterator_new(Eina_File *f); * * @since 1.17 */ -EAPI Eina_Bool edje_size_class_set (const char *size_class, Evas_Coord minw, Evas_Coord minh, Evas_Coord maxw, Evas_Coord maxh); +EDJE_API Eina_Bool edje_size_class_set (const char *size_class, Evas_Coord minw, Evas_Coord minh, Evas_Coord maxw, Evas_Coord maxh); /** * @brief Gets the Edje size class. @@ -1596,7 +1596,7 @@ EAPI Eina_Bool edje_size_class_set (const char *size_class, Evas_ * * @since 1.17 */ -EAPI Eina_Bool edje_size_class_get (const char *size_class, Evas_Coord *minw, Evas_Coord *minh, Evas_Coord *maxw, Evas_Coord *maxh); +EDJE_API Eina_Bool edje_size_class_get (const char *size_class, Evas_Coord *minw, Evas_Coord *minh, Evas_Coord *maxw, Evas_Coord *maxh); /** * @brief Deletes the size class. @@ -1608,7 +1608,7 @@ EAPI Eina_Bool edje_size_class_get (const char *size_class, Evas_ * * @since 1.17 */ -EAPI void edje_size_class_del (const char *size_class); +EDJE_API void edje_size_class_del (const char *size_class); /** * @brief Lists size classes. @@ -1621,7 +1621,7 @@ EAPI void edje_size_class_del (const char *size_class); * * @since 1.17 */ -EAPI Eina_List *edje_size_class_list (void); +EDJE_API Eina_List *edje_size_class_list (void); /** * @brief Iterates over all active classes of an application. @@ -1633,7 +1633,7 @@ EAPI Eina_List *edje_size_class_list (void); * * @since 1.17 */ -EAPI Eina_Iterator *edje_size_class_active_iterator_new(void); +EDJE_API Eina_Iterator *edje_size_class_active_iterator_new(void); /** * @brief Iterates over all size classes provided by an Edje file. @@ -1644,7 +1644,7 @@ EAPI Eina_Iterator *edje_size_class_active_iterator_new(void); * * @since 1.17 */ -EAPI Eina_Iterator *edje_mmap_size_class_iterator_new(Eina_File *f); +EDJE_API Eina_Iterator *edje_mmap_size_class_iterator_new(Eina_File *f); /** * @} @@ -1687,7 +1687,7 @@ EAPI Eina_Iterator *edje_mmap_size_class_iterator_new(Eina_File *f); * @see edje_text_class_get(). * */ -EAPI Eina_Bool edje_text_class_set (const char *text_class, const char *font, Evas_Font_Size size); +EDJE_API Eina_Bool edje_text_class_set (const char *text_class, const char *font, Evas_Font_Size size); /** * @brief Gets the font and the font size from Edje text class. @@ -1705,7 +1705,7 @@ EAPI Eina_Bool edje_text_class_set (const char *text_class, const * * @since 1.14 */ -EAPI Eina_Bool edje_text_class_get (const char *text_class, const char **font, Evas_Font_Size *size); +EDJE_API Eina_Bool edje_text_class_get (const char *text_class, const char **font, Evas_Font_Size *size); /** * @brief Deletes the text class. @@ -1716,7 +1716,7 @@ EAPI Eina_Bool edje_text_class_get (const char *text_class, const * specified text class. * */ -EAPI void edje_text_class_del (const char *text_class); +EDJE_API void edje_text_class_del (const char *text_class); /** * @brief Lists text classes. @@ -1728,7 +1728,7 @@ EAPI void edje_text_class_del (const char *text_class); * process. * */ -EAPI Eina_List *edje_text_class_list (void); +EDJE_API Eina_List *edje_text_class_list (void); /** * @brief Iterate over all active classes of an application. @@ -1741,7 +1741,7 @@ EAPI Eina_List *edje_text_class_list (void); * @since 1.17 * */ -EAPI Eina_Iterator *edje_text_class_active_iterator_new(void); +EDJE_API Eina_Iterator *edje_text_class_active_iterator_new(void); /** * @brief Iterate over all text classes provided by an Edje file. @@ -1753,7 +1753,7 @@ EAPI Eina_Iterator *edje_text_class_active_iterator_new(void); * @since 1.17 * */ -EAPI Eina_Iterator *edje_mmap_text_class_iterator_new(Eina_File *f); +EDJE_API Eina_Iterator *edje_mmap_text_class_iterator_new(Eina_File *f); /** * @} @@ -1787,7 +1787,7 @@ EAPI Eina_Iterator *edje_mmap_text_class_iterator_new(Eina_File *f); * Note: the list must be freed using edje_mmap_collection_list_free() * when you are done with it. */ -EAPI Eina_List *edje_mmap_collection_list(Eina_File *f); +EDJE_API Eina_List *edje_mmap_collection_list(Eina_File *f); /** * @brief Frees file collection list. @@ -1795,7 +1795,7 @@ EAPI Eina_List *edje_mmap_collection_list(Eina_File *f); * * Frees the list returned by edje_mmap_collection_list(). */ -EAPI void edje_mmap_collection_list_free(Eina_List *lst); +EDJE_API void edje_mmap_collection_list_free(Eina_List *lst); /** * @brief Determines whether a group matching glob exists in an edje mapped file. @@ -1804,7 +1804,7 @@ EAPI void edje_mmap_collection_list_free(Eina_List *lst); * * @return @c 1 if a match is found, @c 0 otherwise */ -EAPI Eina_Bool edje_mmap_group_exists(Eina_File *f, const char *glob); +EDJE_API Eina_Bool edje_mmap_group_exists(Eina_File *f, const char *glob); /** * @brief Determines whether a group have 3D Scene. @@ -1816,7 +1816,7 @@ EAPI Eina_Bool edje_mmap_group_exists(Eina_File *f, const char *glob); * @deprecated * @since 1.18 */ -EINA_DEPRECATED EAPI Eina_Bool edje_mmap_3d_has(Eina_File *f, const char *group); +EINA_DEPRECATED EDJE_API Eina_Bool edje_mmap_3d_has(Eina_File *f, const char *group); /** * @brief Iterates over all the opened Edje files. @@ -1825,7 +1825,7 @@ EINA_DEPRECATED EAPI Eina_Bool edje_mmap_3d_has(Eina_File *f, const char * * @since 1.14 */ -EAPI Eina_Iterator *edje_file_iterator_new(void); +EDJE_API Eina_Iterator *edje_file_iterator_new(void); /** * @brief Gets a list of groups in an edje file. @@ -1839,7 +1839,7 @@ EAPI Eina_Iterator *edje_file_iterator_new(void); * * @see edje_mmap_group_exists() */ -EAPI Eina_List *edje_file_collection_list (const char *file); +EDJE_API Eina_List *edje_file_collection_list (const char *file); /** * @brief Frees file collection list. @@ -1847,7 +1847,7 @@ EAPI Eina_List *edje_file_collection_list (const char *file); * * Frees the list returned by edje_file_collection_list(). */ -EAPI void edje_file_collection_list_free (Eina_List *lst); +EDJE_API void edje_file_collection_list_free (Eina_List *lst); /** * @brief Determines whether a group matching glob exists in an edje file. @@ -1856,7 +1856,7 @@ EAPI void edje_file_collection_list_free (Eina_List *lst); * * @return @c 1 if a match is found, @c 0 otherwise */ -EAPI Eina_Bool edje_file_group_exists (const char *file, const char *glob); +EDJE_API Eina_Bool edje_file_group_exists (const char *file, const char *glob); /** * @} @@ -1953,7 +1953,7 @@ typedef enum _Edje_Action_Type * @see edje_frametime_get() * */ -EAPI void edje_frametime_set (double t); +EDJE_API void edje_frametime_set (double t); /** * @brief Gets edje transitions' frame time. @@ -1966,7 +1966,7 @@ EAPI void edje_frametime_set (double t); * @see edje_frametime_set() * */ -EAPI double edje_frametime_get (void); +EDJE_API double edje_frametime_get (void); /** * @brief Freezes Edje objects. @@ -1978,7 +1978,7 @@ EAPI double edje_frametime_get (void); * @see edje_thaw() * */ -EAPI void edje_freeze (void); +EDJE_API void edje_freeze (void); /** * @brief Thaws Edje objects. @@ -1990,7 +1990,7 @@ EAPI void edje_freeze (void); * @see edje_freeze() * */ -EAPI void edje_thaw (void); +EDJE_API void edje_thaw (void); /** * @brief Sets Edje language. @@ -2003,7 +2003,7 @@ EAPI void edje_thaw (void); * * @since 1.15 */ -EAPI void edje_language_set (const char *locale); +EDJE_API void edje_language_set (const char *locale); /** * @brief Sets edje transition duration factor. @@ -2026,7 +2026,7 @@ EAPI void edje_language_set (const char *locale); * * @since 1.15 */ -EAPI void edje_transition_duration_factor_set (double scale); +EDJE_API void edje_transition_duration_factor_set (double scale); /** * @brief Retrieves transitions duration factor. @@ -2040,7 +2040,7 @@ EAPI void edje_transition_duration_factor_set (double scale); * @since 1.15 * */ -EAPI double edje_transition_duration_factor_get (void); +EDJE_API double edje_transition_duration_factor_get (void); /** * @} @@ -2238,7 +2238,7 @@ typedef enum _Edje_Text_Effect * as its parameter, and this one will be freed by free_data whenever * the layout is unregistered from Edje. */ -EAPI void edje_box_layout_register (const char *name, Evas_Object_Box_Layout func, void *(*layout_data_get)(void *), void (*layout_data_free)(void *), void (*free_data)(void *), void *data); +EDJE_API void edje_box_layout_register (const char *name, Evas_Object_Box_Layout func, void *(*layout_data_get)(void *), void (*layout_data_free)(void *), void (*free_data)(void *), void *data); /** * @} diff --git a/src/lib/edje/Edje_Edit.h b/src/lib/edje/Edje_Edit.h index 4de878fe43..a938f60273 100644 --- a/src/lib/edje/Edje_Edit.h +++ b/src/lib/edje/Edje_Edit.h @@ -5,34 +5,9 @@ #error "Do not use the Edje_Edit API unless you know what you are doing. It's meant only for writing editors and nothing else." #endif +#include <edje_api.h> #include <Edje.h> -#ifdef EAPI -# undef EAPI -#endif - -#ifdef _WIN32 -# ifdef EFL_BUILD -# ifdef DLL_EXPORT -# define EAPI __declspec(dllexport) -# else -# define EAPI -# endif -# else -# define EAPI __declspec(dllimport) -# endif -#else -# ifdef __GNUC__ -# if __GNUC__ >= 4 -# define EAPI __attribute__ ((visibility("default"))) -# else -# define EAPI -# endif -# else -# define EAPI -# endif -#endif - /** * Compression type for the image. * @@ -208,19 +183,19 @@ extern "C" { * * @return An Evas_Object of type Edje_Edit, or NULL if an error occurred. */ -EAPI Evas_Object * edje_edit_object_add(Evas *e); +EDJE_API Evas_Object * edje_edit_object_add(Evas *e); /** * @brief Frees a generic Eina_List of (char *) allocated by an edje_edit_*_get() function. * @param lst List of strings to free. */ -EAPI void edje_edit_string_list_free(Eina_List *lst); +EDJE_API void edje_edit_string_list_free(Eina_List *lst); /** * @brief Frees a generic string (char *) allocated by an edje_edit_*_get() function. * @param str String to free. */ -EAPI void edje_edit_string_free(const char *str); +EDJE_API void edje_edit_string_free(const char *str); /** * @brief Gets the name of the program that compiled the edje file. @@ -230,7 +205,7 @@ EAPI void edje_edit_string_free(const char *str); * * @return Compiler stored in the Edje file */ -EAPI const char * edje_edit_compiler_get(Evas_Object *obj); +EDJE_API const char * edje_edit_compiler_get(Evas_Object *obj); /** * @brief Saves the modified edje object back to his file. @@ -246,7 +221,7 @@ EAPI const char * edje_edit_compiler_get(Evas_Object *obj); * * @todo Add a way to check what the error actually was, the way Edje Load does. */ -EAPI Eina_Bool edje_edit_save(Evas_Object *obj); +EDJE_API Eina_Bool edje_edit_save(Evas_Object *obj); /** * @brief Saves every group back into the file. @@ -256,7 +231,7 @@ EAPI Eina_Bool edje_edit_save(Evas_Object *obj); * * @see edje_edit_save() */ -EAPI Eina_Bool edje_edit_save_all(Evas_Object *obj); +EDJE_API Eina_Bool edje_edit_save_all(Evas_Object *obj); /** * @brief Saves every group into new file. @@ -271,7 +246,7 @@ EAPI Eina_Bool edje_edit_save_all(Evas_Object *obj); * * @see edje_edit_save() */ -EAPI Eina_Bool edje_edit_clean_save_as(Evas_Object *obj, const char* new_file_name); +EDJE_API Eina_Bool edje_edit_clean_save_as(Evas_Object *obj, const char* new_file_name); /** * @brief Saves the group(s) back to the file, without generation source code. @@ -292,7 +267,7 @@ EAPI Eina_Bool edje_edit_clean_save_as(Evas_Object *obj, const char* new_file_na * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. * @since 1.11 */ -EAPI Eina_Bool edje_edit_without_source_save(Evas_Object *obj, Eina_Bool current_group); +EDJE_API Eina_Bool edje_edit_without_source_save(Evas_Object *obj, Eina_Bool current_group); /** * @brief Prints on standard output many information about the internal status @@ -302,7 +277,7 @@ EAPI Eina_Bool edje_edit_without_source_save(Evas_Object *obj, Eina_Bool current * * @param obj Object being edited. */ -EAPI void edje_edit_print_internal_status(Evas_Object *obj); +EDJE_API void edje_edit_print_internal_status(Evas_Object *obj); //@} @@ -331,7 +306,7 @@ EAPI void edje_edit_print_internal_status(Evas_Object *obj); * edje_edit_save(). * */ -EAPI Eina_Bool edje_edit_group_add(Evas_Object *obj, const char *name); +EDJE_API Eina_Bool edje_edit_group_add(Evas_Object *obj, const char *name); /** * @brief Copies whole group and all it's data into separate group. @@ -355,7 +330,7 @@ EAPI Eina_Bool edje_edit_group_add(Evas_Object *obj, const char *name); * (for example all scripts will be written to the file directly) * */ -EAPI Eina_Bool edje_edit_group_copy(Evas_Object *obj, const char *group_name, const char *copy_name); +EDJE_API Eina_Bool edje_edit_group_copy(Evas_Object *obj, const char *group_name, const char *copy_name); /** * @brief Deletes the specified group from the edje file. @@ -377,7 +352,7 @@ EAPI Eina_Bool edje_edit_group_copy(Evas_Object *obj, const char *group_name, co * if you deleting alias, then it will delete alias only. * */ -EAPI Eina_Bool edje_edit_group_del(Evas_Object *obj, const char *group_name); +EDJE_API Eina_Bool edje_edit_group_del(Evas_Object *obj, const char *group_name); /** * @brief Checks if a group with the given name exist in the edje. @@ -386,7 +361,7 @@ EAPI Eina_Bool edje_edit_group_del(Evas_Object *obj, const char *group_name); * * @return @c EINA_TRUE if group exists, @c EINA_FALSE if not. */ -EAPI Eina_Bool edje_edit_group_exist(Evas_Object *obj, const char *group); +EDJE_API Eina_Bool edje_edit_group_exist(Evas_Object *obj, const char *group); /** * @brief Sets a new name for the current open group. @@ -398,7 +373,7 @@ EAPI Eina_Bool edje_edit_group_exist(Evas_Object *obj, const char *group); * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_group_name_set(Evas_Object *obj, const char *new_name); +EDJE_API Eina_Bool edje_edit_group_name_set(Evas_Object *obj, const char *new_name); /** * @brief Gets the group minimum width. @@ -407,7 +382,7 @@ EAPI Eina_Bool edje_edit_group_name_set(Evas_Object *obj, const char *new_name); * * @return The minimum width set for the group. -1 if an error occurred. */ -EAPI int edje_edit_group_min_w_get(Evas_Object *obj); +EDJE_API int edje_edit_group_min_w_get(Evas_Object *obj); /** * @brief Sets the group minimum width. @@ -417,7 +392,7 @@ EAPI int edje_edit_group_min_w_get(Evas_Object *obj); * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_group_min_w_set(Evas_Object *obj, int w); +EDJE_API Eina_Bool edje_edit_group_min_w_set(Evas_Object *obj, int w); /** * @brief Gets the group minimum height. @@ -426,7 +401,7 @@ EAPI Eina_Bool edje_edit_group_min_w_set(Evas_Object *obj, int w); * * @return The minimum height set for the group. @c -1 if an error occurred. */ -EAPI int edje_edit_group_min_h_get(Evas_Object *obj); +EDJE_API int edje_edit_group_min_h_get(Evas_Object *obj); /** * @brief Sets the group minimum height. @@ -436,7 +411,7 @@ EAPI int edje_edit_group_min_h_get(Evas_Object *obj); * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_group_min_h_set(Evas_Object *obj, int h); +EDJE_API Eina_Bool edje_edit_group_min_h_set(Evas_Object *obj, int h); /** * @brief Gets the group maximum width. @@ -445,7 +420,7 @@ EAPI Eina_Bool edje_edit_group_min_h_set(Evas_Object *obj, int h); * * @return The maximum width set for the group. @c -1 if an error occurred. */ -EAPI int edje_edit_group_max_w_get(Evas_Object *obj); +EDJE_API int edje_edit_group_max_w_get(Evas_Object *obj); /** * @brief Sets the group maximum width. @@ -455,7 +430,7 @@ EAPI int edje_edit_group_max_w_get(Evas_Object *obj); * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_group_max_w_set(Evas_Object *obj, int w); +EDJE_API Eina_Bool edje_edit_group_max_w_set(Evas_Object *obj, int w); /** * @brief Gets the group maximum height. @@ -464,7 +439,7 @@ EAPI Eina_Bool edje_edit_group_max_w_set(Evas_Object *obj, int w); * * @return The maximum height set for the group. @c -1 if an error occurred. */ -EAPI int edje_edit_group_max_h_get(Evas_Object *obj); +EDJE_API int edje_edit_group_max_h_get(Evas_Object *obj); /** * @brief Sets the group maximum height. @@ -474,7 +449,7 @@ EAPI int edje_edit_group_max_h_get(Evas_Object *obj); * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_group_max_h_set(Evas_Object *obj, int h); +EDJE_API Eina_Bool edje_edit_group_max_h_set(Evas_Object *obj, int h); /** * @brief Gets the group broadcast_signal. @@ -484,7 +459,7 @@ EAPI Eina_Bool edje_edit_group_max_h_set(Evas_Object *obj, int h); * @return @c EINA_FALSE if group not accept broadcast signal, @c EINA_TRUE otherwise (Default to true since 1.1.). * @since 1.11 */ -EAPI Eina_Bool edje_edit_group_broadcast_signal_get(Evas_Object *obj); +EDJE_API Eina_Bool edje_edit_group_broadcast_signal_get(Evas_Object *obj); /** * @brief Sets the group broadcast signal. @@ -495,7 +470,7 @@ EAPI Eina_Bool edje_edit_group_broadcast_signal_get(Evas_Object *obj); * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. * @since 1.11 */ -EAPI Eina_Bool edje_edit_group_broadcast_signal_set(Evas_Object *obj, Eina_Bool bs); +EDJE_API Eina_Bool edje_edit_group_broadcast_signal_set(Evas_Object *obj, Eina_Bool bs); //@} @@ -507,7 +482,7 @@ EAPI Eina_Bool edje_edit_group_broadcast_signal_set(Evas_Object *obj, Eina_Bool * * @return List of strings, each being a name of vertical limit in the limits block for the group. */ -EAPI Eina_List * edje_edit_group_limits_vertical_list_get(Evas_Object *obj); +EDJE_API Eina_List * edje_edit_group_limits_vertical_list_get(Evas_Object *obj); /** * @brief Deletes given pair name-value from the vertical limits block at the group level. @@ -518,7 +493,7 @@ EAPI Eina_List * edje_edit_group_limits_vertical_list_get(Evas_Object *obj); * * @return @c EINA_TRUE if successful, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_group_limits_vertical_del(Evas_Object *obj, const char *name, int value); +EDJE_API Eina_Bool edje_edit_group_limits_vertical_del(Evas_Object *obj, const char *name, int value); /** * @brief Adds given pair name-value to the vertical limits block at the group level. @@ -529,7 +504,7 @@ EAPI Eina_Bool edje_edit_group_limits_vertical_del(Evas_Object *obj, const char * * @return @c EINA_TRUE if successful, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_group_limits_vertical_add(Evas_Object *obj, const char *name, int value); +EDJE_API Eina_Bool edje_edit_group_limits_vertical_add(Evas_Object *obj, const char *name, int value); /** * @brief Retrieves a list with the item names inside the horizontal limits block at the group level. @@ -538,7 +513,7 @@ EAPI Eina_Bool edje_edit_group_limits_vertical_add(Evas_Object *obj, const char * * @return List of strings, each being a name of horizontal limit in the limits block for the group. */ -EAPI Eina_List * edje_edit_group_limits_horizontal_list_get(Evas_Object *obj); +EDJE_API Eina_List * edje_edit_group_limits_horizontal_list_get(Evas_Object *obj); /** * @brief Deletes given pair name-value from the horizontal limits block at the group level. @@ -549,7 +524,7 @@ EAPI Eina_List * edje_edit_group_limits_horizontal_list_get(Evas_Object *obj); * * @return @c EINA_TRUE if successful, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_group_limits_horizontal_del(Evas_Object *obj, const char *name, int value); +EDJE_API Eina_Bool edje_edit_group_limits_horizontal_del(Evas_Object *obj, const char *name, int value); /** * @brief Adds given pair name-value to the horizontal limits block at the group level. @@ -560,14 +535,14 @@ EAPI Eina_Bool edje_edit_group_limits_horizontal_del(Evas_Object *obj, const cha * * @return @c EINA_TRUE if successful, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_group_limits_horizontal_add(Evas_Object *obj, const char *name, int value); +EDJE_API Eina_Bool edje_edit_group_limits_horizontal_add(Evas_Object *obj, const char *name, int value); /** @brief Frees an Eina_List of (Edje_Edit_List *) allocated by an edje_edit_limits_vertical_list_get() or edje_edit_limits_horizontal_list_get() functions. * * @param lst List to free. */ -EAPI void edje_edit_limits_list_free(Eina_List *lst); +EDJE_API void edje_edit_limits_list_free(Eina_List *lst); /******************************************************************************/ /************************** ALIAS API **************************************/ @@ -588,7 +563,7 @@ EAPI void edje_edit_limits_list_free(Eina_List *lst); * * @return List of strings, each being a name of alias of given group or alias name. */ -EAPI Eina_List * edje_edit_group_aliases_get(Evas_Object *obj, const char *group_name); +EDJE_API Eina_List * edje_edit_group_aliases_get(Evas_Object *obj, const char *group_name); /** * @brief Checks if this group is an alias name. @@ -598,7 +573,7 @@ EAPI Eina_List * edje_edit_group_aliases_get(Evas_Object *obj, const char *group * * @return @c EINA_TRUE if alias, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_group_alias_is(Evas_Object *obj, const char *alias_name); +EDJE_API Eina_Bool edje_edit_group_alias_is(Evas_Object *obj, const char *alias_name); /** * @brief Returns the main group name that is aliased by given alias name. @@ -610,7 +585,7 @@ EAPI Eina_Bool edje_edit_group_alias_is(Evas_Object *obj, const char *alias_name * * @return name of the main group that is being aliased. */ -EAPI const char * edje_edit_group_aliased_get(Evas_Object *obj, const char *alias_name); +EDJE_API const char * edje_edit_group_aliased_get(Evas_Object *obj, const char *alias_name); /** * @brief Adds new alias to the given group. @@ -623,7 +598,7 @@ EAPI const char * edje_edit_group_aliased_get(Evas_Object *obj, const char *alia * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_group_alias_add(Evas_Object *obj, const char *group_name, const char *alias_name); +EDJE_API Eina_Bool edje_edit_group_alias_add(Evas_Object *obj, const char *group_name, const char *alias_name); //@} /******************************************************************************/ @@ -641,7 +616,7 @@ EAPI Eina_Bool edje_edit_group_alias_add(Evas_Object *obj, const char *group_nam * * @return List of strings, each being a name entry in the global data block for the file. */ -EAPI Eina_List * edje_edit_data_list_get(Evas_Object *obj); +EDJE_API Eina_List * edje_edit_data_list_get(Evas_Object *obj); /** * @brief Creates a new *global* data object in the given edje file. @@ -655,7 +630,7 @@ EAPI Eina_List * edje_edit_data_list_get(Evas_Object *obj); * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_data_add(Evas_Object *obj, const char *itemname, const char *value); +EDJE_API Eina_Bool edje_edit_data_add(Evas_Object *obj, const char *itemname, const char *value); /** * @brief Deletes the given data object from edje. @@ -665,7 +640,7 @@ EAPI Eina_Bool edje_edit_data_add(Evas_Object *obj, const char *itemname, const * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_data_del(Evas_Object *obj, const char *itemname); +EDJE_API Eina_Bool edje_edit_data_del(Evas_Object *obj, const char *itemname); /** * @brief Gets the data associated with the given itemname. @@ -675,7 +650,7 @@ EAPI Eina_Bool edje_edit_data_del(Evas_Object *obj, const char *itemname); * * @return Value of the given entry, or NULL if not found. */ -EAPI const char * edje_edit_data_value_get(Evas_Object *obj, const char *itemname); +EDJE_API const char * edje_edit_data_value_get(Evas_Object *obj, const char *itemname); /** * @brief Sets the data associated with the given itemname. @@ -686,7 +661,7 @@ EAPI const char * edje_edit_data_value_get(Evas_Object *obj, const char *itemnam * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_data_value_set(Evas_Object *obj, const char *itemname, const char *value); +EDJE_API Eina_Bool edje_edit_data_value_set(Evas_Object *obj, const char *itemname, const char *value); /** * @brief Changes the name of the given data object. @@ -697,7 +672,7 @@ EAPI Eina_Bool edje_edit_data_value_set(Evas_Object *obj, const char *itemname, * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_data_name_set(Evas_Object *obj, const char *itemname, const char *newname); +EDJE_API Eina_Bool edje_edit_data_name_set(Evas_Object *obj, const char *itemname, const char *newname); /** * @brief Retrieves a list with the item names inside the data block at the group level. @@ -706,7 +681,7 @@ EAPI Eina_Bool edje_edit_data_name_set(Evas_Object *obj, const char *itemname, c * * @return List of strings, each being a name entry in the data block for the group. */ -EAPI Eina_List * edje_edit_group_data_list_get(Evas_Object *obj); +EDJE_API Eina_List * edje_edit_group_data_list_get(Evas_Object *obj); /** * @brief Creates a new data object in the given edje file *belonging to the current group*. @@ -720,7 +695,7 @@ EAPI Eina_List * edje_edit_group_data_list_get(Evas_Object *obj); * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_group_data_add(Evas_Object *obj, const char *itemname, const char *value); +EDJE_API Eina_Bool edje_edit_group_data_add(Evas_Object *obj, const char *itemname, const char *value); /** * @brief Deletes the given data object from the group. @@ -730,7 +705,7 @@ EAPI Eina_Bool edje_edit_group_data_add(Evas_Object *obj, const char *itemname, * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_group_data_del(Evas_Object *obj, const char *itemname); +EDJE_API Eina_Bool edje_edit_group_data_del(Evas_Object *obj, const char *itemname); /** * @brief Gets the data associated with the given itemname. @@ -740,7 +715,7 @@ EAPI Eina_Bool edje_edit_group_data_del(Evas_Object *obj, const char *itemname); * * @return Value of the data entry or NULL if not found. */ -EAPI const char * edje_edit_group_data_value_get(Evas_Object *obj, const char *itemname); +EDJE_API const char * edje_edit_group_data_value_get(Evas_Object *obj, const char *itemname); /** * @brief Sets the data associated with the given itemname. @@ -751,7 +726,7 @@ EAPI const char * edje_edit_group_data_value_get(Evas_Object *obj, const char *i * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_group_data_value_set(Evas_Object *obj, const char *itemname, const char *value); +EDJE_API Eina_Bool edje_edit_group_data_value_set(Evas_Object *obj, const char *itemname, const char *value); /** * @brief Changes the name of the given data object. @@ -762,7 +737,7 @@ EAPI Eina_Bool edje_edit_group_data_value_set(Evas_Object *obj, const char *item * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_group_data_name_set(Evas_Object *obj, const char *itemname, const char *newname); +EDJE_API Eina_Bool edje_edit_group_data_name_set(Evas_Object *obj, const char *itemname, const char *newname); //@} @@ -786,7 +761,7 @@ EAPI Eina_Bool edje_edit_group_data_name_set(Evas_Object *obj, const char *itemn * * @since 1.18 */ -EAPI Eina_List * +EDJE_API Eina_List * edje_edit_size_classes_list_get(Evas_Object *obj); /** @@ -801,7 +776,7 @@ edje_edit_size_classes_list_get(Evas_Object *obj); * * @since 1.18 */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_size_class_add(Evas_Object *obj, const char *name); /** @@ -814,7 +789,7 @@ edje_edit_size_class_add(Evas_Object *obj, const char *name); * * @since 1.18 */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_size_class_del(Evas_Object *obj, const char *name); /** @@ -828,7 +803,7 @@ edje_edit_size_class_del(Evas_Object *obj, const char *name); * * @since 1.18 */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_size_class_name_set(Evas_Object *obj, const char *name, const char *newname); /** @@ -841,7 +816,7 @@ edje_edit_size_class_name_set(Evas_Object *obj, const char *name, const char *ne * * @since 1.18 */ -EAPI Evas_Coord +EDJE_API Evas_Coord edje_edit_size_class_min_w_get(Evas_Object *obj, const char *class_name); /** @@ -855,7 +830,7 @@ edje_edit_size_class_min_w_get(Evas_Object *obj, const char *class_name); * * @since 1.18 */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_size_class_min_w_set(Evas_Object *obj, const char *class_name, Evas_Coord size); /** @@ -868,7 +843,7 @@ edje_edit_size_class_min_w_set(Evas_Object *obj, const char *class_name, Evas_Co * * @since 1.18 */ -EAPI Evas_Coord +EDJE_API Evas_Coord edje_edit_size_class_max_w_get(Evas_Object *obj, const char *class_name); /** @@ -882,7 +857,7 @@ edje_edit_size_class_max_w_get(Evas_Object *obj, const char *class_name); * * @since 1.18 */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_size_class_max_w_set(Evas_Object *obj, const char *class_name, Evas_Coord size); /** @@ -895,7 +870,7 @@ edje_edit_size_class_max_w_set(Evas_Object *obj, const char *class_name, Evas_Co * * @since 1.18 */ -EAPI Evas_Coord +EDJE_API Evas_Coord edje_edit_size_class_min_h_get(Evas_Object *obj, const char *class_name); /** @@ -909,7 +884,7 @@ edje_edit_size_class_min_h_get(Evas_Object *obj, const char *class_name); * * @since 1.18 */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_size_class_min_h_set(Evas_Object *obj, const char *class_name, Evas_Coord size); /** @@ -922,7 +897,7 @@ edje_edit_size_class_min_h_set(Evas_Object *obj, const char *class_name, Evas_Co * * @since 1.18 */ -EAPI Evas_Coord +EDJE_API Evas_Coord edje_edit_size_class_max_h_get(Evas_Object *obj, const char *class_name); /** @@ -936,7 +911,7 @@ edje_edit_size_class_max_h_get(Evas_Object *obj, const char *class_name); * * @since 1.18 */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_size_class_max_h_set(Evas_Object *obj, const char *class_name, Evas_Coord size); //@} @@ -960,7 +935,7 @@ edje_edit_size_class_max_h_set(Evas_Object *obj, const char *class_name, Evas_Co * * @since 1.18 */ -EAPI Eina_List * +EDJE_API Eina_List * edje_edit_text_classes_list_get(Evas_Object *obj); /** @@ -975,7 +950,7 @@ edje_edit_text_classes_list_get(Evas_Object *obj); * * @since 1.18 */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_text_class_add(Evas_Object *obj, const char *name); /** @@ -988,7 +963,7 @@ edje_edit_text_class_add(Evas_Object *obj, const char *name); * * @since 1.18 */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_text_class_del(Evas_Object *obj, const char *name); /** @@ -1002,7 +977,7 @@ edje_edit_text_class_del(Evas_Object *obj, const char *name); * * @since 1.18 */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_text_class_name_set(Evas_Object *obj, const char *name, const char *newname); /** @@ -1015,7 +990,7 @@ edje_edit_text_class_name_set(Evas_Object *obj, const char *name, const char *ne * * @since 1.18 */ -EAPI Eina_Stringshare * +EDJE_API Eina_Stringshare * edje_edit_text_class_font_get(Evas_Object *obj, const char *class_name); /** @@ -1031,7 +1006,7 @@ edje_edit_text_class_font_get(Evas_Object *obj, const char *class_name); * * @since 1.18 */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_text_class_font_set(Evas_Object *obj, const char *class_name, const char *font); /** @@ -1044,7 +1019,7 @@ edje_edit_text_class_font_set(Evas_Object *obj, const char *class_name, const ch * * @since 1.18 */ -EAPI Evas_Font_Size +EDJE_API Evas_Font_Size edje_edit_text_class_size_get(Evas_Object *obj, const char *class_name); /** @@ -1058,7 +1033,7 @@ edje_edit_text_class_size_get(Evas_Object *obj, const char *class_name); * * @since 1.18 */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_text_class_size_set(Evas_Object *obj, const char *class_name, Evas_Font_Size size); @@ -1078,7 +1053,7 @@ edje_edit_text_class_size_set(Evas_Object *obj, const char *class_name, Evas_Fon * * @return List of strings, each being one color class. */ -EAPI Eina_List * edje_edit_color_classes_list_get(Evas_Object *obj); +EDJE_API Eina_List * edje_edit_color_classes_list_get(Evas_Object *obj); /** * @brief Creates a new color class object in the given edje. @@ -1090,7 +1065,7 @@ EAPI Eina_List * edje_edit_color_classes_list_get(Evas_Object *obj); * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_color_class_add(Evas_Object *obj, const char *name); +EDJE_API Eina_Bool edje_edit_color_class_add(Evas_Object *obj, const char *name); /** * @brief Deletes the given class object from edje. @@ -1100,7 +1075,7 @@ EAPI Eina_Bool edje_edit_color_class_add(Evas_Object *obj, const char *name); * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_color_class_del(Evas_Object *obj, const char *name); +EDJE_API Eina_Bool edje_edit_color_class_del(Evas_Object *obj, const char *name); /** * @brief Gets all the colors that compose the class. @@ -1124,7 +1099,7 @@ EAPI Eina_Bool edje_edit_color_class_del(Evas_Object *obj, const char *name); * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_color_class_colors_get(Evas_Object *obj, const char *class_name, int *r, int *g, int *b, int *a, int *r2, int *g2, int *b2, int *a2, int *r3, int *g3, int *b3, int *a3); +EDJE_API Eina_Bool edje_edit_color_class_colors_get(Evas_Object *obj, const char *class_name, int *r, int *g, int *b, int *a, int *r2, int *g2, int *b2, int *a2, int *r3, int *g3, int *b3, int *a3); /** * @brief Sets the colors for the given color class. @@ -1148,7 +1123,7 @@ EAPI Eina_Bool edje_edit_color_class_colors_get(Evas_Object *obj, const char *cl * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_color_class_colors_set(Evas_Object *obj, const char *class_name, int r, int g, int b, int a, int r2, int g2, int b2, int a2, int r3, int g3, int b3, int a3); +EDJE_API Eina_Bool edje_edit_color_class_colors_set(Evas_Object *obj, const char *class_name, int r, int g, int b, int a, int r2, int g2, int b2, int a2, int r3, int g3, int b3, int a3); /** * @brief Changes the name of a color class. @@ -1159,7 +1134,7 @@ EAPI Eina_Bool edje_edit_color_class_colors_set(Evas_Object *obj, const char *cl * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_color_class_name_set(Evas_Object *obj, const char *name, const char *newname); +EDJE_API Eina_Bool edje_edit_color_class_name_set(Evas_Object *obj, const char *name, const char *newname); /** * @brief Gets the description of a color class. @@ -1170,7 +1145,7 @@ EAPI Eina_Bool edje_edit_color_class_name_set(Evas_Object *obj, const char *name * @return The description of the color class or @c NULL if not found * @since 1.14 */ -EAPI Eina_Stringshare *edje_edit_color_class_description_get(Evas_Object *obj, const char *class_name); +EDJE_API Eina_Stringshare *edje_edit_color_class_description_get(Evas_Object *obj, const char *class_name); /** * @brief Changes the description of a color class. @@ -1182,7 +1157,7 @@ EAPI Eina_Stringshare *edje_edit_color_class_description_get(Evas_Object *obj, c * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. * @since 1.14 */ -EAPI Eina_Bool edje_edit_color_class_description_set(Evas_Object *obj, const char *class_name, const char *desc); +EDJE_API Eina_Bool edje_edit_color_class_description_set(Evas_Object *obj, const char *class_name, const char *desc); //@} @@ -1201,7 +1176,7 @@ EAPI Eina_Bool edje_edit_color_class_description_set(Evas_Object *obj, const cha * * @return List of strings, each being the name for a text style. */ -EAPI Eina_List * edje_edit_styles_list_get(Evas_Object *obj); +EDJE_API Eina_List * edje_edit_styles_list_get(Evas_Object *obj); /** * @brief Creates a new text style object in the given edje. @@ -1213,7 +1188,7 @@ EAPI Eina_List * edje_edit_styles_list_get(Evas_Object *obj); * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_style_add(Evas_Object *obj, const char *style); +EDJE_API Eina_Bool edje_edit_style_add(Evas_Object *obj, const char *style); /** * @brief Deletes the given text style and all the child tags. @@ -1223,7 +1198,7 @@ EAPI Eina_Bool edje_edit_style_add(Evas_Object *obj, const char *style); * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_style_del(Evas_Object *obj, const char *style); +EDJE_API Eina_Bool edje_edit_style_del(Evas_Object *obj, const char *style); /** * @brief Gets the list of all the tags name in the given text style. @@ -1233,7 +1208,7 @@ EAPI Eina_Bool edje_edit_style_del(Evas_Object *obj, const char *style); * * @return List of strings, each being one tag in the given style. */ -EAPI Eina_List * edje_edit_style_tags_list_get(Evas_Object *obj, const char *style); +EDJE_API Eina_List * edje_edit_style_tags_list_get(Evas_Object *obj, const char *style); /** * @brief Gets the value of the given tag. @@ -1244,7 +1219,7 @@ EAPI Eina_List * edje_edit_style_tags_list_get(Evas_Object *obj, const char *sty * * @return Value of the given tag. */ -EAPI const char * edje_edit_style_tag_value_get(Evas_Object *obj, const char *style, const char *tag); +EDJE_API const char * edje_edit_style_tag_value_get(Evas_Object *obj, const char *style, const char *tag); /** * @brief Sets the value of the given tag. @@ -1256,7 +1231,7 @@ EAPI const char * edje_edit_style_tag_value_get(Evas_Object *obj, const char *st * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_style_tag_value_set(Evas_Object *obj, const char *style, const char *tag, const char *new_value); +EDJE_API Eina_Bool edje_edit_style_tag_value_set(Evas_Object *obj, const char *style, const char *tag, const char *new_value); /** * @brief Sets the name of the given tag. @@ -1268,7 +1243,7 @@ EAPI Eina_Bool edje_edit_style_tag_value_set(Evas_Object *obj, const char *style * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_style_tag_name_set(Evas_Object *obj, const char *style, const char *tag, const char *new_name); +EDJE_API Eina_Bool edje_edit_style_tag_name_set(Evas_Object *obj, const char *style, const char *tag, const char *new_name); /** @ @brief Adds a new tag to the given text style. @@ -1281,7 +1256,7 @@ EAPI Eina_Bool edje_edit_style_tag_name_set(Evas_Object *obj, const char *style, * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_style_tag_add(Evas_Object *obj, const char *style, const char *tag_name); +EDJE_API Eina_Bool edje_edit_style_tag_add(Evas_Object *obj, const char *style, const char *tag_name); /** * @brief Deletes the given tag. @@ -1292,7 +1267,7 @@ EAPI Eina_Bool edje_edit_style_tag_add(Evas_Object *obj, const char *style, cons * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_style_tag_del(Evas_Object *obj, const char *style, const char *tag); +EDJE_API Eina_Bool edje_edit_style_tag_del(Evas_Object *obj, const char *style, const char *tag); //@} @@ -1311,7 +1286,7 @@ EAPI Eina_Bool edje_edit_style_tag_del(Evas_Object *obj, const char *style, cons * * @return List of strings, each being an entry in the block of automatically loaded external modules. */ -EAPI Eina_List * edje_edit_externals_list_get(Evas_Object *obj); +EDJE_API Eina_List * edje_edit_externals_list_get(Evas_Object *obj); /** * @brief Adds an external module to be requested on edje load. @@ -1321,7 +1296,7 @@ EAPI Eina_List * edje_edit_externals_list_get(Evas_Object *obj); * * @return @c EINA_TRUE on success (or it was already there), @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_external_add(Evas_Object *obj, const char *external); +EDJE_API Eina_Bool edje_edit_external_add(Evas_Object *obj, const char *external); /** * @brief Deletes the given external from the list. @@ -1331,7 +1306,7 @@ EAPI Eina_Bool edje_edit_external_add(Evas_Object *obj, const char *external); * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_external_del(Evas_Object *obj, const char *external); +EDJE_API Eina_Bool edje_edit_external_del(Evas_Object *obj, const char *external); //@} @@ -1352,7 +1327,7 @@ EAPI Eina_Bool edje_edit_external_del(Evas_Object *obj, const char *external); * @return One of possible enum Edje_Edit_Select_Mode. * @since 1.11 */ -EAPI Edje_Edit_Select_Mode edje_edit_part_select_mode_get(Evas_Object *obj, const char *part); +EDJE_API Edje_Edit_Select_Mode edje_edit_part_select_mode_get(Evas_Object *obj, const char *part); /** * @brief Sets the select mode for a textblock part. @@ -1365,7 +1340,7 @@ EAPI Edje_Edit_Select_Mode edje_edit_part_select_mode_get(Evas_Object *obj, cons * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. * @since 1.11 */ -EAPI Eina_Bool edje_edit_part_select_mode_set(Evas_Object *obj, const char *part, Edje_Edit_Select_Mode mode); +EDJE_API Eina_Bool edje_edit_part_select_mode_set(Evas_Object *obj, const char *part, Edje_Edit_Select_Mode mode); /** * @brief Gets the edit mode for a textblock part. @@ -1376,7 +1351,7 @@ EAPI Eina_Bool edje_edit_part_select_mode_set(Evas_Object *obj, const char *part * @return One of possible enum Edje_Entry_Mode. * @since 1.11 */ -EAPI Edje_Edit_Entry_Mode edje_edit_part_entry_mode_get(Evas_Object *obj, const char *part); +EDJE_API Edje_Edit_Entry_Mode edje_edit_part_entry_mode_get(Evas_Object *obj, const char *part); /** * @brief Sets the edit mode for a textblock part. @@ -1389,7 +1364,7 @@ EAPI Edje_Edit_Entry_Mode edje_edit_part_entry_mode_get(Evas_Object *obj, const * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. * @since 1.11 */ -EAPI Eina_Bool edje_edit_part_entry_mode_set(Evas_Object *obj, const char *part, Edje_Edit_Entry_Mode mode); +EDJE_API Eina_Bool edje_edit_part_entry_mode_set(Evas_Object *obj, const char *part, Edje_Edit_Entry_Mode mode); /** * @brief Gets the list of all the parts in the given edje object. @@ -1401,7 +1376,7 @@ EAPI Eina_Bool edje_edit_part_entry_mode_set(Evas_Object *obj, const char *part, * * @see edje_edit_string_list_free() */ -EAPI Eina_List * edje_edit_parts_list_get(Evas_Object *obj); +EDJE_API Eina_List * edje_edit_parts_list_get(Evas_Object *obj); /** * @brief Creates a new part in the given edje. @@ -1415,7 +1390,7 @@ EAPI Eina_List * edje_edit_parts_list_get(Evas_Object *obj); * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_part_add(Evas_Object *obj, const char *name, Edje_Part_Type type); +EDJE_API Eina_Bool edje_edit_part_add(Evas_Object *obj, const char *name, Edje_Part_Type type); /** * @brief Creates a new part of type EXTERNAL in the given edje. @@ -1429,7 +1404,7 @@ EAPI Eina_Bool edje_edit_part_add(Evas_Object *obj, const char *name, Edje_Part_ * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_part_external_add(Evas_Object *obj, const char *name, const char *source); +EDJE_API Eina_Bool edje_edit_part_external_add(Evas_Object *obj, const char *name, const char *source); /** * @brief Deletes the given part from the edje. @@ -1441,7 +1416,7 @@ EAPI Eina_Bool edje_edit_part_external_add(Evas_Object *obj, const char *name, c * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_part_del(Evas_Object *obj, const char *part); +EDJE_API Eina_Bool edje_edit_part_del(Evas_Object *obj, const char *part); /** * @brief Copies the given part in edje. @@ -1455,7 +1430,7 @@ EAPI Eina_Bool edje_edit_part_del(Evas_Object *obj, const char *part); * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. * @since 1.11 */ -EAPI Eina_Bool edje_edit_part_copy(Evas_Object *obj, const char *part, const char *new_copy); +EDJE_API Eina_Bool edje_edit_part_copy(Evas_Object *obj, const char *part, const char *new_copy); /** * @brief Checks if a part with the given name exist in the edje object. @@ -1465,7 +1440,7 @@ EAPI Eina_Bool edje_edit_part_copy(Evas_Object *obj, const char *part, const cha * * @return @c EINA_TRUE if the part exists, @c EINA_FALSE if not. */ -EAPI Eina_Bool edje_edit_part_exist(Evas_Object *obj, const char *part); +EDJE_API Eina_Bool edje_edit_part_exist(Evas_Object *obj, const char *part); /** * @brief Gets the name of part stacked above the one passed. @@ -1476,7 +1451,7 @@ EAPI Eina_Bool edje_edit_part_exist(Evas_Object *obj, const char *part); * @return Name of the part above. NULL if an error occurred or if @p part is * the topmost part in the group. */ -EAPI const char * edje_edit_part_above_get(Evas_Object *obj, const char *part); +EDJE_API const char * edje_edit_part_above_get(Evas_Object *obj, const char *part); /** * @brief Gets the name of part stacked below the one passed. @@ -1487,7 +1462,7 @@ EAPI const char * edje_edit_part_above_get(Evas_Object *obj, const char *part); * @return Name of the part below. NULL if an error occurred or if @p part is * the bottommost part in the group. */ -EAPI const char * edje_edit_part_below_get(Evas_Object *obj, const char *part); +EDJE_API const char * edje_edit_part_below_get(Evas_Object *obj, const char *part); /** * @brief Moves the given part below the previous one. @@ -1497,7 +1472,7 @@ EAPI const char * edje_edit_part_below_get(Evas_Object *obj, const char *part); * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_part_restack_below(Evas_Object *obj, const char *part); +EDJE_API Eina_Bool edje_edit_part_restack_below(Evas_Object *obj, const char *part); /** * @brief Moves the given part below the part named below. @@ -1508,7 +1483,7 @@ EAPI Eina_Bool edje_edit_part_restack_below(Evas_Object *obj, const char *part); * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_part_restack_part_below(Evas_Object *obj, const char* part, const char *below); +EDJE_API Eina_Bool edje_edit_part_restack_part_below(Evas_Object *obj, const char* part, const char *below); /** * @brief Moves the given part above the next one. @@ -1518,7 +1493,7 @@ EAPI Eina_Bool edje_edit_part_restack_part_below(Evas_Object *obj, const char* p * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_part_restack_above(Evas_Object *obj, const char *part); +EDJE_API Eina_Bool edje_edit_part_restack_above(Evas_Object *obj, const char *part); /** * @brief Moves the given part above the part named above. @@ -1529,7 +1504,7 @@ EAPI Eina_Bool edje_edit_part_restack_above(Evas_Object *obj, const char *part); * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_part_restack_part_above(Evas_Object *obj, const char* part, const char *above); +EDJE_API Eina_Bool edje_edit_part_restack_part_above(Evas_Object *obj, const char* part, const char *above); /** * @brief Sets a new name for part. @@ -1542,7 +1517,7 @@ EAPI Eina_Bool edje_edit_part_restack_part_above(Evas_Object *obj, const char* p * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_part_name_set(Evas_Object *obj, const char *part, const char *new_name); +EDJE_API Eina_Bool edje_edit_part_name_set(Evas_Object *obj, const char *part, const char *new_name); /** * @brief Gets api's name of a part. @@ -1552,7 +1527,7 @@ EAPI Eina_Bool edje_edit_part_name_set(Evas_Object *obj, const char *part, const * * @return Name of the API if successful, NULL otherwise. */ -EAPI const char * edje_edit_part_api_name_get(Evas_Object *obj, const char *part); +EDJE_API const char * edje_edit_part_api_name_get(Evas_Object *obj, const char *part); /** * @brief Gets api's description of a part. @@ -1562,7 +1537,7 @@ EAPI const char * edje_edit_part_api_name_get(Evas_Object *obj, const char *part * * @return Description of the api if successful, NULL otherwise. */ -EAPI const char * edje_edit_part_api_description_get(Evas_Object *obj, const char *part); +EDJE_API const char * edje_edit_part_api_description_get(Evas_Object *obj, const char *part); /** * @brief Sets api's name of a part. @@ -1573,7 +1548,7 @@ EAPI const char * edje_edit_part_api_description_get(Evas_Object *obj, const cha * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_part_api_name_set(Evas_Object *obj, const char *part, const char *name); +EDJE_API Eina_Bool edje_edit_part_api_name_set(Evas_Object *obj, const char *part, const char *name); /** * @brief Sets api's description of a part. @@ -1584,7 +1559,7 @@ EAPI Eina_Bool edje_edit_part_api_name_set(Evas_Object *obj, const char *part, c * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_part_api_description_set(Evas_Object *obj, const char *part, const char *description); +EDJE_API Eina_Bool edje_edit_part_api_description_set(Evas_Object *obj, const char *part, const char *description); /** * @brief Gets the type of a part. @@ -1594,7 +1569,7 @@ EAPI Eina_Bool edje_edit_part_api_description_set(Evas_Object *obj, const char * * * @return Type of the part. See @ref edcref for details. */ -EAPI Edje_Part_Type edje_edit_part_type_get(Evas_Object *obj, const char *part); +EDJE_API Edje_Part_Type edje_edit_part_type_get(Evas_Object *obj, const char *part); /** * @brief Gets the clip_to part. @@ -1604,7 +1579,7 @@ EAPI Edje_Part_Type edje_edit_part_type_get(Evas_Object *obj, const char *part); * * @return Name of the part @p part is clipped to. NULL is returned on errors and if the part don't have a clip. */ -EAPI const char * edje_edit_part_clip_to_get(Evas_Object *obj, const char *part); +EDJE_API const char * edje_edit_part_clip_to_get(Evas_Object *obj, const char *part); /** * @brief Sets a part to clip part to. @@ -1615,7 +1590,7 @@ EAPI const char * edje_edit_part_clip_to_get(Evas_Object *obj, const char *part) * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_part_clip_to_set(Evas_Object *obj, const char *part, const char *clip_to); +EDJE_API Eina_Bool edje_edit_part_clip_to_set(Evas_Object *obj, const char *part, const char *clip_to); /** * @brief Gets the source of part. @@ -1633,7 +1608,7 @@ EAPI Eina_Bool edje_edit_part_clip_to_set(Evas_Object *obj, const char *part, co * * @return Content of the source parameter or NULL if nothing set or an error occurred. */ -EAPI const char * edje_edit_part_source_get(Evas_Object *obj, const char *part); +EDJE_API const char * edje_edit_part_source_get(Evas_Object *obj, const char *part); /** * @brief Sets the source of part. @@ -1655,7 +1630,7 @@ EAPI const char * edje_edit_part_source_get(Evas_Object *obj, const char *part); * * NOTE: This is not applied now. You must reload the edje to see the change. */ -EAPI Eina_Bool edje_edit_part_source_set(Evas_Object *obj, const char *part, const char *source); +EDJE_API Eina_Bool edje_edit_part_source_set(Evas_Object *obj, const char *part, const char *source); /** * @brief Gets the source2 of part. @@ -1670,7 +1645,7 @@ EAPI Eina_Bool edje_edit_part_source_set(Evas_Object *obj, const char *part, con * @return Content of the source2 parameter or NULL if nothing set or an error occurred. * @since 1.11 */ -EAPI const char * edje_edit_part_source2_get(Evas_Object *obj, const char *part); +EDJE_API const char * edje_edit_part_source2_get(Evas_Object *obj, const char *part); /** * @brief Sets the source2 of part. @@ -1684,7 +1659,7 @@ EAPI const char * edje_edit_part_source2_get(Evas_Object *obj, const char *part) * @see edje_edit_part_source2_get() * @since 1.11 */ -EAPI Eina_Bool edje_edit_part_source2_set(Evas_Object *obj, const char *part, const char *source); +EDJE_API Eina_Bool edje_edit_part_source2_set(Evas_Object *obj, const char *part, const char *source); /** * @brief Gets the source3 of part. @@ -1699,7 +1674,7 @@ EAPI Eina_Bool edje_edit_part_source2_set(Evas_Object *obj, const char *part, co * @return Content of the source3 parameter or NULL if nothing set or an error occurred. * @since 1.11 */ -EAPI const char * edje_edit_part_source3_get(Evas_Object *obj, const char *part); +EDJE_API const char * edje_edit_part_source3_get(Evas_Object *obj, const char *part); /** * @brief Sets the source3 of part. @@ -1715,7 +1690,7 @@ EAPI const char * edje_edit_part_source3_get(Evas_Object *obj, const char *part) * * NOTE: This is not applied now. You must reload the edje to see the change. */ -EAPI Eina_Bool edje_edit_part_source3_set(Evas_Object *obj, const char *part, const char *source); +EDJE_API Eina_Bool edje_edit_part_source3_set(Evas_Object *obj, const char *part, const char *source); /** * @brief Gets the source4 of part. @@ -1730,7 +1705,7 @@ EAPI Eina_Bool edje_edit_part_source3_set(Evas_Object *obj, const char *part, co * @return Content of the source4 parameter or NULL if nothing set or an error occurred. * @since 1.11 */ -EAPI const char * edje_edit_part_source4_get(Evas_Object *obj, const char *part); +EDJE_API const char * edje_edit_part_source4_get(Evas_Object *obj, const char *part); /** * @brief Sets the source4 of part. @@ -1746,7 +1721,7 @@ EAPI const char * edje_edit_part_source4_get(Evas_Object *obj, const char *part) * * NOTE: This is not applied now. You must reload the edje to see the change. */ -EAPI Eina_Bool edje_edit_part_source4_set(Evas_Object *obj, const char *part, const char *source); +EDJE_API Eina_Bool edje_edit_part_source4_set(Evas_Object *obj, const char *part, const char *source); /** * @brief Gets the source5 of part. @@ -1761,7 +1736,7 @@ EAPI Eina_Bool edje_edit_part_source4_set(Evas_Object *obj, const char *part, co * @return Content of the source5 parameter or NULL if nothing set or an error occurred. * @since 1.11 */ -EAPI const char * edje_edit_part_source5_get(Evas_Object *obj, const char *part); +EDJE_API const char * edje_edit_part_source5_get(Evas_Object *obj, const char *part); /** * @brief Sets the source5 of part. @@ -1775,7 +1750,7 @@ EAPI const char * edje_edit_part_source5_get(Evas_Object *obj, const char *part) * @see edje_edit_part_source5_get() * @since 1.11 */ -EAPI Eina_Bool edje_edit_part_source5_set(Evas_Object *obj, const char *part, const char *source); +EDJE_API Eina_Bool edje_edit_part_source5_set(Evas_Object *obj, const char *part, const char *source); /** * @brief Gets the source6 of part. @@ -1790,7 +1765,7 @@ EAPI Eina_Bool edje_edit_part_source5_set(Evas_Object *obj, const char *part, co * @return Content of the source6 parameter or NULL if nothing set or an error occurred. * @since 1.11 */ -EAPI const char * edje_edit_part_source6_get(Evas_Object *obj, const char *part); +EDJE_API const char * edje_edit_part_source6_get(Evas_Object *obj, const char *part); /** * @brief Sets the source6 of part. @@ -1804,7 +1779,7 @@ EAPI const char * edje_edit_part_source6_get(Evas_Object *obj, const char *part) * @see edje_edit_part_source6_get() * @since 1.11 */ -EAPI Eina_Bool edje_edit_part_source6_set(Evas_Object *obj, const char *part, const char *source); +EDJE_API Eina_Bool edje_edit_part_source6_set(Evas_Object *obj, const char *part, const char *source); /** * @brief Gets the effect for a given part. @@ -1816,7 +1791,7 @@ EAPI Eina_Bool edje_edit_part_source6_set(Evas_Object *obj, const char *part, co * * @return The effect set for the part. */ -EAPI Edje_Text_Effect edje_edit_part_effect_get(Evas_Object *obj, const char *part); +EDJE_API Edje_Text_Effect edje_edit_part_effect_get(Evas_Object *obj, const char *part); /** * @brief Sets the effect for a given part. @@ -1832,7 +1807,7 @@ EAPI Edje_Text_Effect edje_edit_part_effect_get(Evas_Object *obj, const char *pa * * @see Edje_Part_Text */ -EAPI Eina_Bool edje_edit_part_effect_set(Evas_Object *obj, const char *part, Edje_Text_Effect effect); +EDJE_API Eina_Bool edje_edit_part_effect_set(Evas_Object *obj, const char *part, Edje_Text_Effect effect); /** * @brief Gets the current selected state in part. @@ -1843,7 +1818,7 @@ EAPI Eina_Bool edje_edit_part_effect_set(Evas_Object *obj, const char *part, Edj * * @return The name of the currently selected state for the part. */ -EAPI const char * edje_edit_part_selected_state_get(Evas_Object *obj, const char *part, double *value); +EDJE_API const char * edje_edit_part_selected_state_get(Evas_Object *obj, const char *part, double *value); /** * @brief Sets the current state in part. @@ -1855,7 +1830,7 @@ EAPI const char * edje_edit_part_selected_state_get(Evas_Object *obj, const char * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_part_selected_state_set(Evas_Object *obj, const char *part, const char *state, double value); +EDJE_API Eina_Bool edje_edit_part_selected_state_set(Evas_Object *obj, const char *part, const char *state, double value); /** * @brief Gets mouse_events for part. @@ -1865,7 +1840,7 @@ EAPI Eina_Bool edje_edit_part_selected_state_set(Evas_Object *obj, const char *p * * @return @c EINA_TRUE if part will accept mouse events, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_part_mouse_events_get(Evas_Object *obj, const char *part); +EDJE_API Eina_Bool edje_edit_part_mouse_events_get(Evas_Object *obj, const char *part); /** * @brief Sets mouse_events for part. @@ -1876,7 +1851,7 @@ EAPI Eina_Bool edje_edit_part_mouse_events_get(Evas_Object *obj, const char *par * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_part_mouse_events_set(Evas_Object *obj, const char *part, Eina_Bool mouse_events); +EDJE_API Eina_Bool edje_edit_part_mouse_events_set(Evas_Object *obj, const char *part, Eina_Bool mouse_events); /** * @brief Gets required value for part. @@ -1887,7 +1862,7 @@ EAPI Eina_Bool edje_edit_part_mouse_events_set(Evas_Object *obj, const char *par * @return @c EINA_TRUE if part is required by the object's implementation, @c EINA_FALSE otherwise. * @since 1.23 */ -EAPI Eina_Bool edje_edit_part_required_get(Evas_Object *obj, const char *part); +EDJE_API Eina_Bool edje_edit_part_required_get(Evas_Object *obj, const char *part); /** * @brief Gets anti-aliasing for part. @@ -1897,7 +1872,7 @@ EAPI Eina_Bool edje_edit_part_required_get(Evas_Object *obj, const char *part); * * @return @c EINA_TRUE if part will draw anti-aliased, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_part_anti_alias_get(Evas_Object *obj, const char *part); +EDJE_API Eina_Bool edje_edit_part_anti_alias_get(Evas_Object *obj, const char *part); /** * @brief Sets anti-aliasing for part. @@ -1908,7 +1883,7 @@ EAPI Eina_Bool edje_edit_part_anti_alias_get(Evas_Object *obj, const char *part) * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_part_anti_alias_set(Evas_Object *obj, const char *part, Eina_Bool anti_alias); +EDJE_API Eina_Bool edje_edit_part_anti_alias_set(Evas_Object *obj, const char *part, Eina_Bool anti_alias); /** @@ -1919,7 +1894,7 @@ EAPI Eina_Bool edje_edit_part_anti_alias_set(Evas_Object *obj, const char *part, * * @return @c EINA_TRUE if the events received will propagate to other parts, @c EINA_FALSE otherwise */ -EAPI Eina_Bool edje_edit_part_repeat_events_get(Evas_Object *obj, const char *part); +EDJE_API Eina_Bool edje_edit_part_repeat_events_get(Evas_Object *obj, const char *part); /** * @brief Sets repeat_events for part. @@ -1930,7 +1905,7 @@ EAPI Eina_Bool edje_edit_part_repeat_events_get(Evas_Object *obj, const char *pa * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_part_repeat_events_set(Evas_Object *obj, const char *part, Eina_Bool repeat_events); +EDJE_API Eina_Bool edje_edit_part_repeat_events_set(Evas_Object *obj, const char *part, Eina_Bool repeat_events); /** * @brief Gets use_alternate_font_metrics variable for part. @@ -1941,7 +1916,7 @@ EAPI Eina_Bool edje_edit_part_repeat_events_set(Evas_Object *obj, const char *pa * @return @c EINA_TRUE if use_alternate_font_metrics, @c EINA_FALSE otherwise * @since 1.18 */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_use_alternate_font_metrics_get(Evas_Object *obj, const char *part); /** @@ -1954,7 +1929,7 @@ edje_edit_part_use_alternate_font_metrics_get(Evas_Object *obj, const char *part * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. * @since 1.18 */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_use_alternate_font_metrics_set(Evas_Object *obj, const char *part, Eina_Bool use); /** @@ -1966,7 +1941,7 @@ edje_edit_part_use_alternate_font_metrics_set(Evas_Object *obj, const char *part * @return @c EINA_TRUE if multiple lines for editing is enabled, @c EINA_FALSE otherwise * @since 1.11 */ -EAPI Eina_Bool edje_edit_part_multiline_get(Evas_Object *obj, const char *part); +EDJE_API Eina_Bool edje_edit_part_multiline_get(Evas_Object *obj, const char *part); /** * @brief Sets multiline for part. @@ -1978,7 +1953,7 @@ EAPI Eina_Bool edje_edit_part_multiline_get(Evas_Object *obj, const char *part); * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. * @since 1.11 */ -EAPI Eina_Bool edje_edit_part_multiline_set(Evas_Object *obj, const char *part, Eina_Bool multiline); +EDJE_API Eina_Bool edje_edit_part_multiline_set(Evas_Object *obj, const char *part, Eina_Bool multiline); /** * @brief Gets precise_is_inside for part. @@ -1989,7 +1964,7 @@ EAPI Eina_Bool edje_edit_part_multiline_set(Evas_Object *obj, const char *part, * @return @c EINA_TRUE if point collision detection for the part is enabled, @c EINA_FALSE otherwise * @since 1.11 */ -EAPI Eina_Bool edje_edit_part_precise_is_inside_get(Evas_Object *obj, const char *part); +EDJE_API Eina_Bool edje_edit_part_precise_is_inside_get(Evas_Object *obj, const char *part); /** * @brief Sets precise_is_inside for part. @@ -2001,7 +1976,7 @@ EAPI Eina_Bool edje_edit_part_precise_is_inside_get(Evas_Object *obj, const char * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. * @since 1.11 */ -EAPI Eina_Bool edje_edit_part_precise_is_inside_set(Evas_Object *obj, const char *part, Eina_Bool precise_is_inside); +EDJE_API Eina_Bool edje_edit_part_precise_is_inside_set(Evas_Object *obj, const char *part, Eina_Bool precise_is_inside); /** * @brief Gets accessibility for part. @@ -2012,7 +1987,7 @@ EAPI Eina_Bool edje_edit_part_precise_is_inside_set(Evas_Object *obj, const char * @return @c EINA_TRUE if part uses accessibility feature, @c EINA_FALSE otherwise * @since 1.11 */ -EAPI Eina_Bool edje_edit_part_access_get(Evas_Object *obj, const char *part); +EDJE_API Eina_Bool edje_edit_part_access_get(Evas_Object *obj, const char *part); /** * @brief Sets accessibility for part. @@ -2024,7 +1999,7 @@ EAPI Eina_Bool edje_edit_part_access_get(Evas_Object *obj, const char *part); * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. * @since 1.11 */ -EAPI Eina_Bool edje_edit_part_access_set(Evas_Object *obj, const char *part, Eina_Bool access); +EDJE_API Eina_Bool edje_edit_part_access_set(Evas_Object *obj, const char *part, Eina_Bool access); /** * @brief Gets ignore_flags for part. @@ -2034,7 +2009,7 @@ EAPI Eina_Bool edje_edit_part_access_set(Evas_Object *obj, const char *part, Ein * * @return The Event flags set to the part. */ -EAPI Evas_Event_Flags edje_edit_part_ignore_flags_get(Evas_Object *obj, const char *part); +EDJE_API Evas_Event_Flags edje_edit_part_ignore_flags_get(Evas_Object *obj, const char *part); /** * @brief Sets ignore_flags for part. @@ -2045,7 +2020,7 @@ EAPI Evas_Event_Flags edje_edit_part_ignore_flags_get(Evas_Object *obj, const ch * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_part_ignore_flags_set(Evas_Object *obj, const char *part, Evas_Event_Flags ignore_flags); +EDJE_API Eina_Bool edje_edit_part_ignore_flags_set(Evas_Object *obj, const char *part, Evas_Event_Flags ignore_flags); /** * @brief Gets mask_flags for part. @@ -2055,7 +2030,7 @@ EAPI Eina_Bool edje_edit_part_ignore_flags_set(Evas_Object *obj, const char *par * * @return The Event flags set to the part. */ -EAPI Evas_Event_Flags edje_edit_part_mask_flags_get(Evas_Object *obj, const char *part); +EDJE_API Evas_Event_Flags edje_edit_part_mask_flags_get(Evas_Object *obj, const char *part); /** * @brief Sets mask_flags for part. @@ -2066,7 +2041,7 @@ EAPI Evas_Event_Flags edje_edit_part_mask_flags_get(Evas_Object *obj, const char * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_part_mask_flags_set(Evas_Object *obj, const char *part, Evas_Event_Flags mask_flags); +EDJE_API Eina_Bool edje_edit_part_mask_flags_set(Evas_Object *obj, const char *part, Evas_Event_Flags mask_flags); /** * @brief Gets pointer_mode of a part. @@ -2077,7 +2052,7 @@ EAPI Eina_Bool edje_edit_part_mask_flags_set(Evas_Object *obj, const char *part, * @return Pointer Mode of the part. * @since 1.11 */ -EAPI Evas_Object_Pointer_Mode edje_edit_part_pointer_mode_get(Evas_Object *obj, const char *part); +EDJE_API Evas_Object_Pointer_Mode edje_edit_part_pointer_mode_get(Evas_Object *obj, const char *part); /** * @brief Gets pointer_mode of a part. @@ -2094,7 +2069,7 @@ EAPI Evas_Object_Pointer_Mode edje_edit_part_pointer_mode_get(Evas_Object *obj, * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. * @since 1.11 */ -EAPI Eina_Bool edje_edit_part_pointer_mode_set(Evas_Object *obj, const char *part, Evas_Object_Pointer_Mode pointer_mode); +EDJE_API Eina_Bool edje_edit_part_pointer_mode_set(Evas_Object *obj, const char *part, Evas_Object_Pointer_Mode pointer_mode); /** * @brief Gets cursor_mode of a part. @@ -2111,7 +2086,7 @@ EAPI Eina_Bool edje_edit_part_pointer_mode_set(Evas_Object *obj, const char *par * @return Pointer Mode of the part. * @since 1.11 */ -EAPI unsigned char edje_edit_part_cursor_mode_get(Evas_Object *obj, const char *part); +EDJE_API unsigned char edje_edit_part_cursor_mode_get(Evas_Object *obj, const char *part); /** * @brief Gets pointer_mode of a part. @@ -2129,7 +2104,7 @@ EAPI unsigned char edje_edit_part_cursor_mode_get(Evas_Object *obj, const char * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. * @since 1.11 */ -EAPI Eina_Bool edje_edit_part_cursor_mode_set(Evas_Object *obj, const char *part, unsigned char cursor_mode); +EDJE_API Eina_Bool edje_edit_part_cursor_mode_set(Evas_Object *obj, const char *part, unsigned char cursor_mode); /** * @brief Sets scale property for the part. @@ -2143,7 +2118,7 @@ EAPI Eina_Bool edje_edit_part_cursor_mode_set(Evas_Object *obj, const char *part * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_part_scale_set(Evas_Object *obj, const char *part, Eina_Bool scale); +EDJE_API Eina_Bool edje_edit_part_scale_set(Evas_Object *obj, const char *part, Eina_Bool scale); /** * @brief Gets scale for the part. @@ -2153,7 +2128,7 @@ EAPI Eina_Bool edje_edit_part_scale_set(Evas_Object *obj, const char *part, Eina * * @return Whether scale is on (EINA_TRUE) or not. */ -EAPI Eina_Bool edje_edit_part_scale_get(Evas_Object *obj, const char *part); +EDJE_API Eina_Bool edje_edit_part_scale_get(Evas_Object *obj, const char *part); /** * @brief Gets horizontal draggable state for part. @@ -2163,7 +2138,7 @@ EAPI Eina_Bool edje_edit_part_scale_get(Evas_Object *obj, const char *part); * * @return @c 1 (or -1) if the part can be dragged horizontally, @c 0 otherwise. */ -EAPI int edje_edit_part_drag_x_get(Evas_Object *obj, const char *part); +EDJE_API int edje_edit_part_drag_x_get(Evas_Object *obj, const char *part); /** * @brief Sets horizontal draggable state for part. @@ -2174,7 +2149,7 @@ EAPI int edje_edit_part_drag_x_get(Evas_Object *obj, const char *part); * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_part_drag_x_set(Evas_Object *obj, const char *part, int drag); +EDJE_API Eina_Bool edje_edit_part_drag_x_set(Evas_Object *obj, const char *part, int drag); /** * @brief Gets vertical draggable state for part. @@ -2184,7 +2159,7 @@ EAPI Eina_Bool edje_edit_part_drag_x_set(Evas_Object *obj, const char *part, int * * @return @c 1 (or - 1) if the part can be dragged vertically, @c 0 otherwise. */ -EAPI int edje_edit_part_drag_y_get(Evas_Object *obj, const char *part); +EDJE_API int edje_edit_part_drag_y_get(Evas_Object *obj, const char *part); /** * @brief Sets vertical draggable state for part. @@ -2195,7 +2170,7 @@ EAPI int edje_edit_part_drag_y_get(Evas_Object *obj, const char *part); * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_part_drag_y_set(Evas_Object *obj, const char *part, int drag); +EDJE_API Eina_Bool edje_edit_part_drag_y_set(Evas_Object *obj, const char *part, int drag); /** * @brief Gets horizontal draggable step for part. @@ -2205,7 +2180,7 @@ EAPI Eina_Bool edje_edit_part_drag_y_set(Evas_Object *obj, const char *part, int * * @return The step value. */ -EAPI int edje_edit_part_drag_step_x_get(Evas_Object *obj, const char *part); +EDJE_API int edje_edit_part_drag_step_x_get(Evas_Object *obj, const char *part); /** * @brief Sets horizontal draggable state for part. @@ -2216,7 +2191,7 @@ EAPI int edje_edit_part_drag_step_x_get(Evas_Object *obj, const char *part); * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_part_drag_step_x_set(Evas_Object *obj, const char *part, int step); +EDJE_API Eina_Bool edje_edit_part_drag_step_x_set(Evas_Object *obj, const char *part, int step); /** * @brief Gets vertical draggable step for part. @@ -2226,7 +2201,7 @@ EAPI Eina_Bool edje_edit_part_drag_step_x_set(Evas_Object *obj, const char *part * * @return The step value. */ -EAPI int edje_edit_part_drag_step_y_get(Evas_Object *obj, const char *part); +EDJE_API int edje_edit_part_drag_step_y_get(Evas_Object *obj, const char *part); /** * @brief Sets vertical draggable state for part. @@ -2237,7 +2212,7 @@ EAPI int edje_edit_part_drag_step_y_get(Evas_Object *obj, const char *part); * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_part_drag_step_y_set(Evas_Object *obj, const char *part, int step); +EDJE_API Eina_Bool edje_edit_part_drag_step_y_set(Evas_Object *obj, const char *part, int step); /** * @brief Gets horizontal draggable count for part. @@ -2247,7 +2222,7 @@ EAPI Eina_Bool edje_edit_part_drag_step_y_set(Evas_Object *obj, const char *part * * @return Horizontal draggable count value */ -EAPI int edje_edit_part_drag_count_x_get(Evas_Object *obj, const char *part); +EDJE_API int edje_edit_part_drag_count_x_get(Evas_Object *obj, const char *part); /** * @brief Sets horizontal draggable count for part. @@ -2258,7 +2233,7 @@ EAPI int edje_edit_part_drag_count_x_get(Evas_Object *obj, const char *part); * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_part_drag_count_x_set(Evas_Object *obj, const char *part, int count); +EDJE_API Eina_Bool edje_edit_part_drag_count_x_set(Evas_Object *obj, const char *part, int count); /** * @brief Gets vertical draggable count for part. @@ -2268,7 +2243,7 @@ EAPI Eina_Bool edje_edit_part_drag_count_x_set(Evas_Object *obj, const char *par * * @return Vertical draggable count value */ -EAPI int edje_edit_part_drag_count_y_get(Evas_Object *obj, const char *part); +EDJE_API int edje_edit_part_drag_count_y_get(Evas_Object *obj, const char *part); /** * @brief Sets vertical draggable count for part. @@ -2279,7 +2254,7 @@ EAPI int edje_edit_part_drag_count_y_get(Evas_Object *obj, const char *part); * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_part_drag_count_y_set(Evas_Object *obj, const char *part, int count); +EDJE_API Eina_Bool edje_edit_part_drag_count_y_set(Evas_Object *obj, const char *part, int count); /** * @brief Gets the name of the part that is used as 'confine' for the given draggies. @@ -2289,7 +2264,7 @@ EAPI Eina_Bool edje_edit_part_drag_count_y_set(Evas_Object *obj, const char *par * * @return The name of the confine part, or NULL (if unset). */ -EAPI const char * edje_edit_part_drag_confine_get(Evas_Object *obj, const char *part); +EDJE_API const char * edje_edit_part_drag_confine_get(Evas_Object *obj, const char *part); /** * @brief Sets the name of the part that is used as 'confine' for the given draggies. @@ -2300,7 +2275,7 @@ EAPI const char * edje_edit_part_drag_confine_get(Evas_Object *obj, const char * * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_part_drag_confine_set(Evas_Object *obj, const char *part, const char *confine); +EDJE_API Eina_Bool edje_edit_part_drag_confine_set(Evas_Object *obj, const char *part, const char *confine); /** * @brief Gets the name of the part that is used as the receiver of the drag event. @@ -2310,7 +2285,7 @@ EAPI Eina_Bool edje_edit_part_drag_confine_set(Evas_Object *obj, const char *par * * @return The name of the part that will receive events, or NULL (if unset). */ -EAPI const char * edje_edit_part_drag_event_get(Evas_Object *obj, const char *part); +EDJE_API const char * edje_edit_part_drag_event_get(Evas_Object *obj, const char *part); /** * @brief Sets the name of the part that will receive events from the given draggies. @@ -2321,7 +2296,7 @@ EAPI const char * edje_edit_part_drag_event_get(Evas_Object *obj, const char *pa * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_part_drag_event_set(Evas_Object *obj, const char *part, const char *event); +EDJE_API Eina_Bool edje_edit_part_drag_event_set(Evas_Object *obj, const char *part, const char *event); /** * @brief Gets the name of the part that is used as 'threshold' for the given draggies. @@ -2331,7 +2306,7 @@ EAPI Eina_Bool edje_edit_part_drag_event_set(Evas_Object *obj, const char *part, * * @return The name of the threshold part, or NULL (if unset). */ -EAPI const char * edje_edit_part_drag_threshold_get(Evas_Object *obj, const char *part); +EDJE_API const char * edje_edit_part_drag_threshold_get(Evas_Object *obj, const char *part); /** * @brief Sets the name of the part that is used as 'threshold' for the given draggies. @@ -2342,7 +2317,7 @@ EAPI const char * edje_edit_part_drag_threshold_get(Evas_Object *obj, const char * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_part_drag_threshold_set(Evas_Object *obj, const char *part, const char *threshold); +EDJE_API Eina_Bool edje_edit_part_drag_threshold_set(Evas_Object *obj, const char *part, const char *threshold); //@} /******************************************************************************/ @@ -2365,7 +2340,7 @@ EAPI Eina_Bool edje_edit_part_drag_threshold_set(Evas_Object *obj, const char *p * @return Primary layout of a BOX part in given state. * @since 1.14 */ -EAPI Eina_Stringshare * edje_edit_state_box_layout_get(Evas_Object *obj, const char *part, const char *state, double value); +EDJE_API Eina_Stringshare * edje_edit_state_box_layout_get(Evas_Object *obj, const char *part, const char *state, double value); /** * @brief Sets primary layout of the box. @@ -2394,7 +2369,7 @@ EAPI Eina_Stringshare * edje_edit_state_box_layout_get(Evas_Object *obj, const c * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. * @since 1.14 */ -EAPI Eina_Bool edje_edit_state_box_layout_set(Evas_Object *obj, const char *part, const char *state, double value, char *layout); +EDJE_API Eina_Bool edje_edit_state_box_layout_set(Evas_Object *obj, const char *part, const char *state, double value, char *layout); /** * @brief Gets fallback layout of the box. @@ -2408,7 +2383,7 @@ EAPI Eina_Bool edje_edit_state_box_layout_set(Evas_Object *obj, const char *part * @return Fallback layout of a BOX part in given state. * @since 1.14 */ -EAPI Eina_Stringshare * edje_edit_state_box_alt_layout_get(Evas_Object *obj, const char *part, const char *state, double value); +EDJE_API Eina_Stringshare * edje_edit_state_box_alt_layout_get(Evas_Object *obj, const char *part, const char *state, double value); /** * @brief Sets fallback layout of the box. @@ -2437,7 +2412,7 @@ EAPI Eina_Stringshare * edje_edit_state_box_alt_layout_get(Evas_Object *obj, con * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. * @since 1.14 */ -EAPI Eina_Bool edje_edit_state_box_alt_layout_set(Evas_Object *obj, const char *part, const char *state, double value, char *layout); +EDJE_API Eina_Bool edje_edit_state_box_alt_layout_set(Evas_Object *obj, const char *part, const char *state, double value, char *layout); //@} /******************************************************************************/ @@ -2465,7 +2440,7 @@ EAPI Eina_Bool edje_edit_state_box_alt_layout_set(Evas_Object *obj, const char * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. * @since 1.14 */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_table_homogeneous_set(Evas_Object *obj, const char *part, const char *state, double value, unsigned char homogeneous); /** * @brief Gets homogeneous mode for TABLE part. @@ -2483,7 +2458,7 @@ edje_edit_state_table_homogeneous_set(Evas_Object *obj, const char *part, const * @return Table homogeneous mode on success, or @c 0 on any error. * @since 1.14 */ -EAPI unsigned char edje_edit_state_table_homogeneous_get(Evas_Object *obj, const char *part, const char *state, double value); +EDJE_API unsigned char edje_edit_state_table_homogeneous_get(Evas_Object *obj, const char *part, const char *state, double value); //@} /******************************************************************************/ @@ -2516,7 +2491,7 @@ EAPI unsigned char edje_edit_state_table_homogeneous_get(Evas_Object *obj, const * @since 1.14 */ EINA_DEPRECATED -EAPI Eina_Bool edje_edit_state_container_min_get(Evas_Object *obj, const char *part, const char *state, double value, Eina_Bool *h, Eina_Bool *v); +EDJE_API Eina_Bool edje_edit_state_container_min_get(Evas_Object *obj, const char *part, const char *state, double value, Eina_Bool *h, Eina_Bool *v); /** * @brief Gets whether horizontal min size of the container is equal to the min @@ -2531,7 +2506,7 @@ EAPI Eina_Bool edje_edit_state_container_min_get(Evas_Object *obj, const char *p * @c EINA_FALSE otherwise. * @since 1.16 */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_container_min_h_get(Evas_Object *obj, const char *part, const char *state, double value); /** @@ -2547,7 +2522,7 @@ edje_edit_state_container_min_h_get(Evas_Object *obj, const char *part, const ch * @c EINA_FALSE otherwise. * @since 1.16 */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_container_min_v_get(Evas_Object *obj, const char *part, const char *state, double value); /** @@ -2570,7 +2545,7 @@ edje_edit_state_container_min_v_get(Evas_Object *obj, const char *part, const ch * @since 1.14 */ EINA_DEPRECATED -EAPI Eina_Bool edje_edit_state_container_min_set(Evas_Object *obj, const char *part, const char *state, double value, Eina_Bool h, Eina_Bool v); +EDJE_API Eina_Bool edje_edit_state_container_min_set(Evas_Object *obj, const char *part, const char *state, double value, Eina_Bool h, Eina_Bool v); /** * @brief Sets whether horizontal min size of the container should be equal to the min @@ -2586,7 +2561,7 @@ EAPI Eina_Bool edje_edit_state_container_min_set(Evas_Object *obj, const char *p * * @since 1.16 */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_container_min_h_set(Evas_Object *obj, const char *part, const char *state, double value, Eina_Bool h); /** @@ -2602,7 +2577,7 @@ edje_edit_state_container_min_h_set(Evas_Object *obj, const char *part, const ch * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. * @since 1.16 */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_container_min_v_set(Evas_Object *obj, const char *part, const char *state, double value, Eina_Bool v); /** @@ -2621,7 +2596,7 @@ edje_edit_state_container_min_v_set(Evas_Object *obj, const char *part, const ch * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. * @since 1.14 */ -EINA_DEPRECATED EAPI Eina_Bool +EINA_DEPRECATED EDJE_API Eina_Bool edje_edit_state_container_padding_get(Evas_Object *obj, const char *part, const char *state, double value, int *x, int *y); /** @@ -2635,7 +2610,7 @@ edje_edit_state_container_padding_get(Evas_Object *obj, const char *part, const * @return The padding by x axis. * @since 1.16 */ -EAPI int +EDJE_API int edje_edit_state_container_padding_x_get(Evas_Object *obj, const char *part, const char *state, double value); /** @@ -2649,7 +2624,7 @@ edje_edit_state_container_padding_x_get(Evas_Object *obj, const char *part, cons * @return The padding by y axis. * @since 1.16 */ -EAPI int +EDJE_API int edje_edit_state_container_padding_y_get(Evas_Object *obj, const char *part, const char *state, double value); /** @@ -2668,7 +2643,7 @@ edje_edit_state_container_padding_y_get(Evas_Object *obj, const char *part, cons * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. * @since 1.14 */ -EINA_DEPRECATED EAPI Eina_Bool +EINA_DEPRECATED EDJE_API Eina_Bool edje_edit_state_container_padding_set(Evas_Object *obj, const char *part, const char *state, double value, int x, int y); /** @@ -2683,7 +2658,7 @@ edje_edit_state_container_padding_set(Evas_Object *obj, const char *part, const * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. * @since 1.16 */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_container_padding_x_set(Evas_Object *obj, const char *part, const char *state, double value, int x); /** @@ -2698,7 +2673,7 @@ edje_edit_state_container_padding_x_set(Evas_Object *obj, const char *part, cons * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. * @since 1.16 */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_container_padding_y_set(Evas_Object *obj, const char *part, const char *state, double value, int y); /** @@ -2717,7 +2692,7 @@ edje_edit_state_container_padding_y_set(Evas_Object *obj, const char *part, cons * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. * @since 1.14 */ -EINA_DEPRECATED EAPI Eina_Bool +EINA_DEPRECATED EDJE_API Eina_Bool edje_edit_state_container_align_set(Evas_Object *obj, const char *part, const char *state, double value, double x, double y); /** @@ -2732,7 +2707,7 @@ edje_edit_state_container_align_set(Evas_Object *obj, const char *part, const ch * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. * @since 1.16 */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_container_align_x_set(Evas_Object *obj, const char *part, const char *state, double value, double x); /** @@ -2747,7 +2722,7 @@ edje_edit_state_container_align_x_set(Evas_Object *obj, const char *part, const * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. * @since 1.16 */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_container_align_y_set(Evas_Object *obj, const char *part, const char *state, double value, double y); /** @@ -2766,7 +2741,7 @@ edje_edit_state_container_align_y_set(Evas_Object *obj, const char *part, const * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. * @since 1.14 */ -EINA_DEPRECATED EAPI Eina_Bool +EINA_DEPRECATED EDJE_API Eina_Bool edje_edit_state_container_align_get(Evas_Object *obj, const char *part, const char *state, double value, double *x, double *y); /** @@ -2780,7 +2755,7 @@ edje_edit_state_container_align_get(Evas_Object *obj, const char *part, const ch * @return The align by x axis. * @since 1.16 */ -EAPI double +EDJE_API double edje_edit_state_container_align_x_get(Evas_Object *obj, const char *part, const char *state, double value); /** * @brief Gets y align for BOX or TABLE part. @@ -2793,7 +2768,7 @@ edje_edit_state_container_align_x_get(Evas_Object *obj, const char *part, const * @return The align by y axis. * @since 1.16 */ -EAPI double +EDJE_API double edje_edit_state_container_align_y_get(Evas_Object *obj, const char *part, const char *state, double value); //@} @@ -2816,7 +2791,7 @@ edje_edit_state_container_align_y_get(Evas_Object *obj, const char *part, const * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. * @since 1.11 */ -EAPI Eina_Bool edje_edit_part_item_append(Evas_Object *obj, const char *part, const char *item_name, const char *source_group); +EDJE_API Eina_Bool edje_edit_part_item_append(Evas_Object *obj, const char *part, const char *item_name, const char *source_group); /** * @brief Inserts new item to box or table part before specified existing item. @@ -2831,7 +2806,7 @@ EAPI Eina_Bool edje_edit_part_item_append(Evas_Object *obj, const char *part, co * @since 1.18 */ EINA_DEPRECATED -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_item_insert_before(Evas_Object *obj, const char *part, const char *item_name, const char *item_before, const char *source_group); /** @@ -2846,7 +2821,7 @@ edje_edit_part_item_insert_before(Evas_Object *obj, const char *part, const char * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. * @since 1.18 */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_item_insert_before_index(Evas_Object *obj, const char *part, const char *item_name, unsigned int index, const char *source_group); /** @@ -2862,7 +2837,7 @@ edje_edit_part_item_insert_before_index(Evas_Object *obj, const char *part, cons * @since 1.18 */ EINA_DEPRECATED -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_item_insert_after(Evas_Object *obj, const char *part, const char *item_name, const char *item_after, const char *source_group); /** @@ -2877,7 +2852,7 @@ edje_edit_part_item_insert_after(Evas_Object *obj, const char *part, const char * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. * @since 1.18 */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_item_insert_after_index(Evas_Object *obj, const char *part, const char *item_name, unsigned int index, const char *source_group); /** @@ -2893,7 +2868,7 @@ edje_edit_part_item_insert_after_index(Evas_Object *obj, const char *part, const * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. * @since 1.18 */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_item_insert_at(Evas_Object *obj, const char *part, const char *item_name, const char *source_group, unsigned int place); /** @@ -2907,7 +2882,7 @@ edje_edit_part_item_insert_at(Evas_Object *obj, const char *part, const char *it * @since 1.18 */ EINA_DEPRECATED -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_item_move_above(Evas_Object *obj, const char *part, const char *item_name); /** @@ -2920,7 +2895,7 @@ edje_edit_part_item_move_above(Evas_Object *obj, const char *part, const char *i * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. * @since 1.18 */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_item_move_above_index(Evas_Object *obj, const char *part, unsigned int index); /** @@ -2934,7 +2909,7 @@ edje_edit_part_item_move_above_index(Evas_Object *obj, const char *part, unsigne * @since 1.18 */ EINA_DEPRECATED -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_item_move_below(Evas_Object *obj, const char *part, const char *item_name); /** @@ -2947,7 +2922,7 @@ edje_edit_part_item_move_below(Evas_Object *obj, const char *part, const char *i * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. * @since 1.18 */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_item_move_below_index(Evas_Object *obj, const char *part, unsigned int index); /** @@ -2960,7 +2935,7 @@ edje_edit_part_item_move_below_index(Evas_Object *obj, const char *part, unsigne * @since 1.11 */ EINA_DEPRECATED -EAPI Eina_List * edje_edit_part_items_list_get(Evas_Object *obj, const char *part); +EDJE_API Eina_List * edje_edit_part_items_list_get(Evas_Object *obj, const char *part); /** * @brief Gets the count of part items in the given edje. @@ -2971,7 +2946,7 @@ EAPI Eina_List * edje_edit_part_items_list_get(Evas_Object *obj, const char *par * @return A count part items in case of success, and -1 otherwise. * @since 1.18 */ -EAPI int +EDJE_API int edje_edit_part_items_count_get(Evas_Object *obj, const char *part); /** @@ -2985,7 +2960,7 @@ edje_edit_part_items_count_get(Evas_Object *obj, const char *part); * @since 1.11 */ EINA_DEPRECATED -EAPI Eina_Bool edje_edit_part_item_del(Evas_Object *obj, const char *part, const char* name); +EDJE_API Eina_Bool edje_edit_part_item_del(Evas_Object *obj, const char *part, const char* name); /** * @brief Deletes item from box or table part by index. @@ -2997,7 +2972,7 @@ EAPI Eina_Bool edje_edit_part_item_del(Evas_Object *obj, const char *part, const * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. * @since 1.18 */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_item_index_del(Evas_Object *obj, const char *part, unsigned int index); /** @@ -3011,7 +2986,7 @@ edje_edit_part_item_index_del(Evas_Object *obj, const char *part, unsigned int i * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. * @since 1.18 */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_item_index_name_set(Evas_Object *obj, const char *part, unsigned int index, const char *name); /** @@ -3024,7 +2999,7 @@ edje_edit_part_item_index_name_set(Evas_Object *obj, const char *part, unsigned * @return name of the given item. * @since 1.18 */ -EAPI const char * +EDJE_API const char * edje_edit_part_item_index_name_get(Evas_Object *obj, const char *part, unsigned int index); /** @@ -3039,7 +3014,7 @@ edje_edit_part_item_index_name_get(Evas_Object *obj, const char *part, unsigned * @since 1.11 */ EINA_DEPRECATED -EAPI Eina_Bool edje_edit_part_item_source_set(Evas_Object *obj, const char *part, const char *item_name, const char *source_group); +EDJE_API Eina_Bool edje_edit_part_item_source_set(Evas_Object *obj, const char *part, const char *item_name, const char *source_group); /** * @brief Sets source for item from table or box items. @@ -3052,7 +3027,7 @@ EAPI Eina_Bool edje_edit_part_item_source_set(Evas_Object *obj, const char *part * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. * @since 1.18 */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_item_index_source_set(Evas_Object *obj, const char *part, unsigned int index, const char *source_group); /** @@ -3066,7 +3041,7 @@ edje_edit_part_item_index_source_set(Evas_Object *obj, const char *part, unsigne * @since 1.11 */ EINA_DEPRECATED -EAPI const char * edje_edit_part_item_source_get(Evas_Object *obj, const char *part, const char *item_name); +EDJE_API const char * edje_edit_part_item_source_get(Evas_Object *obj, const char *part, const char *item_name); /** * @brief Gets source for item from table or box items. @@ -3078,7 +3053,7 @@ EAPI const char * edje_edit_part_item_source_get(Evas_Object *obj, const char *p * @return source of the given item. * @since 1.18 */ -EAPI const char * +EDJE_API const char * edje_edit_part_item_index_source_get(Evas_Object *obj, const char *part, unsigned int index); /** @@ -3092,7 +3067,7 @@ edje_edit_part_item_index_source_get(Evas_Object *obj, const char *part, unsigne * @since 1.11 */ EINA_DEPRECATED -EAPI int edje_edit_part_item_min_w_get(Evas_Object *obj, const char *part, const char *item); +EDJE_API int edje_edit_part_item_min_w_get(Evas_Object *obj, const char *part, const char *item); /** * @brief Sets the minimum width value of a part's item. @@ -3107,7 +3082,7 @@ EAPI int edje_edit_part_item_min_w_get(Evas_Object *obj, const char *part, const * @since 1.11 */ EINA_DEPRECATED -EAPI Eina_Bool edje_edit_part_item_min_w_set(Evas_Object *obj, const char *part, const char *item, int min_w); +EDJE_API Eina_Bool edje_edit_part_item_min_w_set(Evas_Object *obj, const char *part, const char *item, int min_w); /** * @brief Gets the minimum height value of a part's item. @@ -3120,7 +3095,7 @@ EAPI Eina_Bool edje_edit_part_item_min_w_set(Evas_Object *obj, const char *part, * @since 1.11 */ EINA_DEPRECATED -EAPI int edje_edit_part_item_min_h_get(Evas_Object *obj, const char *part, const char *item); +EDJE_API int edje_edit_part_item_min_h_get(Evas_Object *obj, const char *part, const char *item); /** * @brief Sets the minimum height value of a part's item. @@ -3135,7 +3110,7 @@ EAPI int edje_edit_part_item_min_h_get(Evas_Object *obj, const char *part, const * @since 1.11 */ EINA_DEPRECATED -EAPI Eina_Bool edje_edit_part_item_min_h_set(Evas_Object *obj, const char *part, const char *item, int min_h); +EDJE_API Eina_Bool edje_edit_part_item_min_h_set(Evas_Object *obj, const char *part, const char *item, int min_h); /** * @brief Gets the maximum width value of a part's item. @@ -3148,7 +3123,7 @@ EAPI Eina_Bool edje_edit_part_item_min_h_set(Evas_Object *obj, const char *part, * @since 1.11 */ EINA_DEPRECATED -EAPI int edje_edit_part_item_max_w_get(Evas_Object *obj, const char *part, const char *item); +EDJE_API int edje_edit_part_item_max_w_get(Evas_Object *obj, const char *part, const char *item); /** * @brief Sets the maximum width value of a part's item. @@ -3165,7 +3140,7 @@ EAPI int edje_edit_part_item_max_w_get(Evas_Object *obj, const char *part, const * @since 1.11 */ EINA_DEPRECATED -EAPI Eina_Bool edje_edit_part_item_max_w_set(Evas_Object *obj, const char *part, const char *item, int max_w); +EDJE_API Eina_Bool edje_edit_part_item_max_w_set(Evas_Object *obj, const char *part, const char *item, int max_w); /** * @brief Gets the maximum height value of a part's item. @@ -3178,7 +3153,7 @@ EAPI Eina_Bool edje_edit_part_item_max_w_set(Evas_Object *obj, const char *part, * @since 1.11 */ EINA_DEPRECATED -EAPI int edje_edit_part_item_max_h_get(Evas_Object *obj, const char *part, const char *item); +EDJE_API int edje_edit_part_item_max_h_get(Evas_Object *obj, const char *part, const char *item); /** * @brief Sets the maximum height value of a part's item. @@ -3195,7 +3170,7 @@ EAPI int edje_edit_part_item_max_h_get(Evas_Object *obj, const char *part, const * @since 1.11 */ EINA_DEPRECATED -EAPI Eina_Bool edje_edit_part_item_max_h_set(Evas_Object *obj, const char *part, const char *item, int max_h); +EDJE_API Eina_Bool edje_edit_part_item_max_h_set(Evas_Object *obj, const char *part, const char *item, int max_h); /** * @brief Gets the aspect width value of a part's item. @@ -3208,7 +3183,7 @@ EAPI Eina_Bool edje_edit_part_item_max_h_set(Evas_Object *obj, const char *part, * @since 1.11 */ EINA_DEPRECATED -EAPI int edje_edit_part_item_aspect_w_get(Evas_Object *obj, const char *part, const char *item); +EDJE_API int edje_edit_part_item_aspect_w_get(Evas_Object *obj, const char *part, const char *item); /** * @brief Sets the aspect width value of a part's item. @@ -3222,7 +3197,7 @@ EAPI int edje_edit_part_item_aspect_w_get(Evas_Object *obj, const char *part, co * @since 1.11 */ EINA_DEPRECATED -EAPI Eina_Bool edje_edit_part_item_aspect_w_set(Evas_Object *obj, const char *part, const char *item, int aspect_w); +EDJE_API Eina_Bool edje_edit_part_item_aspect_w_set(Evas_Object *obj, const char *part, const char *item, int aspect_w); /** * @brief Gets the aspect height value of a part's item. @@ -3235,7 +3210,7 @@ EAPI Eina_Bool edje_edit_part_item_aspect_w_set(Evas_Object *obj, const char *pa * @since 1.11 */ EINA_DEPRECATED -EAPI int edje_edit_part_item_aspect_h_get(Evas_Object *obj, const char *part, const char *item); +EDJE_API int edje_edit_part_item_aspect_h_get(Evas_Object *obj, const char *part, const char *item); /** * @brief Sets the aspect height value of a part's item. @@ -3249,7 +3224,7 @@ EAPI int edje_edit_part_item_aspect_h_get(Evas_Object *obj, const char *part, co * @since 1.11 */ EINA_DEPRECATED -EAPI Eina_Bool edje_edit_part_item_aspect_h_set(Evas_Object *obj, const char *part, const char *item, int aspect_h); +EDJE_API Eina_Bool edje_edit_part_item_aspect_h_set(Evas_Object *obj, const char *part, const char *item, int aspect_h); /** * @brief Gets the prefer width value of a part's item. @@ -3262,7 +3237,7 @@ EAPI Eina_Bool edje_edit_part_item_aspect_h_set(Evas_Object *obj, const char *pa * @since 1.11 */ EINA_DEPRECATED -EAPI int edje_edit_part_item_prefer_w_get(Evas_Object *obj, const char *part, const char *item); +EDJE_API int edje_edit_part_item_prefer_w_get(Evas_Object *obj, const char *part, const char *item); /** * @brief Gets aspect mode for an item of TABLE or BOX. @@ -3282,7 +3257,7 @@ EAPI int edje_edit_part_item_prefer_w_get(Evas_Object *obj, const char *part, co * @since 1.11 */ EINA_DEPRECATED -EAPI Edje_Aspect_Control +EDJE_API Edje_Aspect_Control edje_edit_part_item_aspect_mode_get(Evas_Object *obj, const char *part, const char *item); /** @@ -3304,7 +3279,7 @@ edje_edit_part_item_aspect_mode_get(Evas_Object *obj, const char *part, const ch * @since 1.11 */ EINA_DEPRECATED -EAPI Eina_Bool edje_edit_part_item_aspect_mode_set(Evas_Object *obj, const char *part, const char *item, Edje_Aspect_Control mode); +EDJE_API Eina_Bool edje_edit_part_item_aspect_mode_set(Evas_Object *obj, const char *part, const char *item, Edje_Aspect_Control mode); /** * @brief Sets the prefer width value of a part's item. @@ -3318,7 +3293,7 @@ EAPI Eina_Bool edje_edit_part_item_aspect_mode_set(Evas_Object *obj, const char * @since 1.11 */ EINA_DEPRECATED -EAPI Eina_Bool edje_edit_part_item_prefer_w_set(Evas_Object *obj, const char *part, const char *item, int prefer_w); +EDJE_API Eina_Bool edje_edit_part_item_prefer_w_set(Evas_Object *obj, const char *part, const char *item, int prefer_w); /** * @brief Gets the prefer height value of a part's item. @@ -3331,7 +3306,7 @@ EAPI Eina_Bool edje_edit_part_item_prefer_w_set(Evas_Object *obj, const char *pa * @since 1.11 */ EINA_DEPRECATED -EAPI int edje_edit_part_item_prefer_h_get(Evas_Object *obj, const char *part, const char *item); +EDJE_API int edje_edit_part_item_prefer_h_get(Evas_Object *obj, const char *part, const char *item); /** * @brief Sets the prefer height value of a part's item. @@ -3345,7 +3320,7 @@ EAPI int edje_edit_part_item_prefer_h_get(Evas_Object *obj, const char *part, co * @since 1.11 */ EINA_DEPRECATED -EAPI Eina_Bool edje_edit_part_item_prefer_h_set(Evas_Object *obj, const char *part, const char *item, int prefer_h); +EDJE_API Eina_Bool edje_edit_part_item_prefer_h_set(Evas_Object *obj, const char *part, const char *item, int prefer_h); /** * @brief Gets the spread width value of a part's item. @@ -3358,7 +3333,7 @@ EAPI Eina_Bool edje_edit_part_item_prefer_h_set(Evas_Object *obj, const char *pa * @since 1.11 */ EINA_DEPRECATED -EAPI int edje_edit_part_item_spread_w_get(Evas_Object *obj, const char *part, const char *item); +EDJE_API int edje_edit_part_item_spread_w_get(Evas_Object *obj, const char *part, const char *item); /** * @brief Sets the spread width value of a part's item. @@ -3377,7 +3352,7 @@ EAPI int edje_edit_part_item_spread_w_get(Evas_Object *obj, const char *part, co * @since 1.11 */ EINA_DEPRECATED -EAPI Eina_Bool edje_edit_part_item_spread_w_set(Evas_Object *obj, const char *part, const char *item, int spread_w); +EDJE_API Eina_Bool edje_edit_part_item_spread_w_set(Evas_Object *obj, const char *part, const char *item, int spread_w); /** * @brief Gets the spread height value of a part's item. @@ -3395,7 +3370,7 @@ EAPI Eina_Bool edje_edit_part_item_spread_w_set(Evas_Object *obj, const char *pa * @since 1.11 */ EINA_DEPRECATED -EAPI int edje_edit_part_item_spread_h_get(Evas_Object *obj, const char *part, const char *item); +EDJE_API int edje_edit_part_item_spread_h_get(Evas_Object *obj, const char *part, const char *item); /** * @brief Sets the spread height value of a part's item. @@ -3409,7 +3384,7 @@ EAPI int edje_edit_part_item_spread_h_get(Evas_Object *obj, const char *part, co * @since 1.11 */ EINA_DEPRECATED -EAPI Eina_Bool edje_edit_part_item_spread_h_set(Evas_Object *obj, const char *part, const char *item, int spread_h); +EDJE_API Eina_Bool edje_edit_part_item_spread_h_set(Evas_Object *obj, const char *part, const char *item, int spread_h); /** * @brief Gets the minimum width value of a part's item. @@ -3421,7 +3396,7 @@ EAPI Eina_Bool edje_edit_part_item_spread_h_set(Evas_Object *obj, const char *pa * @return The minimum width value. * @since 1.18 */ -EAPI int +EDJE_API int edje_edit_part_item_index_min_w_get(Evas_Object *obj, const char *part, unsigned int index); /** @@ -3436,7 +3411,7 @@ edje_edit_part_item_index_min_w_get(Evas_Object *obj, const char *part, unsigned * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. * @since 1.18 */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_item_index_min_w_set(Evas_Object *obj, const char *part, unsigned int index, int min_w); /** @@ -3449,7 +3424,7 @@ edje_edit_part_item_index_min_w_set(Evas_Object *obj, const char *part, unsigned * @return The minimum height value. * @since 1.18 */ -EAPI int +EDJE_API int edje_edit_part_item_index_min_h_get(Evas_Object *obj, const char *part, unsigned int index); /** @@ -3464,7 +3439,7 @@ edje_edit_part_item_index_min_h_get(Evas_Object *obj, const char *part, unsigned * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. * @since 1.18 */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_item_index_min_h_set(Evas_Object *obj, const char *part, unsigned int index, int min_h); /** @@ -3477,7 +3452,7 @@ edje_edit_part_item_index_min_h_set(Evas_Object *obj, const char *part, unsigned * @return The maximum width value. * @since 1.18 */ -EAPI int +EDJE_API int edje_edit_part_item_index_max_w_get(Evas_Object *obj, const char *part, unsigned int index); /** @@ -3494,7 +3469,7 @@ edje_edit_part_item_index_max_w_get(Evas_Object *obj, const char *part, unsigned * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. * @since 1.18 */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_item_index_max_w_set(Evas_Object *obj, const char *part, unsigned int index, int max_w); /** @@ -3507,7 +3482,7 @@ edje_edit_part_item_index_max_w_set(Evas_Object *obj, const char *part, unsigned * @return The maximum height value. * @since 1.18 */ -EAPI int +EDJE_API int edje_edit_part_item_index_max_h_get(Evas_Object *obj, const char *part, unsigned int index); /** @@ -3524,7 +3499,7 @@ edje_edit_part_item_index_max_h_get(Evas_Object *obj, const char *part, unsigned * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. * @since 1.18 */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_item_index_max_h_set(Evas_Object *obj, const char *part, unsigned int index, int max_h); /** @@ -3537,7 +3512,7 @@ edje_edit_part_item_index_max_h_set(Evas_Object *obj, const char *part, unsigned * @return The aspect width value. * @since 1.18 */ -EAPI int +EDJE_API int edje_edit_part_item_index_aspect_w_get(Evas_Object *obj, const char *part, unsigned int index); /** @@ -3551,7 +3526,7 @@ edje_edit_part_item_index_aspect_w_get(Evas_Object *obj, const char *part, unsig * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. * @since 1.18 */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_item_index_aspect_w_set(Evas_Object *obj, const char *part, unsigned int index, int aspect_w); /** @@ -3564,7 +3539,7 @@ edje_edit_part_item_index_aspect_w_set(Evas_Object *obj, const char *part, unsig * @return The maximum height value. * @since 1.18 */ -EAPI int +EDJE_API int edje_edit_part_item_index_aspect_h_get(Evas_Object *obj, const char *part, unsigned int index); /** @@ -3578,7 +3553,7 @@ edje_edit_part_item_index_aspect_h_get(Evas_Object *obj, const char *part, unsig * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. * @since 1.18 */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_item_index_aspect_h_set(Evas_Object *obj, const char *part, unsigned int index, int aspect_h); /** @@ -3591,7 +3566,7 @@ edje_edit_part_item_index_aspect_h_set(Evas_Object *obj, const char *part, unsig * @return The prefer width value. * @since 1.18 */ -EAPI int +EDJE_API int edje_edit_part_item_index_prefer_w_get(Evas_Object *obj, const char *part, unsigned int index); /** @@ -3611,7 +3586,7 @@ edje_edit_part_item_index_prefer_w_get(Evas_Object *obj, const char *part, unsig * @return One of possible enum Edje_Aspect_Control. * @since 1.18 */ -EAPI Edje_Aspect_Control +EDJE_API Edje_Aspect_Control edje_edit_part_item_index_aspect_mode_get(Evas_Object *obj, const char *part, unsigned int index); /** @@ -3632,7 +3607,7 @@ edje_edit_part_item_index_aspect_mode_get(Evas_Object *obj, const char *part, un * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. * @since 1.18 */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_item_index_aspect_mode_set(Evas_Object *obj, const char *part, unsigned int index, Edje_Aspect_Control mode); /** @@ -3646,7 +3621,7 @@ edje_edit_part_item_index_aspect_mode_set(Evas_Object *obj, const char *part, un * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. * @since 1.18 */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_item_index_prefer_w_set(Evas_Object *obj, const char *part, unsigned int index, int prefer_w); /** @@ -3659,7 +3634,7 @@ edje_edit_part_item_index_prefer_w_set(Evas_Object *obj, const char *part, unsig * @return The maximum height value. * @since 1.18 */ -EAPI int +EDJE_API int edje_edit_part_item_index_prefer_h_get(Evas_Object *obj, const char *part, unsigned int index); /** @@ -3673,7 +3648,7 @@ edje_edit_part_item_index_prefer_h_get(Evas_Object *obj, const char *part, unsig * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. * @since 1.18 */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_item_index_prefer_h_set(Evas_Object *obj, const char *part, unsigned int index, int prefer_h); /** @@ -3686,7 +3661,7 @@ edje_edit_part_item_index_prefer_h_set(Evas_Object *obj, const char *part, unsig * @return The spread width value. * @since 1.18 */ -EAPI int +EDJE_API int edje_edit_part_item_index_spread_w_get(Evas_Object *obj, const char *part, unsigned int index); /** @@ -3705,7 +3680,7 @@ edje_edit_part_item_index_spread_w_get(Evas_Object *obj, const char *part, unsig * @return @c EINA_TRUE if successful, @c EINA_FALSE otherwise. * @since 1.18 */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_item_index_spread_w_set(Evas_Object *obj, const char *part, unsigned int index, int spread_w); /** @@ -3723,7 +3698,7 @@ edje_edit_part_item_index_spread_w_set(Evas_Object *obj, const char *part, unsig * @return The spread height value. * @since 1.18 */ -EAPI int +EDJE_API int edje_edit_part_item_index_spread_h_get(Evas_Object *obj, const char *part, unsigned int index); /** @@ -3737,7 +3712,7 @@ edje_edit_part_item_index_spread_h_get(Evas_Object *obj, const char *part, unsig * @return @c EINA_TRUE if successful, @c EINA_FALSE otherwise. * @since 1.18 */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_item_index_spread_h_set(Evas_Object *obj, const char *part, unsigned int index, int spread_h); /** @@ -3755,7 +3730,7 @@ edje_edit_part_item_index_spread_h_set(Evas_Object *obj, const char *part, unsig * @since 1.11 */ EINA_DEPRECATED -EAPI Eina_Bool edje_edit_part_item_padding_get(Evas_Object *obj, const char *part, const char *item_name, int *l, int *r, int *t, int *b); +EDJE_API Eina_Bool edje_edit_part_item_padding_get(Evas_Object *obj, const char *part, const char *item_name, int *l, int *r, int *t, int *b); /** * @brief Sets paddings of the part's item. @@ -3772,7 +3747,7 @@ EAPI Eina_Bool edje_edit_part_item_padding_get(Evas_Object *obj, const char *par * @since 1.11 */ EINA_DEPRECATED -EAPI Eina_Bool edje_edit_part_item_padding_set(Evas_Object *obj, const char *part, const char *item_name, int l, int r, int t, int b); +EDJE_API Eina_Bool edje_edit_part_item_padding_set(Evas_Object *obj, const char *part, const char *item_name, int l, int r, int t, int b); /** * @brief Gets paddings of the part's item. @@ -3788,7 +3763,7 @@ EAPI Eina_Bool edje_edit_part_item_padding_set(Evas_Object *obj, const char *par * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. * @since 1.18 */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_item_index_padding_get(Evas_Object *obj, const char *part, unsigned int index, int *l, int *r, int *t, int *b); /** @@ -3805,7 +3780,7 @@ edje_edit_part_item_index_padding_get(Evas_Object *obj, const char *part, unsign * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. * @since 1.18 */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_item_index_padding_set(Evas_Object *obj, const char *part, unsigned int index, int l, int r, int t, int b); /** @@ -3819,7 +3794,7 @@ edje_edit_part_item_index_padding_set(Evas_Object *obj, const char *part, unsign * @since 1.11 */ EINA_DEPRECATED -EAPI double edje_edit_part_item_align_x_get(Evas_Object *obj, const char *part, const char *item); +EDJE_API double edje_edit_part_item_align_x_get(Evas_Object *obj, const char *part, const char *item); /** * @brief Gets the horizontal align value of a part state. @@ -3831,7 +3806,7 @@ EAPI double edje_edit_part_item_align_x_get(Evas_Object *obj, const char *part, * @return The horizontal align value for the given align (value is between -1.0 and 1.0) * @since 1.18 */ -EAPI double +EDJE_API double edje_edit_part_item_index_align_x_get(Evas_Object *obj, const char *part, unsigned int index); /** @@ -3846,7 +3821,7 @@ edje_edit_part_item_index_align_x_get(Evas_Object *obj, const char *part, unsign * @since 1.11 */ EINA_DEPRECATED -EAPI Eina_Bool edje_edit_part_item_align_x_set(Evas_Object *obj, const char *part, const char *item, double align_x); +EDJE_API Eina_Bool edje_edit_part_item_align_x_set(Evas_Object *obj, const char *part, const char *item, double align_x); /** * @brief Sets the horizontal align value of a part state. @@ -3859,7 +3834,7 @@ EAPI Eina_Bool edje_edit_part_item_align_x_set(Evas_Object *obj, const char *par * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. * @since 1.18 */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_item_index_align_x_set(Evas_Object *obj, const char *part, unsigned int index, double align_x); /** @@ -3873,7 +3848,7 @@ edje_edit_part_item_index_align_x_set(Evas_Object *obj, const char *part, unsign * @since 1.11 */ EINA_DEPRECATED -EAPI double edje_edit_part_item_align_y_get(Evas_Object *obj, const char *part, const char *item); +EDJE_API double edje_edit_part_item_align_y_get(Evas_Object *obj, const char *part, const char *item); /** * @brief Gets the vertical align value of a part state. @@ -3885,7 +3860,7 @@ EAPI double edje_edit_part_item_align_y_get(Evas_Object *obj, const char *part, * @return The vertical align value for the given align (value is between -1.0 and 1.0) * @since 1.18 */ -EAPI double +EDJE_API double edje_edit_part_item_index_align_y_get(Evas_Object *obj, const char *part, unsigned int index); /** @@ -3900,7 +3875,7 @@ edje_edit_part_item_index_align_y_get(Evas_Object *obj, const char *part, unsign * @since 1.11 */ EINA_DEPRECATED -EAPI Eina_Bool edje_edit_part_item_align_y_set(Evas_Object *obj, const char *part, const char *item, double align_y); +EDJE_API Eina_Bool edje_edit_part_item_align_y_set(Evas_Object *obj, const char *part, const char *item, double align_y); /** * @brief Sets the vertical align value of a part state. @@ -3913,7 +3888,7 @@ EAPI Eina_Bool edje_edit_part_item_align_y_set(Evas_Object *obj, const char *par * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. * @since 1.18 */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_item_index_align_y_set(Evas_Object *obj, const char *part, unsigned int index, double align_y); /** @@ -3927,7 +3902,7 @@ edje_edit_part_item_index_align_y_set(Evas_Object *obj, const char *part, unsign * @since 1.11 */ EINA_DEPRECATED -EAPI double edje_edit_part_item_weight_x_get(Evas_Object *obj, const char *part, const char *item); +EDJE_API double edje_edit_part_item_weight_x_get(Evas_Object *obj, const char *part, const char *item); /** * @brief Gets the horizontal weight value of a part item. @@ -3939,7 +3914,7 @@ EAPI double edje_edit_part_item_weight_x_get(Evas_Object *obj, const char *part, * @return The horizontal weight value for the given item (value is between -1.0 and 1.0) * @since 1.18 */ -EAPI double +EDJE_API double edje_edit_part_item_index_weight_x_get(Evas_Object *obj, const char *part, unsigned int index); /** @@ -3954,7 +3929,7 @@ edje_edit_part_item_index_weight_x_get(Evas_Object *obj, const char *part, unsig * @since 1.11 */ EINA_DEPRECATED -EAPI Eina_Bool edje_edit_part_item_weight_x_set(Evas_Object *obj, const char *part, const char *item, double weight_x); +EDJE_API Eina_Bool edje_edit_part_item_weight_x_set(Evas_Object *obj, const char *part, const char *item, double weight_x); /** * @brief Sets the horizontal we value of a part item. @@ -3967,7 +3942,7 @@ EAPI Eina_Bool edje_edit_part_item_weight_x_set(Evas_Object *obj, const char *pa * @return @c EINA_TRUE If successful, @c EINA_FALSE otherwise. * @since 1.18 */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_item_index_weight_x_set(Evas_Object *obj, const char *part, unsigned int index, double weight_x); /** @@ -3981,7 +3956,7 @@ edje_edit_part_item_index_weight_x_set(Evas_Object *obj, const char *part, unsig * @since 1.11 */ EINA_DEPRECATED -EAPI double edje_edit_part_item_weight_y_get(Evas_Object *obj, const char *part, const char *item); +EDJE_API double edje_edit_part_item_weight_y_get(Evas_Object *obj, const char *part, const char *item); /** * @brief Gets the vertical weight value of a part item. @@ -3993,7 +3968,7 @@ EAPI double edje_edit_part_item_weight_y_get(Evas_Object *obj, const char *part, * @return The vertical weight value for the given item (value is between -1.0 and 1.0) * @since 1.18 */ -EAPI double +EDJE_API double edje_edit_part_item_index_weight_y_get(Evas_Object *obj, const char *part, unsigned int index); /** @@ -4008,7 +3983,7 @@ edje_edit_part_item_index_weight_y_get(Evas_Object *obj, const char *part, unsig * @since 1.11 */ EINA_DEPRECATED -EAPI Eina_Bool edje_edit_part_item_weight_y_set(Evas_Object *obj, const char *part, const char *item, double weight_y); +EDJE_API Eina_Bool edje_edit_part_item_weight_y_set(Evas_Object *obj, const char *part, const char *item, double weight_y); /** * @brief Sets the vertical weight value of a part item. @@ -4021,7 +3996,7 @@ EAPI Eina_Bool edje_edit_part_item_weight_y_set(Evas_Object *obj, const char *pa * @return @c EINA_TRUE If successful, @c EINA_FALSE otherwise. * @since 1.18 */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_item_index_weight_y_set(Evas_Object *obj, const char *part, unsigned int index, double weight_y); /** @@ -4040,7 +4015,7 @@ edje_edit_part_item_index_weight_y_set(Evas_Object *obj, const char *part, unsig * @since 1.11 */ EINA_DEPRECATED -EAPI Eina_Bool edje_edit_part_item_position_get(Evas_Object *obj, const char *part, const char *item_name, unsigned short *col, unsigned short *row); +EDJE_API Eina_Bool edje_edit_part_item_position_get(Evas_Object *obj, const char *part, const char *item_name, unsigned short *col, unsigned short *row); /** * @brief Gets the horizontal align value of a part state. @@ -4052,7 +4027,7 @@ EAPI Eina_Bool edje_edit_part_item_position_get(Evas_Object *obj, const char *pa * @return The horizontal align value for the given align (value is between -1.0 and 1.0) * @since 1.18 */ -EAPI double +EDJE_API double edje_edit_part_item_item_align_x_get(Evas_Object *obj, const char *part, unsigned int index); /** @@ -4066,7 +4041,7 @@ edje_edit_part_item_item_align_x_get(Evas_Object *obj, const char *part, unsigne * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. * @since 1.18 */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_item_item_align_x_set(Evas_Object *obj, const char *part, unsigned int index, double align_x); /** @@ -4079,7 +4054,7 @@ edje_edit_part_item_item_align_x_set(Evas_Object *obj, const char *part, unsigne * @return The vertical align value for the given align (value is between -1.0 and 1.0) * @since 1.18 */ -EAPI double +EDJE_API double edje_edit_part_item_item_align_y_get(Evas_Object *obj, const char *part, unsigned int index); /** @@ -4093,7 +4068,7 @@ edje_edit_part_item_item_align_y_get(Evas_Object *obj, const char *part, unsigne * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. * @since 1.18 */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_item_item_align_y_set(Evas_Object *obj, const char *part, unsigned int index, double align_y); /** @@ -4106,7 +4081,7 @@ edje_edit_part_item_item_align_y_set(Evas_Object *obj, const char *part, unsigne * @return The horizontal weight value for the given item (value is between -1.0 and 1.0) * @since 1.18 */ -EAPI double +EDJE_API double edje_edit_part_item_item_weight_x_get(Evas_Object *obj, const char *part, unsigned int index); /** @@ -4120,7 +4095,7 @@ edje_edit_part_item_item_weight_x_get(Evas_Object *obj, const char *part, unsign * @return @c EINA_TRUE If successful, @c EINA_FALSE otherwise. * @since 1.18 */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_item_item_weight_x_set(Evas_Object *obj, const char *part, unsigned int index, double weight_x); /** @@ -4133,7 +4108,7 @@ edje_edit_part_item_item_weight_x_set(Evas_Object *obj, const char *part, unsign * @return The vertical weight value for the given item (value is between -1.0 and 1.0) * @since 1.18 */ -EAPI double +EDJE_API double edje_edit_part_item_item_weight_y_get(Evas_Object *obj, const char *part, unsigned int index); /** @@ -4147,7 +4122,7 @@ edje_edit_part_item_item_weight_y_get(Evas_Object *obj, const char *part, unsign * @return @c EINA_TRUE If successful, @c EINA_FALSE otherwise. * @since 1.18 */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_item_item_weight_y_set(Evas_Object *obj, const char *part, unsigned int index, double weight_y); /** @@ -4161,7 +4136,7 @@ edje_edit_part_item_item_weight_y_set(Evas_Object *obj, const char *part, unsign * @since 1.16 */ EINA_DEPRECATED -EAPI unsigned short +EDJE_API unsigned short edje_edit_part_item_position_col_get(Evas_Object *obj, const char *part, const char *item_name); /** @@ -4175,7 +4150,7 @@ edje_edit_part_item_position_col_get(Evas_Object *obj, const char *part, const c * @since 1.16 */ EINA_DEPRECATED -EAPI unsigned short +EDJE_API unsigned short edje_edit_part_item_position_row_get(Evas_Object *obj, const char *part, const char *item_name); /** @@ -4188,7 +4163,7 @@ edje_edit_part_item_position_row_get(Evas_Object *obj, const char *part, const c * @return The item column value. * @since 1.18 */ -EAPI unsigned short +EDJE_API unsigned short edje_edit_part_item_index_position_col_get(Evas_Object *obj, const char *part, unsigned int index); /** @@ -4201,7 +4176,7 @@ edje_edit_part_item_index_position_col_get(Evas_Object *obj, const char *part, u * @return The item row value. * @since 1.18 */ -EAPI unsigned short +EDJE_API unsigned short edje_edit_part_item_index_position_row_get(Evas_Object *obj, const char *part, unsigned int index); /** @@ -4220,7 +4195,7 @@ edje_edit_part_item_index_position_row_get(Evas_Object *obj, const char *part, u * @since 1.11 */ EINA_DEPRECATED -EAPI Eina_Bool edje_edit_part_item_position_set(Evas_Object *obj, const char *part, const char *item_name, unsigned short col, unsigned short row); +EDJE_API Eina_Bool edje_edit_part_item_position_set(Evas_Object *obj, const char *part, const char *item_name, unsigned short col, unsigned short row); /** * @brief Sets column position of a part item. @@ -4234,7 +4209,7 @@ EAPI Eina_Bool edje_edit_part_item_position_set(Evas_Object *obj, const char *pa * @since 1.16 */ EINA_DEPRECATED -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_item_position_col_set(Evas_Object *obj, const char *part, const char *item_name, unsigned short col); /** @@ -4249,7 +4224,7 @@ edje_edit_part_item_position_col_set(Evas_Object *obj, const char *part, const c * @since 1.16 */ EINA_DEPRECATED -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_item_position_row_set(Evas_Object *obj, const char *part, const char *item_name, unsigned short row); /** @@ -4263,7 +4238,7 @@ edje_edit_part_item_position_row_set(Evas_Object *obj, const char *part, const c * @return @c EINA_TRUE If successful, @c EINA_FALSE otherwise. * @since 1.18 */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_item_index_position_col_set(Evas_Object *obj, const char *part, unsigned int index, unsigned short col); /** @@ -4277,7 +4252,7 @@ edje_edit_part_item_index_position_col_set(Evas_Object *obj, const char *part, u * @return @c EINA_TRUE If successful, @c EINA_FALSE otherwise. * @since 1.18 */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_item_index_position_row_set(Evas_Object *obj, const char *part, unsigned int index, unsigned short row); @@ -4296,7 +4271,7 @@ edje_edit_part_item_index_position_row_set(Evas_Object *obj, const char *part, u * @since 1.11 */ EINA_DEPRECATED -EAPI void edje_edit_part_item_span_get(Evas_Object *obj, const char *part, const char *item, unsigned char *col, unsigned char *row); +EDJE_API void edje_edit_part_item_span_get(Evas_Object *obj, const char *part, const char *item, unsigned char *col, unsigned char *row); /** * @brief Gets the number of span columns. @@ -4309,7 +4284,7 @@ EAPI void edje_edit_part_item_span_get(Evas_Object *obj, const char *part, const * @since 1.16 */ EINA_DEPRECATED -EAPI unsigned short +EDJE_API unsigned short edje_edit_part_item_span_col_get(Evas_Object *obj, const char *part, const char *item); /** @@ -4323,7 +4298,7 @@ edje_edit_part_item_span_col_get(Evas_Object *obj, const char *part, const char * @since 1.16 */ EINA_DEPRECATED -EAPI unsigned short +EDJE_API unsigned short edje_edit_part_item_span_row_get(Evas_Object *obj, const char *part, const char *item); /** @@ -4339,7 +4314,7 @@ edje_edit_part_item_span_row_get(Evas_Object *obj, const char *part, const char * @since 1.11 */ EINA_DEPRECATED -EAPI Eina_Bool edje_edit_part_item_span_set(Evas_Object *obj, const char *part, const char *item, unsigned char col, unsigned char row); +EDJE_API Eina_Bool edje_edit_part_item_span_set(Evas_Object *obj, const char *part, const char *item, unsigned char col, unsigned char row); /** * @brief Sets the count of columns which this item will spans for use. @@ -4353,7 +4328,7 @@ EAPI Eina_Bool edje_edit_part_item_span_set(Evas_Object *obj, const char *part, * @since 1.16 */ EINA_DEPRECATED -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_item_span_col_set(Evas_Object *obj, const char *part, const char *item, unsigned short col); /** @@ -4368,7 +4343,7 @@ edje_edit_part_item_span_col_set(Evas_Object *obj, const char *part, const char * @since 1.16 */ EINA_DEPRECATED -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_item_span_row_set(Evas_Object *obj, const char *part, const char *item, unsigned short row); /** @@ -4382,7 +4357,7 @@ edje_edit_part_item_span_row_set(Evas_Object *obj, const char *part, const char * @return @c EINA_TRUE if successful, @c EINA_FALSE otherwise. * @since 1.18 */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_item_index_span_col_set(Evas_Object *obj, const char *part, unsigned int index, unsigned short col); /** @@ -4396,7 +4371,7 @@ edje_edit_part_item_index_span_col_set(Evas_Object *obj, const char *part, unsig * @return @c EINA_TRUE if successful, @c EINA_FALSE otherwise. * @since 1.18 */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_item_index_span_row_set(Evas_Object *obj, const char *part, unsigned int index, unsigned short row); /** @@ -4409,7 +4384,7 @@ edje_edit_part_item_index_span_row_set(Evas_Object *obj, const char *part, unsig * @return The count of span columns. * @since 1.18 */ -EAPI unsigned short +EDJE_API unsigned short edje_edit_part_item_index_span_col_get(Evas_Object *obj, const char *part, unsigned int index); /** @@ -4422,7 +4397,7 @@ edje_edit_part_item_index_span_col_get(Evas_Object *obj, const char *part, unsig * @return The count of span rows. * @since 1.18 */ -EAPI unsigned short +EDJE_API unsigned short edje_edit_part_item_index_span_row_get(Evas_Object *obj, const char *part, unsigned int index); //@} @@ -4445,7 +4420,7 @@ edje_edit_part_item_index_span_row_get(Evas_Object *obj, const char *part, unsig * * Use edje_edit_string_list_free() when you don't need it anymore. */ -EAPI Eina_List * edje_edit_part_states_list_get(Evas_Object *obj, const char *part); +EDJE_API Eina_List * edje_edit_part_states_list_get(Evas_Object *obj, const char *part); /** * @brief Sets a new name for the given state in the given part. @@ -4459,7 +4434,7 @@ EAPI Eina_List * edje_edit_part_states_list_get(Evas_Object *obj, const char *pa * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_state_name_set(Evas_Object *obj, const char *part, const char *state, double value, const char *new_name, double new_value); +EDJE_API Eina_Bool edje_edit_state_name_set(Evas_Object *obj, const char *part, const char *state, double value, const char *new_name, double new_value); /** * @brief Creates a new state to the give part. @@ -4471,7 +4446,7 @@ EAPI Eina_Bool edje_edit_state_name_set(Evas_Object *obj, const char *part, cons * * @return @c EINA_TRUE if successfully, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_state_add(Evas_Object *obj, const char *part, const char *name, double value); +EDJE_API Eina_Bool edje_edit_state_add(Evas_Object *obj, const char *part, const char *name, double value); /** * @brief Deletes the given part state from the edje. @@ -4483,7 +4458,7 @@ EAPI Eina_Bool edje_edit_state_add(Evas_Object *obj, const char *part, const cha * * @return @c EINA_TRUE if successfully, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_state_del(Evas_Object *obj, const char *part, const char *state, double value); +EDJE_API Eina_Bool edje_edit_state_del(Evas_Object *obj, const char *part, const char *state, double value); /** * @brief Checks if a part state with the given name exist. @@ -4495,7 +4470,7 @@ EAPI Eina_Bool edje_edit_state_del(Evas_Object *obj, const char *part, const cha * * @return @c EINA_TRUE if the part state exist, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_state_exist(Evas_Object *obj, const char *part, const char *state, double value); +EDJE_API Eina_Bool edje_edit_state_exist(Evas_Object *obj, const char *part, const char *state, double value); /** * @brief Copies the state @p from into @p to. If @p to doesn't exist it will be created. @@ -4509,7 +4484,7 @@ EAPI Eina_Bool edje_edit_state_exist(Evas_Object *obj, const char *part, const c * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_state_copy(Evas_Object *obj, const char *part, const char *from, double val_from, const char *to, double val_to); +EDJE_API Eina_Bool edje_edit_state_copy(Evas_Object *obj, const char *part, const char *from, double val_from, const char *to, double val_to); /** * @brief Gets the 'rel1 relative X' value of state. @@ -4521,7 +4496,7 @@ EAPI Eina_Bool edje_edit_state_copy(Evas_Object *obj, const char *part, const ch * * @return The 'rel1 relative X' value of the part state. */ -EAPI double edje_edit_state_rel1_relative_x_get(Evas_Object *obj, const char *part, const char *state, double value); +EDJE_API double edje_edit_state_rel1_relative_x_get(Evas_Object *obj, const char *part, const char *state, double value); /** * @brief Gets the 'rel1 relative Y' value of state. @@ -4533,7 +4508,7 @@ EAPI double edje_edit_state_rel1_relative_x_get(Evas_Object *obj, const char *pa * * @return The 'rel1 relative Y' value of the part state. */ -EAPI double edje_edit_state_rel1_relative_y_get(Evas_Object *obj, const char *part, const char *state, double value); +EDJE_API double edje_edit_state_rel1_relative_y_get(Evas_Object *obj, const char *part, const char *state, double value); /** * @brief Gets the 'rel2 relative X' value of state. @@ -4545,7 +4520,7 @@ EAPI double edje_edit_state_rel1_relative_y_get(Evas_Object *obj, const char *pa * * @return The 'rel2 relative X' value of the part state. */ -EAPI double edje_edit_state_rel2_relative_x_get(Evas_Object *obj, const char *part, const char *state, double value); +EDJE_API double edje_edit_state_rel2_relative_x_get(Evas_Object *obj, const char *part, const char *state, double value); /** * @brief Gets the 'rel2 relative Y' value of state. @@ -4557,7 +4532,7 @@ EAPI double edje_edit_state_rel2_relative_x_get(Evas_Object *obj, const char *pa * * @return The 'rel2 relative Y' value of the part state. */ -EAPI double edje_edit_state_rel2_relative_y_get(Evas_Object *obj, const char *part, const char *state, double value); +EDJE_API double edje_edit_state_rel2_relative_y_get(Evas_Object *obj, const char *part, const char *state, double value); /** * @brief Sets the 'rel1 relative X' value of state. @@ -4570,7 +4545,7 @@ EAPI double edje_edit_state_rel2_relative_y_get(Evas_Object *obj, const char *pa * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_state_rel1_relative_x_set(Evas_Object *obj, const char *part, const char *state, double value, double x); +EDJE_API Eina_Bool edje_edit_state_rel1_relative_x_set(Evas_Object *obj, const char *part, const char *state, double value, double x); /** * @brief Sets the 'rel1 relative Y' value of state. @@ -4583,7 +4558,7 @@ EAPI Eina_Bool edje_edit_state_rel1_relative_x_set(Evas_Object *obj, const char * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_state_rel1_relative_y_set(Evas_Object *obj, const char *part, const char *state, double value, double y); +EDJE_API Eina_Bool edje_edit_state_rel1_relative_y_set(Evas_Object *obj, const char *part, const char *state, double value, double y); /** * @brief Sets the 'rel2 relative X' value of state. @@ -4596,7 +4571,7 @@ EAPI Eina_Bool edje_edit_state_rel1_relative_y_set(Evas_Object *obj, const char * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_state_rel2_relative_x_set(Evas_Object *obj, const char *part, const char *state, double value, double x); +EDJE_API Eina_Bool edje_edit_state_rel2_relative_x_set(Evas_Object *obj, const char *part, const char *state, double value, double x); /** * @brief Sets the 'rel2 relative Y' value of state. @@ -4609,7 +4584,7 @@ EAPI Eina_Bool edje_edit_state_rel2_relative_x_set(Evas_Object *obj, const char * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_state_rel2_relative_y_set(Evas_Object *obj, const char *part, const char *state, double value, double y); +EDJE_API Eina_Bool edje_edit_state_rel2_relative_y_set(Evas_Object *obj, const char *part, const char *state, double value, double y); /** * @brief Gets the 'rel1 offset X' value of state. @@ -4621,7 +4596,7 @@ EAPI Eina_Bool edje_edit_state_rel2_relative_y_set(Evas_Object *obj, const char * * @return The 'rel1 offset X' value of the part state. */ -EAPI int edje_edit_state_rel1_offset_x_get(Evas_Object *obj, const char *part, const char *state, double value); +EDJE_API int edje_edit_state_rel1_offset_x_get(Evas_Object *obj, const char *part, const char *state, double value); /** * @brief Gets the 'rel1 offset Y' value of state. @@ -4633,7 +4608,7 @@ EAPI int edje_edit_state_rel1_offset_x_get(Evas_Object *obj, const char *part, c * * @return The 'rel1 offset Y' value of the part state. */ -EAPI int edje_edit_state_rel1_offset_y_get(Evas_Object *obj, const char *part, const char *state, double value); +EDJE_API int edje_edit_state_rel1_offset_y_get(Evas_Object *obj, const char *part, const char *state, double value); /** * @brief Gets the 'rel2 offset X' value of state. @@ -4645,7 +4620,7 @@ EAPI int edje_edit_state_rel1_offset_y_get(Evas_Object *obj, const char *part, c * * @return The 'rel2 offset X' value of the part state. */ -EAPI int edje_edit_state_rel2_offset_x_get(Evas_Object *obj, const char *part, const char *state, double value); +EDJE_API int edje_edit_state_rel2_offset_x_get(Evas_Object *obj, const char *part, const char *state, double value); /** * @brief Gets the 'rel2 offset Y' value of state. @@ -4657,7 +4632,7 @@ EAPI int edje_edit_state_rel2_offset_x_get(Evas_Object *obj, const char *part, c * * @return The 'rel2 offset Y' value of the part state. */ -EAPI int edje_edit_state_rel2_offset_y_get(Evas_Object *obj, const char *part, const char *state, double value); +EDJE_API int edje_edit_state_rel2_offset_y_get(Evas_Object *obj, const char *part, const char *state, double value); /** * @brief Sets the 'rel1 offset X' value of state. @@ -4670,7 +4645,7 @@ EAPI int edje_edit_state_rel2_offset_y_get(Evas_Object *obj, const char *part, c * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_state_rel1_offset_x_set(Evas_Object *obj, const char *part, const char *state, double value, int x); +EDJE_API Eina_Bool edje_edit_state_rel1_offset_x_set(Evas_Object *obj, const char *part, const char *state, double value, int x); /** * @brief Sets the 'rel1 offset Y' value of state. @@ -4683,7 +4658,7 @@ EAPI Eina_Bool edje_edit_state_rel1_offset_x_set(Evas_Object *obj, const char *p * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_state_rel1_offset_y_set(Evas_Object *obj, const char *part, const char *state, double value, int y); +EDJE_API Eina_Bool edje_edit_state_rel1_offset_y_set(Evas_Object *obj, const char *part, const char *state, double value, int y); /** * @brief Sets the 'rel2 offset X' value of state. @@ -4696,7 +4671,7 @@ EAPI Eina_Bool edje_edit_state_rel1_offset_y_set(Evas_Object *obj, const char *p * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_state_rel2_offset_x_set(Evas_Object *obj, const char *part, const char *state, double value, int x); +EDJE_API Eina_Bool edje_edit_state_rel2_offset_x_set(Evas_Object *obj, const char *part, const char *state, double value, int x); /** * @brief Sets the 'rel2 offset Y' value of state. @@ -4709,7 +4684,7 @@ EAPI Eina_Bool edje_edit_state_rel2_offset_x_set(Evas_Object *obj, const char *p * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_state_rel2_offset_y_set(Evas_Object *obj, const char *part, const char *state, double value, int y); +EDJE_API Eina_Bool edje_edit_state_rel2_offset_y_set(Evas_Object *obj, const char *part, const char *state, double value, int y); /** * @brief Gets the part name rel1x is relative to. @@ -4721,7 +4696,7 @@ EAPI Eina_Bool edje_edit_state_rel2_offset_y_set(Evas_Object *obj, const char *p * * @return The part name rel1x is relative to, or NULL if the part is relative to the whole interface. */ -EAPI const char * edje_edit_state_rel1_to_x_get(Evas_Object *obj, const char *part, const char *state, double value); +EDJE_API const char * edje_edit_state_rel1_to_x_get(Evas_Object *obj, const char *part, const char *state, double value); /** * @brief Gets the part name rel1y is relative to. @@ -4733,7 +4708,7 @@ EAPI const char * edje_edit_state_rel1_to_x_get(Evas_Object *obj, const char *pa * * @return The part name rel1y is relative to, or NULL if the part is relative to the whole interface. */ -EAPI const char * edje_edit_state_rel1_to_y_get(Evas_Object *obj, const char *part, const char *state, double value); +EDJE_API const char * edje_edit_state_rel1_to_y_get(Evas_Object *obj, const char *part, const char *state, double value); /** * @brief Gets the part name rel2x is relative to. @@ -4745,7 +4720,7 @@ EAPI const char * edje_edit_state_rel1_to_y_get(Evas_Object *obj, const char *pa * * @return The part name rel2x is relative to, or NULL if the part is relative to the whole interface. */ -EAPI const char * edje_edit_state_rel2_to_x_get(Evas_Object *obj, const char *part, const char *state, double value); +EDJE_API const char * edje_edit_state_rel2_to_x_get(Evas_Object *obj, const char *part, const char *state, double value); /** * @brief Gets the part name rel2y is relative to. @@ -4757,7 +4732,7 @@ EAPI const char * edje_edit_state_rel2_to_x_get(Evas_Object *obj, const char *pa * * @return The part name rel2y is relative to, or NULL if the part is relative to the whole interface. */ -EAPI const char * edje_edit_state_rel2_to_y_get(Evas_Object *obj, const char *part, const char *state, double value); +EDJE_API const char * edje_edit_state_rel2_to_y_get(Evas_Object *obj, const char *part, const char *state, double value); /** * @brief Sets the part rel1x is relative to. @@ -4770,7 +4745,7 @@ EAPI const char * edje_edit_state_rel2_to_y_get(Evas_Object *obj, const char *pa * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_state_rel1_to_x_set(Evas_Object *obj, const char *part, const char *state, double value, const char *rel_to); +EDJE_API Eina_Bool edje_edit_state_rel1_to_x_set(Evas_Object *obj, const char *part, const char *state, double value, const char *rel_to); /** * @brief Sets the part rel1y is relative to. @@ -4783,7 +4758,7 @@ EAPI Eina_Bool edje_edit_state_rel1_to_x_set(Evas_Object *obj, const char *part, * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_state_rel1_to_y_set(Evas_Object *obj, const char *part, const char *state, double value, const char *rel_to); +EDJE_API Eina_Bool edje_edit_state_rel1_to_y_set(Evas_Object *obj, const char *part, const char *state, double value, const char *rel_to); /** * @brief Sets the part rel2x is relative to. @@ -4796,7 +4771,7 @@ EAPI Eina_Bool edje_edit_state_rel1_to_y_set(Evas_Object *obj, const char *part, * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_state_rel2_to_x_set(Evas_Object *obj, const char *part, const char *state, double value, const char *rel_to); +EDJE_API Eina_Bool edje_edit_state_rel2_to_x_set(Evas_Object *obj, const char *part, const char *state, double value, const char *rel_to); /** * @brief Sets the part rel2y is relative to. @@ -4809,7 +4784,7 @@ EAPI Eina_Bool edje_edit_state_rel2_to_x_set(Evas_Object *obj, const char *part, * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_state_rel2_to_y_set(Evas_Object *obj, const char *part, const char *state, double value, const char *rel_to); +EDJE_API Eina_Bool edje_edit_state_rel2_to_y_set(Evas_Object *obj, const char *part, const char *state, double value, const char *rel_to); /** * @brief Gets the color of a part state. @@ -4823,7 +4798,7 @@ EAPI Eina_Bool edje_edit_state_rel2_to_y_set(Evas_Object *obj, const char *part, * @param b A pointer to store the blue value. * @param a A pointer to store the alpha value. */ -EAPI void edje_edit_state_color_get(Evas_Object *obj, const char *part, const char *state, double value, int *r, int *g, int *b, int *a); +EDJE_API void edje_edit_state_color_get(Evas_Object *obj, const char *part, const char *state, double value, int *r, int *g, int *b, int *a); /** * @brief Gets the color2 of a part state. @@ -4837,7 +4812,7 @@ EAPI void edje_edit_state_color_get(Evas_Object *obj, const char *part, const ch * @param b A pointer to store the blue value. * @param a A pointer to store the alpha value. */ -EAPI void edje_edit_state_color2_get(Evas_Object *obj, const char *part, const char *state, double value, int *r, int *g, int *b, int *a); +EDJE_API void edje_edit_state_color2_get(Evas_Object *obj, const char *part, const char *state, double value, int *r, int *g, int *b, int *a); /** * @brief Gets the color3 of a part state. @@ -4851,7 +4826,7 @@ EAPI void edje_edit_state_color2_get(Evas_Object *obj, const char *part, const c * @param b A pointer to store the blue value. * @param a A pointer to store the alpha value. */ -EAPI void edje_edit_state_color3_get(Evas_Object *obj, const char *part, const char *state, double value, int *r, int *g, int *b, int *a); +EDJE_API void edje_edit_state_color3_get(Evas_Object *obj, const char *part, const char *state, double value, int *r, int *g, int *b, int *a); /** * @brief Sets the color of a part state. @@ -4867,7 +4842,7 @@ EAPI void edje_edit_state_color3_get(Evas_Object *obj, const char *part, const c * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_state_color_set(Evas_Object *obj, const char *part, const char *state, double value, int r, int g, int b, int a); +EDJE_API Eina_Bool edje_edit_state_color_set(Evas_Object *obj, const char *part, const char *state, double value, int r, int g, int b, int a); /** * @brief Sets the color2 of a part state. @@ -4883,7 +4858,7 @@ EAPI Eina_Bool edje_edit_state_color_set(Evas_Object *obj, const char *part, con * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_state_color2_set(Evas_Object *obj, const char *part, const char *state, double value, int r, int g, int b, int a); +EDJE_API Eina_Bool edje_edit_state_color2_set(Evas_Object *obj, const char *part, const char *state, double value, int r, int g, int b, int a); /** * @brief Sets the color3 of a part state. @@ -4899,7 +4874,7 @@ EAPI Eina_Bool edje_edit_state_color2_set(Evas_Object *obj, const char *part, co * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_state_color3_set(Evas_Object *obj, const char *part, const char *state, double value, int r, int g, int b, int a); +EDJE_API Eina_Bool edje_edit_state_color3_set(Evas_Object *obj, const char *part, const char *state, double value, int r, int g, int b, int a); /** * @brief Gets the horizontal align value of a part state. @@ -4911,7 +4886,7 @@ EAPI Eina_Bool edje_edit_state_color3_set(Evas_Object *obj, const char *part, co * * @return The horizontal align value for the given state */ -EAPI double edje_edit_state_align_x_get(Evas_Object *obj, const char *part, const char *state, double value); +EDJE_API double edje_edit_state_align_x_get(Evas_Object *obj, const char *part, const char *state, double value); /** * @brief Gets the vertical align value of a part state. @@ -4923,7 +4898,7 @@ EAPI double edje_edit_state_align_x_get(Evas_Object *obj, const char *part, cons * * @return The vertical align value for the given state */ -EAPI double edje_edit_state_align_y_get(Evas_Object *obj, const char *part, const char *state, double value); +EDJE_API double edje_edit_state_align_y_get(Evas_Object *obj, const char *part, const char *state, double value); /** * @brief Sets the horizontal align value of a part state. @@ -4936,7 +4911,7 @@ EAPI double edje_edit_state_align_y_get(Evas_Object *obj, const char *part, cons * * @return @c EINA_TRUE if the parameter was found, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_state_align_x_set(Evas_Object *obj, const char *part, const char *state, double value, double align); +EDJE_API Eina_Bool edje_edit_state_align_x_set(Evas_Object *obj, const char *part, const char *state, double value, double align); /** * @brief Sets the vertical align value of a part state. @@ -4949,7 +4924,7 @@ EAPI Eina_Bool edje_edit_state_align_x_set(Evas_Object *obj, const char *part, c * * @return @c EINA_TRUE if the parameter was found, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_state_align_y_set(Evas_Object *obj, const char *part, const char *state, double value, double align); +EDJE_API Eina_Bool edje_edit_state_align_y_set(Evas_Object *obj, const char *part, const char *state, double value, double align); /** * @brief Gets the minimum width value of a part state. @@ -4961,7 +4936,7 @@ EAPI Eina_Bool edje_edit_state_align_y_set(Evas_Object *obj, const char *part, c * * @return The minimum width value. */ -EAPI int edje_edit_state_min_w_get(Evas_Object *obj, const char *part, const char *state, double value); +EDJE_API int edje_edit_state_min_w_get(Evas_Object *obj, const char *part, const char *state, double value); /** * @brief Sets the minimum width value of a part state. @@ -4975,7 +4950,7 @@ EAPI int edje_edit_state_min_w_get(Evas_Object *obj, const char *part, const cha * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_state_min_w_set(Evas_Object *obj, const char *part, const char *state, double value, int min_w); +EDJE_API Eina_Bool edje_edit_state_min_w_set(Evas_Object *obj, const char *part, const char *state, double value, int min_w); /** * @brief Gets the minimum height value of a part state. @@ -4987,7 +4962,7 @@ EAPI Eina_Bool edje_edit_state_min_w_set(Evas_Object *obj, const char *part, con * * @return The minimum height value. */ -EAPI int edje_edit_state_min_h_get(Evas_Object *obj, const char *part, const char *state, double value); +EDJE_API int edje_edit_state_min_h_get(Evas_Object *obj, const char *part, const char *state, double value); /** * @brief Sets the minimum height value of a part state. @@ -5001,7 +4976,7 @@ EAPI int edje_edit_state_min_h_get(Evas_Object *obj, const char *part, const cha * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_state_min_h_set(Evas_Object *obj, const char *part, const char *state, double value, int min_h); +EDJE_API Eina_Bool edje_edit_state_min_h_set(Evas_Object *obj, const char *part, const char *state, double value, int min_h); /** * @brief Gets the maximum width value of a part state. @@ -5013,7 +4988,7 @@ EAPI Eina_Bool edje_edit_state_min_h_set(Evas_Object *obj, const char *part, con * * @return The maximum width value. */ -EAPI int edje_edit_state_max_w_get(Evas_Object *obj, const char *part, const char *state, double value); +EDJE_API int edje_edit_state_max_w_get(Evas_Object *obj, const char *part, const char *state, double value); /** * @brief Sets the maximum width value of a part state. @@ -5029,7 +5004,7 @@ EAPI int edje_edit_state_max_w_get(Evas_Object *obj, const char *part, const cha * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_state_max_w_set(Evas_Object *obj, const char *part, const char *state, double value, int max_w); +EDJE_API Eina_Bool edje_edit_state_max_w_set(Evas_Object *obj, const char *part, const char *state, double value, int max_w); /** * @brief Gets the maximum height value of a part state. @@ -5041,7 +5016,7 @@ EAPI Eina_Bool edje_edit_state_max_w_set(Evas_Object *obj, const char *part, con * * @return The maximum height value. */ -EAPI int edje_edit_state_max_h_get(Evas_Object *obj, const char *part, const char *state, double value); +EDJE_API int edje_edit_state_max_h_get(Evas_Object *obj, const char *part, const char *state, double value); /** * @brief Sets the maximum height value of a part state. @@ -5057,7 +5032,7 @@ EAPI int edje_edit_state_max_h_get(Evas_Object *obj, const char *part, const cha * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_state_max_h_set(Evas_Object *obj, const char *part, const char *state, double value, int max_h); +EDJE_API Eina_Bool edje_edit_state_max_h_set(Evas_Object *obj, const char *part, const char *state, double value, int max_h); /** * @brief Gets the multiplier (minmul) width value of a part state. @@ -5070,7 +5045,7 @@ EAPI Eina_Bool edje_edit_state_max_h_set(Evas_Object *obj, const char *part, con * @return The maximum width value. * @since 1.11 */ -EAPI double edje_edit_state_minmul_w_get(Evas_Object *obj, const char *part, const char *state, double value); +EDJE_API double edje_edit_state_minmul_w_get(Evas_Object *obj, const char *part, const char *state, double value); /** * @brief Sets the multiplier (minmul) width value of a part state. @@ -5084,7 +5059,7 @@ EAPI double edje_edit_state_minmul_w_get(Evas_Object *obj, const char *part, con * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. * @since 1.11 */ -EAPI Eina_Bool edje_edit_state_minmul_w_set(Evas_Object *obj, const char *part, const char *state, double value, double minmul_w); +EDJE_API Eina_Bool edje_edit_state_minmul_w_set(Evas_Object *obj, const char *part, const char *state, double value, double minmul_w); /** * @brief Gets the multiplier (minmul) height value of a part state. @@ -5097,7 +5072,7 @@ EAPI Eina_Bool edje_edit_state_minmul_w_set(Evas_Object *obj, const char *part, * @return The maximum height value. * @since 1.11 */ -EAPI double edje_edit_state_minmul_h_get(Evas_Object *obj, const char *part, const char *state, double value); +EDJE_API double edje_edit_state_minmul_h_get(Evas_Object *obj, const char *part, const char *state, double value); /** * @brief Sets the multiplier (minmul) height value of a part state. @@ -5111,7 +5086,7 @@ EAPI double edje_edit_state_minmul_h_get(Evas_Object *obj, const char *part, con * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. * @since 1.11 */ -EAPI Eina_Bool edje_edit_state_minmul_h_set(Evas_Object *obj, const char *part, const char *state, double value, double minmul_h); +EDJE_API Eina_Bool edje_edit_state_minmul_h_set(Evas_Object *obj, const char *part, const char *state, double value, double minmul_h); /** * @brief Gets the fixed width value of a part state. @@ -5123,7 +5098,7 @@ EAPI Eina_Bool edje_edit_state_minmul_h_set(Evas_Object *obj, const char *part, * * @return The fixed width value. */ -EAPI Eina_Bool edje_edit_state_fixed_w_get(Evas_Object *obj, const char *part, const char *state, double value); +EDJE_API Eina_Bool edje_edit_state_fixed_w_get(Evas_Object *obj, const char *part, const char *state, double value); /** * @brief Sets the fixed width value of a part state. @@ -5136,7 +5111,7 @@ EAPI Eina_Bool edje_edit_state_fixed_w_get(Evas_Object *obj, const char *part, c * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_state_fixed_w_set(Evas_Object *obj, const char *part, const char *state, double value, Eina_Bool fixed); +EDJE_API Eina_Bool edje_edit_state_fixed_w_set(Evas_Object *obj, const char *part, const char *state, double value, Eina_Bool fixed); /** * @brief Gets the fixed height value of a part state. @@ -5148,7 +5123,7 @@ EAPI Eina_Bool edje_edit_state_fixed_w_set(Evas_Object *obj, const char *part, c * * @return The fixed height value. */ -EAPI Eina_Bool edje_edit_state_fixed_h_get(Evas_Object *obj, const char *part, const char *state, double value); +EDJE_API Eina_Bool edje_edit_state_fixed_h_get(Evas_Object *obj, const char *part, const char *state, double value); /** * @brief Sets the fixed height value of a part state. @@ -5161,7 +5136,7 @@ EAPI Eina_Bool edje_edit_state_fixed_h_get(Evas_Object *obj, const char *part, c * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_state_fixed_h_set(Evas_Object *obj, const char *part, const char *state, double value, Eina_Bool fixed); +EDJE_API Eina_Bool edje_edit_state_fixed_h_set(Evas_Object *obj, const char *part, const char *state, double value, Eina_Bool fixed); /** * @brief Gets the minimum aspect value of a part state. @@ -5173,7 +5148,7 @@ EAPI Eina_Bool edje_edit_state_fixed_h_set(Evas_Object *obj, const char *part, c * * @return The minimum aspect */ -EAPI double edje_edit_state_aspect_min_get(Evas_Object *obj, const char *part, const char *state, double value); +EDJE_API double edje_edit_state_aspect_min_get(Evas_Object *obj, const char *part, const char *state, double value); /** * @brief Gets the maximum aspect value of a part state. @@ -5185,7 +5160,7 @@ EAPI double edje_edit_state_aspect_min_get(Evas_Object *obj, const char *part, c * * @return The maximum aspect */ -EAPI double edje_edit_state_aspect_max_get(Evas_Object *obj, const char *part, const char *state, double value); +EDJE_API double edje_edit_state_aspect_max_get(Evas_Object *obj, const char *part, const char *state, double value); /** * @brief Sets the minimum aspect value of a part state. @@ -5198,7 +5173,7 @@ EAPI double edje_edit_state_aspect_max_get(Evas_Object *obj, const char *part, c * * @return @c EINA_TRUE if the parameter was found, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_state_aspect_min_set(Evas_Object *obj, const char *part, const char *state, double value, double aspect); +EDJE_API Eina_Bool edje_edit_state_aspect_min_set(Evas_Object *obj, const char *part, const char *state, double value, double aspect); /** * @brief Sets the maximum aspect value of a part state. @@ -5211,7 +5186,7 @@ EAPI Eina_Bool edje_edit_state_aspect_min_set(Evas_Object *obj, const char *part * * @return @c EINA_TRUE if the parameter was found, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_state_aspect_max_set(Evas_Object *obj, const char *part, const char *state, double value, double aspect); +EDJE_API Eina_Bool edje_edit_state_aspect_max_set(Evas_Object *obj, const char *part, const char *state, double value, double aspect); /** * @brief Gets the aspect preference of a part state. @@ -5223,7 +5198,7 @@ EAPI Eina_Bool edje_edit_state_aspect_max_set(Evas_Object *obj, const char *part * * @return The aspect preference (0 = None, 1 = Vertical, 2 = Horizontal, 3 = Both) */ -EAPI unsigned char edje_edit_state_aspect_pref_get(Evas_Object *obj, const char *part, const char *state, double value); +EDJE_API unsigned char edje_edit_state_aspect_pref_get(Evas_Object *obj, const char *part, const char *state, double value); /** * @brief Sets the aspect preference of a part state. @@ -5246,7 +5221,7 @@ EAPI unsigned char edje_edit_state_aspect_pref_get(Evas_Object *obj, const char * * @return @c EINA_TRUE if the parameter was found, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_state_aspect_pref_set(Evas_Object *obj, const char *part, const char *state, double value, unsigned char pref); +EDJE_API Eina_Bool edje_edit_state_aspect_pref_set(Evas_Object *obj, const char *part, const char *state, double value, unsigned char pref); /** * @brief Gets the smooth property for given part state. @@ -5258,7 +5233,7 @@ EAPI Eina_Bool edje_edit_state_aspect_pref_set(Evas_Object *obj, const char *par * * @return The smooth value. */ -EAPI Eina_Bool edje_edit_state_fill_smooth_get(Evas_Object *obj, const char *part, const char *state, double value); +EDJE_API Eina_Bool edje_edit_state_fill_smooth_get(Evas_Object *obj, const char *part, const char *state, double value); /** * @brief Sets the smooth property for given part state. @@ -5271,7 +5246,7 @@ EAPI Eina_Bool edje_edit_state_fill_smooth_get(Evas_Object *obj, const char *par * * @return @c EINA_TRUE if the parameter was found, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_state_fill_smooth_set(Evas_Object *obj, const char *part, const char *state, double value, Eina_Bool smooth); +EDJE_API Eina_Bool edje_edit_state_fill_smooth_set(Evas_Object *obj, const char *part, const char *state, double value, Eina_Bool smooth); /** * @brief Gets the fill type property for given part state. @@ -5285,7 +5260,7 @@ EAPI Eina_Bool edje_edit_state_fill_smooth_set(Evas_Object *obj, const char *par * @see edje_edit_state_fill_type_set() * @since 1.11 */ -EAPI unsigned char edje_edit_state_fill_type_get(Evas_Object *obj, const char *part, const char *state, double value); +EDJE_API unsigned char edje_edit_state_fill_type_get(Evas_Object *obj, const char *part, const char *state, double value); /** * @brief Sets the fill type property for given part state. @@ -5311,7 +5286,7 @@ EAPI unsigned char edje_edit_state_fill_type_get(Evas_Object *obj, const char *p * @see edje_edit_state_fill_type_get() * @since 1.11 */ -EAPI Eina_Bool edje_edit_state_fill_type_set(Evas_Object *obj, const char *part, const char *state, double value, unsigned char fill_type); +EDJE_API Eina_Bool edje_edit_state_fill_type_set(Evas_Object *obj, const char *part, const char *state, double value, unsigned char fill_type); /** * @brief Gets the fill horizontal origin relative value of a part state. @@ -5323,7 +5298,7 @@ EAPI Eina_Bool edje_edit_state_fill_type_set(Evas_Object *obj, const char *part, * * @return The fill horizontal origin relative to area. */ -EAPI double edje_edit_state_fill_origin_relative_x_get(Evas_Object *obj, const char *part, const char *state, double value); +EDJE_API double edje_edit_state_fill_origin_relative_x_get(Evas_Object *obj, const char *part, const char *state, double value); /** * @brief Gets the fill vertical origin relative value of a part state. @@ -5335,7 +5310,7 @@ EAPI double edje_edit_state_fill_origin_relative_x_get(Evas_Object *obj, const c * * @return The fill vertical origin relative to area. */ -EAPI double edje_edit_state_fill_origin_relative_y_get(Evas_Object *obj, const char *part, const char *state, double value); +EDJE_API double edje_edit_state_fill_origin_relative_y_get(Evas_Object *obj, const char *part, const char *state, double value); /** * @brief Gets the fill horizontal origin offset value of a part state. @@ -5347,7 +5322,7 @@ EAPI double edje_edit_state_fill_origin_relative_y_get(Evas_Object *obj, const c * * @return The fill horizontal origin offset relative to area. */ -EAPI int edje_edit_state_fill_origin_offset_x_get(Evas_Object *obj, const char *part, const char *state, double value); +EDJE_API int edje_edit_state_fill_origin_offset_x_get(Evas_Object *obj, const char *part, const char *state, double value); /** * @brief Gets the fill vertical origin offset value of a part state. @@ -5359,7 +5334,7 @@ EAPI int edje_edit_state_fill_origin_offset_x_get(Evas_Object *obj, const char * * * @return The fill vertical origin offset value. */ -EAPI int edje_edit_state_fill_origin_offset_y_get(Evas_Object *obj, const char *part, const char *state, double value); +EDJE_API int edje_edit_state_fill_origin_offset_y_get(Evas_Object *obj, const char *part, const char *state, double value); /** * @brief Sets the fill horizontal origin relative value of a part state. @@ -5372,7 +5347,7 @@ EAPI int edje_edit_state_fill_origin_offset_y_get(Evas_Object *obj, const char * * * @return @c EINA_TRUE if the parameter was found, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_state_fill_origin_relative_x_set(Evas_Object *obj, const char *part, const char *state, double value, double x); +EDJE_API Eina_Bool edje_edit_state_fill_origin_relative_x_set(Evas_Object *obj, const char *part, const char *state, double value, double x); /** * @brief Sets the fill horizontal origin relative value of a part state. @@ -5385,7 +5360,7 @@ EAPI Eina_Bool edje_edit_state_fill_origin_relative_x_set(Evas_Object *obj, cons * * @return @c EINA_TRUE if the parameter was found, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_state_fill_origin_relative_y_set(Evas_Object *obj, const char *part, const char *state, double value, double y); +EDJE_API Eina_Bool edje_edit_state_fill_origin_relative_y_set(Evas_Object *obj, const char *part, const char *state, double value, double y); /** * @brief Sets the fill horizontal origin offset value of a part state. @@ -5398,7 +5373,7 @@ EAPI Eina_Bool edje_edit_state_fill_origin_relative_y_set(Evas_Object *obj, cons * * @return @c EINA_TRUE if the parameter was found, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_state_fill_origin_offset_x_set(Evas_Object *obj, const char *part, const char *state, double value, double x); +EDJE_API Eina_Bool edje_edit_state_fill_origin_offset_x_set(Evas_Object *obj, const char *part, const char *state, double value, double x); /** * @brief Sets the fill vertical origin offset value of a part state. @@ -5411,7 +5386,7 @@ EAPI Eina_Bool edje_edit_state_fill_origin_offset_x_set(Evas_Object *obj, const * * @return @c EINA_TRUE if the parameter was found, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_state_fill_origin_offset_y_set(Evas_Object *obj, const char *part, const char *state, double value, double y); +EDJE_API Eina_Bool edje_edit_state_fill_origin_offset_y_set(Evas_Object *obj, const char *part, const char *state, double value, double y); /** * @brief Gets the fill horizontal size relative value of a part state. @@ -5423,7 +5398,7 @@ EAPI Eina_Bool edje_edit_state_fill_origin_offset_y_set(Evas_Object *obj, const * * @return The fill horizontal size relative to area. */ -EAPI double edje_edit_state_fill_size_relative_x_get(Evas_Object *obj, const char *part, const char *state, double value); +EDJE_API double edje_edit_state_fill_size_relative_x_get(Evas_Object *obj, const char *part, const char *state, double value); /** * @brief Gets the fill vertical size relative value of a part state. @@ -5435,7 +5410,7 @@ EAPI double edje_edit_state_fill_size_relative_x_get(Evas_Object *obj, const cha * * @return The fill vertical size relative to area. */ -EAPI double edje_edit_state_fill_size_relative_y_get(Evas_Object *obj, const char *part, const char *state, double value); +EDJE_API double edje_edit_state_fill_size_relative_y_get(Evas_Object *obj, const char *part, const char *state, double value); /** * @brief Gets the fill horizontal size offset value of a part state. @@ -5448,7 +5423,7 @@ EAPI double edje_edit_state_fill_size_relative_y_get(Evas_Object *obj, const cha * * @return The fill horizontal size offset relative to area. */ -EAPI int edje_edit_state_fill_size_offset_x_get(Evas_Object *obj, const char *part, const char *state, double value); +EDJE_API int edje_edit_state_fill_size_offset_x_get(Evas_Object *obj, const char *part, const char *state, double value); /** * @brief Gets the fill vertical size offset value of a part state. @@ -5461,7 +5436,7 @@ EAPI int edje_edit_state_fill_size_offset_x_get(Evas_Object *obj, const char *pa * * @return The fill vertical size offset relative to area. */ -EAPI int edje_edit_state_fill_size_offset_y_get(Evas_Object *obj, const char *part, const char *state, double value); +EDJE_API int edje_edit_state_fill_size_offset_y_get(Evas_Object *obj, const char *part, const char *state, double value); /** * @brief Sets the fill horizontal size relative value of a part state. @@ -5475,7 +5450,7 @@ EAPI int edje_edit_state_fill_size_offset_y_get(Evas_Object *obj, const char *pa * * @return @c EINA_TRUE if the parameter was found, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_state_fill_size_relative_x_set(Evas_Object *obj, const char *part, const char *state, double value, double x); +EDJE_API Eina_Bool edje_edit_state_fill_size_relative_x_set(Evas_Object *obj, const char *part, const char *state, double value, double x); /** * @brief Sets the fill vertical size relative value of a part state. @@ -5489,7 +5464,7 @@ EAPI Eina_Bool edje_edit_state_fill_size_relative_x_set(Evas_Object *obj, const * * @return @c EINA_TRUE if the parameter was found, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_state_fill_size_relative_y_set(Evas_Object *obj, const char *part, const char *state, double value, double x); +EDJE_API Eina_Bool edje_edit_state_fill_size_relative_y_set(Evas_Object *obj, const char *part, const char *state, double value, double x); /** * @brief Sets the fill horizontal size offset value of a part state. @@ -5503,7 +5478,7 @@ EAPI Eina_Bool edje_edit_state_fill_size_relative_y_set(Evas_Object *obj, const * * @return @c EINA_TRUE if the parameter was found, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_state_fill_size_offset_x_set(Evas_Object *obj, const char *part, const char *state, double value, double x); +EDJE_API Eina_Bool edje_edit_state_fill_size_offset_x_set(Evas_Object *obj, const char *part, const char *state, double value, double x); /** * @brief Sets the fill vertical size offset value of a part state. @@ -5517,7 +5492,7 @@ EAPI Eina_Bool edje_edit_state_fill_size_offset_x_set(Evas_Object *obj, const ch * * @return @c EINA_TRUE if the parameter was found, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_state_fill_size_offset_y_set(Evas_Object *obj, const char *part, const char *state, double value, double y); +EDJE_API Eina_Bool edje_edit_state_fill_size_offset_y_set(Evas_Object *obj, const char *part, const char *state, double value, double y); /** * @brief Gets the visibility of a part state. @@ -5529,7 +5504,7 @@ EAPI Eina_Bool edje_edit_state_fill_size_offset_y_set(Evas_Object *obj, const ch * * @return @c EINA_TRUE if the state is visible, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_state_visible_get(Evas_Object *obj, const char *part, const char *state, double value); +EDJE_API Eina_Bool edje_edit_state_visible_get(Evas_Object *obj, const char *part, const char *state, double value); /** * @brief Sets the visibility of a part state. @@ -5542,7 +5517,7 @@ EAPI Eina_Bool edje_edit_state_visible_get(Evas_Object *obj, const char *part, c * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_state_visible_set(Evas_Object *obj, const char *part, const char *state, double value, Eina_Bool visible); +EDJE_API Eina_Bool edje_edit_state_visible_set(Evas_Object *obj, const char *part, const char *state, double value, Eina_Bool visible); /** * @brief Gets the color class of the given part state. @@ -5556,7 +5531,7 @@ EAPI Eina_Bool edje_edit_state_visible_set(Evas_Object *obj, const char *part, c * * @return The current color class. */ -EAPI const char *edje_edit_state_color_class_get(Evas_Object *obj, const char *part, const char *state, double value); +EDJE_API const char *edje_edit_state_color_class_get(Evas_Object *obj, const char *part, const char *state, double value); /** * @brief Sets the color class of the given part state. @@ -5569,7 +5544,7 @@ EAPI const char *edje_edit_state_color_class_get(Evas_Object *obj, const char *p * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_state_color_class_set(Evas_Object *obj, const char *part, const char *state, double value, const char *color_class); +EDJE_API Eina_Bool edje_edit_state_color_class_set(Evas_Object *obj, const char *part, const char *state, double value, const char *color_class); /** * @brief Gets the list of parameters for an external part. @@ -5583,7 +5558,7 @@ EAPI Eina_Bool edje_edit_state_color_class_set(Evas_Object *obj, const char *par * * @return The list of Edje_External_Param. */ -EAPI const Eina_List * edje_edit_state_external_params_list_get(Evas_Object *obj, const char *part, const char *state, double value); +EDJE_API const Eina_List * edje_edit_state_external_params_list_get(Evas_Object *obj, const char *part, const char *state, double value); /** * @brief Gets the external parameter type and value. @@ -5598,7 +5573,7 @@ EAPI const Eina_List * edje_edit_state_external_params_list_get(Evas_Object *obj * * @return @c EINA_TRUE if the parameter was found, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_state_external_param_get(Evas_Object *obj, const char *part, const char *state, double value, const char *param, Edje_External_Param_Type *type, void **val); +EDJE_API Eina_Bool edje_edit_state_external_param_get(Evas_Object *obj, const char *part, const char *state, double value, const char *param, Edje_External_Param_Type *type, void **val); /** * @brief Gets external parameter of type INT. @@ -5612,7 +5587,7 @@ EAPI Eina_Bool edje_edit_state_external_param_get(Evas_Object *obj, const char * * * @return @c EINA_TRUE if successful. @c EINA_FALSE if not found or is of different type. */ -EAPI Eina_Bool edje_edit_state_external_param_int_get(Evas_Object *obj, const char *part, const char *state, double value, const char *param, int *val); +EDJE_API Eina_Bool edje_edit_state_external_param_int_get(Evas_Object *obj, const char *part, const char *state, double value, const char *param, int *val); /** * @brief Gets external parameter of type BOOL. @@ -5626,7 +5601,7 @@ EAPI Eina_Bool edje_edit_state_external_param_int_get(Evas_Object *obj, const ch * * @return @c EINA_TRUE if successful. @c EINA_FALSE if not found or is of different type. */ -EAPI Eina_Bool edje_edit_state_external_param_bool_get(Evas_Object *obj, const char *part, const char *state, double value, const char *param, Eina_Bool *val); +EDJE_API Eina_Bool edje_edit_state_external_param_bool_get(Evas_Object *obj, const char *part, const char *state, double value, const char *param, Eina_Bool *val); /** * @brief Gets external parameter of type DOUBLE. @@ -5640,7 +5615,7 @@ EAPI Eina_Bool edje_edit_state_external_param_bool_get(Evas_Object *obj, const c * * @return @c EINA_TRUE if successful. @c EINA_FALSE if not found or is of different type. */ -EAPI Eina_Bool edje_edit_state_external_param_double_get(Evas_Object *obj, const char *part, const char *state, double value, const char *param, double *val); +EDJE_API Eina_Bool edje_edit_state_external_param_double_get(Evas_Object *obj, const char *part, const char *state, double value, const char *param, double *val); /** * @brief Gets external parameter of type STRING. @@ -5656,7 +5631,7 @@ EAPI Eina_Bool edje_edit_state_external_param_double_get(Evas_Object *obj, const * @return @c EINA_TRUE if successful. @c EINA_FALSE if not found or is of * different type. */ -EAPI Eina_Bool edje_edit_state_external_param_string_get(Evas_Object *obj, const char *part, const char *state, double value, const char *param, const char **val); +EDJE_API Eina_Bool edje_edit_state_external_param_string_get(Evas_Object *obj, const char *part, const char *state, double value, const char *param, const char **val); /** * @brief Gets external parameter of type CHOICE. @@ -5672,7 +5647,7 @@ EAPI Eina_Bool edje_edit_state_external_param_string_get(Evas_Object *obj, const * @return @c EINA_TRUE if successful. @c EINA_FALSE if not found or is of * different type. */ -EAPI Eina_Bool edje_edit_state_external_param_choice_get(Evas_Object *obj, const char *part, const char *state, double value, const char *param, const char **val); +EDJE_API Eina_Bool edje_edit_state_external_param_choice_get(Evas_Object *obj, const char *part, const char *state, double value, const char *param, const char **val); /** * @brief Sets the external parameter type and value, adding it if it didn't @@ -5700,7 +5675,7 @@ EAPI Eina_Bool edje_edit_state_external_param_choice_get(Evas_Object *obj, const * @note: The validation of the parameter will occur only if the part * is in the same state as the one being modified. */ -EAPI Eina_Bool edje_edit_state_external_param_set(Evas_Object *obj, const char *part, const char *state, double value, const char *param, Edje_External_Param_Type type, ...); +EDJE_API Eina_Bool edje_edit_state_external_param_set(Evas_Object *obj, const char *part, const char *state, double value, const char *param, Edje_External_Param_Type type, ...); /** * @brief Sets external parameter of type INT. @@ -5715,7 +5690,7 @@ EAPI Eina_Bool edje_edit_state_external_param_set(Evas_Object *obj, const char * * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_state_external_param_int_set(Evas_Object *obj, const char *part, const char *state, double value, const char *param, int val); +EDJE_API Eina_Bool edje_edit_state_external_param_int_set(Evas_Object *obj, const char *part, const char *state, double value, const char *param, int val); /** * @brief Sets external parameter of type BOOL. @@ -5729,7 +5704,7 @@ EAPI Eina_Bool edje_edit_state_external_param_int_set(Evas_Object *obj, const ch * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_state_external_param_bool_set(Evas_Object *obj, const char *part, const char *state, double value, const char *param, Eina_Bool val); +EDJE_API Eina_Bool edje_edit_state_external_param_bool_set(Evas_Object *obj, const char *part, const char *state, double value, const char *param, Eina_Bool val); /** * @brief Sets external parameter of type DOUBLE. @@ -5743,7 +5718,7 @@ EAPI Eina_Bool edje_edit_state_external_param_bool_set(Evas_Object *obj, const c * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_state_external_param_double_set(Evas_Object *obj, const char *part, const char *state, double value, const char *param, double val); +EDJE_API Eina_Bool edje_edit_state_external_param_double_set(Evas_Object *obj, const char *part, const char *state, double value, const char *param, double val); /** * @brief Sets external parameter of type STRING. @@ -5757,7 +5732,7 @@ EAPI Eina_Bool edje_edit_state_external_param_double_set(Evas_Object *obj, const * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_state_external_param_string_set(Evas_Object *obj, const char *part, const char *state, double value, const char *param, const char *val); +EDJE_API Eina_Bool edje_edit_state_external_param_string_set(Evas_Object *obj, const char *part, const char *state, double value, const char *param, const char *val); /** * @brief Sets external parameter of type CHOICE. @@ -5771,7 +5746,7 @@ EAPI Eina_Bool edje_edit_state_external_param_string_set(Evas_Object *obj, const * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_state_external_param_choice_set(Evas_Object *obj, const char *part, const char *state, double value, const char *param, const char *val); +EDJE_API Eina_Bool edje_edit_state_external_param_choice_set(Evas_Object *obj, const char *part, const char *state, double value, const char *param, const char *val); /** * @brief Sets the states step parameter values. @@ -5792,7 +5767,7 @@ EAPI Eina_Bool edje_edit_state_external_param_choice_set(Evas_Object *obj, const * @see edje_edit_state_step_get() * @since 1.11 */ -EAPI Eina_Bool edje_edit_state_step_set(Evas_Object *obj, const char *part, const char *state, double value, int step_x, int step_y); +EDJE_API Eina_Bool edje_edit_state_step_set(Evas_Object *obj, const char *part, const char *state, double value, int step_x, int step_y); /** * @brief Gets the states step values. @@ -5809,7 +5784,7 @@ EAPI Eina_Bool edje_edit_state_step_set(Evas_Object *obj, const char *part, cons * @see edje_edit_state_step_set() * @since 1.11 */ -EAPI Eina_Bool edje_edit_state_step_get(Evas_Object *obj, const char *part, const char *state, double value, int *step_x, int *step_y); +EDJE_API Eina_Bool edje_edit_state_step_get(Evas_Object *obj, const char *part, const char *state, double value, int *step_x, int *step_y); /** * @brief Sets the states limit parameter value. @@ -5836,7 +5811,7 @@ EAPI Eina_Bool edje_edit_state_step_get(Evas_Object *obj, const char *part, cons * @see edje_edit_state_limit_get() * @since 1.11 */ -EAPI Eina_Bool edje_edit_state_limit_set(Evas_Object *obj, const char *part, const char *state, double value, unsigned char limit); +EDJE_API Eina_Bool edje_edit_state_limit_set(Evas_Object *obj, const char *part, const char *state, double value, unsigned char limit); /** * @brief Gets the states limit value. @@ -5858,7 +5833,7 @@ EAPI Eina_Bool edje_edit_state_limit_set(Evas_Object *obj, const char *part, con * @see edje_edit_state_limit_set() * @since 1.11 */ -EAPI unsigned char edje_edit_state_limit_get(Evas_Object *obj, const char *part, const char *state, double value); +EDJE_API unsigned char edje_edit_state_limit_get(Evas_Object *obj, const char *part, const char *state, double value); //@} /******************************************************************************/ @@ -5880,7 +5855,7 @@ EAPI unsigned char edje_edit_state_limit_get(Evas_Object *obj, const char *part, * @return @c EINA_TRUE in case if mapping allowed or @c EINA_FALSE otherwise. * @since 1.11 **/ -EAPI Eina_Bool edje_edit_state_map_on_get(Evas_Object *obj, const char *part, const char *state, double value); +EDJE_API Eina_Bool edje_edit_state_map_on_get(Evas_Object *obj, const char *part, const char *state, double value); /** * @brief Enables mapping for the part. Default is 0. @@ -5894,7 +5869,7 @@ EAPI Eina_Bool edje_edit_state_map_on_get(Evas_Object *obj, const char *part, co * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. * @since 1.11 **/ -EAPI Eina_Bool edje_edit_state_map_on_set(Evas_Object *obj, const char *part, const char *state, double value, Eina_Bool on); +EDJE_API Eina_Bool edje_edit_state_map_on_set(Evas_Object *obj, const char *part, const char *state, double value, Eina_Bool on); /** * @brief Gets the part's name that is used as the 'perspective point'. @@ -5907,7 +5882,7 @@ EAPI Eina_Bool edje_edit_state_map_on_set(Evas_Object *obj, const char *part, co * @return The name of the source part that is used as 'perspective point'. * @since 1.11 */ -EAPI const char * edje_edit_state_map_perspective_get(Evas_Object *obj, const char *part, const char *state, double value); +EDJE_API const char * edje_edit_state_map_perspective_get(Evas_Object *obj, const char *part, const char *state, double value); /** * @brief Sets the part's name that is used as the 'perspective point'. @@ -5921,7 +5896,7 @@ EAPI const char * edje_edit_state_map_perspective_get(Evas_Object *obj, const ch * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. * @since 1.11 */ -EAPI Eina_Bool edje_edit_state_map_perspective_set(Evas_Object *obj, const char *part, const char *state, double value, const char *source_part); +EDJE_API Eina_Bool edje_edit_state_map_perspective_set(Evas_Object *obj, const char *part, const char *state, double value, const char *source_part); /** * @brief Gets the part's name that is used as the 'light' for calculating the brightness. @@ -5934,7 +5909,7 @@ EAPI Eina_Bool edje_edit_state_map_perspective_set(Evas_Object *obj, const char * @return The name of the source part that is used as 'light'. * @since 1.11 **/ -EAPI const char * edje_edit_state_map_light_get(Evas_Object *obj, const char *part, const char *state, double value); +EDJE_API const char * edje_edit_state_map_light_get(Evas_Object *obj, const char *part, const char *state, double value); /** * @brief Sets the part that is used as the 'light'. @@ -5948,7 +5923,7 @@ EAPI const char * edje_edit_state_map_light_get(Evas_Object *obj, const char *pa * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. * @since 1.11 **/ -EAPI Eina_Bool edje_edit_state_map_light_set(Evas_Object *obj, const char *part, const char *state, double value, const char *source_part); +EDJE_API Eina_Bool edje_edit_state_map_light_set(Evas_Object *obj, const char *part, const char *state, double value, const char *source_part); /** * @brief Gets backface_cull value of given part state. @@ -5961,7 +5936,7 @@ EAPI Eina_Bool edje_edit_state_map_light_set(Evas_Object *obj, const char *part, * @return backface_cull value of given part state. * @since 1.11 **/ -EAPI Eina_Bool edje_edit_state_map_backface_cull_get(Evas_Object *obj, const char *part, const char *state, double value); +EDJE_API Eina_Bool edje_edit_state_map_backface_cull_get(Evas_Object *obj, const char *part, const char *state, double value); /** * @brief Sets backface_cull value of given part state. @@ -5975,7 +5950,7 @@ EAPI Eina_Bool edje_edit_state_map_backface_cull_get(Evas_Object *obj, const cha * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. * @since 1.11 **/ -EAPI Eina_Bool edje_edit_state_map_backface_cull_set(Evas_Object *obj, const char *part, const char *state, double value, Eina_Bool backface_cull); +EDJE_API Eina_Bool edje_edit_state_map_backface_cull_set(Evas_Object *obj, const char *part, const char *state, double value, Eina_Bool backface_cull); /** * @brief Gets perspective_on value of given part state. @@ -5988,7 +5963,7 @@ EAPI Eina_Bool edje_edit_state_map_backface_cull_set(Evas_Object *obj, const cha * @return perspective_on value of given part state. * @since 1.11 **/ -EAPI Eina_Bool edje_edit_state_map_perspective_on_get(Evas_Object *obj, const char *part, const char *state, double value); +EDJE_API Eina_Bool edje_edit_state_map_perspective_on_get(Evas_Object *obj, const char *part, const char *state, double value); /** * @brief Sets perspective_on value of given part state. @@ -6002,7 +5977,7 @@ EAPI Eina_Bool edje_edit_state_map_perspective_on_get(Evas_Object *obj, const ch * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. * @since 1.11 **/ -EAPI Eina_Bool edje_edit_state_map_perspective_on_set(Evas_Object *obj, const char *part, const char *state, double value, Eina_Bool perspective_on); +EDJE_API Eina_Bool edje_edit_state_map_perspective_on_set(Evas_Object *obj, const char *part, const char *state, double value, Eina_Bool perspective_on); /** * @brief Gets map.alpha value of given part state. @@ -6015,7 +5990,7 @@ EAPI Eina_Bool edje_edit_state_map_perspective_on_set(Evas_Object *obj, const ch * @return map.alpha value of given part state. * @since 1.11 **/ -EAPI Eina_Bool edje_edit_state_map_alpha_get(Evas_Object *obj, const char *part, const char *state, double value); +EDJE_API Eina_Bool edje_edit_state_map_alpha_get(Evas_Object *obj, const char *part, const char *state, double value); /** * @brief Sets map.alpha value of given part state. @@ -6029,7 +6004,7 @@ EAPI Eina_Bool edje_edit_state_map_alpha_get(Evas_Object *obj, const char *part, * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. * @since 1.11 **/ -EAPI Eina_Bool edje_edit_state_map_alpha_set(Evas_Object *obj, const char *part, const char *state, double value, Eina_Bool alpha); +EDJE_API Eina_Bool edje_edit_state_map_alpha_set(Evas_Object *obj, const char *part, const char *state, double value, Eina_Bool alpha); /** * @brief Gets map.smooth value of given part state. @@ -6042,7 +6017,7 @@ EAPI Eina_Bool edje_edit_state_map_alpha_set(Evas_Object *obj, const char *part, * @return map.smooth value of given part state. * @since 1.11 **/ -EAPI Eina_Bool edje_edit_state_map_smooth_get(Evas_Object *obj, const char *part, const char *state, double value); +EDJE_API Eina_Bool edje_edit_state_map_smooth_get(Evas_Object *obj, const char *part, const char *state, double value); /** * @brief Sets map.smooth value of given part state. @@ -6056,7 +6031,7 @@ EAPI Eina_Bool edje_edit_state_map_smooth_get(Evas_Object *obj, const char *part * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. * @since 1.11 **/ -EAPI Eina_Bool edje_edit_state_map_smooth_set(Evas_Object *obj, const char *part, const char *state, double value, Eina_Bool smooth); +EDJE_API Eina_Bool edje_edit_state_map_smooth_set(Evas_Object *obj, const char *part, const char *state, double value, Eina_Bool smooth); /** * @brief Gets map.rotation of given part state. @@ -6072,7 +6047,7 @@ EAPI Eina_Bool edje_edit_state_map_smooth_set(Evas_Object *obj, const char *part * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. * @since 1.11 **/ -EAPI Eina_Bool edje_edit_state_map_rotation_get(Evas_Object *obj, const char *part, const char *state, double value, double *x, double *y, double *z); +EDJE_API Eina_Bool edje_edit_state_map_rotation_get(Evas_Object *obj, const char *part, const char *state, double value, double *x, double *y, double *z); /** * @brief Sets map.rotation of given part state. @@ -6088,7 +6063,7 @@ EAPI Eina_Bool edje_edit_state_map_rotation_get(Evas_Object *obj, const char *pa * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. * @since 1.11 **/ -EAPI Eina_Bool edje_edit_state_map_rotation_set(Evas_Object *obj, const char *part, const char *state, double value, double x, double y, double z); +EDJE_API Eina_Bool edje_edit_state_map_rotation_set(Evas_Object *obj, const char *part, const char *state, double value, double x, double y, double z); /** * @brief Gets map.perspective.focal value of given part state. @@ -6101,7 +6076,7 @@ EAPI Eina_Bool edje_edit_state_map_rotation_set(Evas_Object *obj, const char *pa * @return map.perspective.focal value of given part state. * @since 1.11 **/ -EAPI int edje_edit_state_map_perspective_focal_get(Evas_Object *obj, const char *part, const char *state, double value); +EDJE_API int edje_edit_state_map_perspective_focal_get(Evas_Object *obj, const char *part, const char *state, double value); /** * @brief Sets map.perspective.focal value of given part state. @@ -6115,7 +6090,7 @@ EAPI int edje_edit_state_map_perspective_focal_get(Evas_Object *obj, const char * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. * @since 1.11 **/ -EAPI Eina_Bool edje_edit_state_map_perspective_focal_set(Evas_Object *obj, const char *part, const char *state, double value, int focal); +EDJE_API Eina_Bool edje_edit_state_map_perspective_focal_set(Evas_Object *obj, const char *part, const char *state, double value, int focal); /** * @brief Gets map.perspective.zplane value of given part state. @@ -6128,7 +6103,7 @@ EAPI Eina_Bool edje_edit_state_map_perspective_focal_set(Evas_Object *obj, const * @return map.perspective.zplane value of given part state. * @since 1.11 **/ -EAPI int edje_edit_state_map_perspective_zplane_get(Evas_Object *obj, const char *part, const char *state, double value); +EDJE_API int edje_edit_state_map_perspective_zplane_get(Evas_Object *obj, const char *part, const char *state, double value); /** * @brief Sets map.perspective.zplane value of given part state. @@ -6142,7 +6117,7 @@ EAPI int edje_edit_state_map_perspective_zplane_get(Evas_Object *obj, const char * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. * @since 1.11 **/ -EAPI Eina_Bool edje_edit_state_map_perspective_zplane_set(Evas_Object *obj, const char *part, const char *state, double value, int zplane); +EDJE_API Eina_Bool edje_edit_state_map_perspective_zplane_set(Evas_Object *obj, const char *part, const char *state, double value, int zplane); /** * @brief Gets the part's name that is used as the center rotation. @@ -6155,7 +6130,7 @@ EAPI Eina_Bool edje_edit_state_map_perspective_zplane_set(Evas_Object *obj, cons * @return The name of the source part that is used as center rotation. * @since 1.11 **/ -EAPI const char * edje_edit_state_map_rotation_center_get(Evas_Object *obj, const char *part, const char *state, double value); +EDJE_API const char * edje_edit_state_map_rotation_center_get(Evas_Object *obj, const char *part, const char *state, double value); /** * @brief Sets map.zoom (x and y) values of given part state. @@ -6170,7 +6145,7 @@ EAPI const char * edje_edit_state_map_rotation_center_get(Evas_Object *obj, cons * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. * @since 1.19 **/ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_map_zoom_set(Evas_Object *obj, const char *part, const char *state, double value, double x, double y); /** @@ -6186,7 +6161,7 @@ edje_edit_state_map_zoom_set(Evas_Object *obj, const char *part, const char *sta * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. * @since 1.19 **/ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_map_zoom_get(Evas_Object *obj, const char *part, const char *state, double value, double *x, double *y); /** @@ -6201,7 +6176,7 @@ edje_edit_state_map_zoom_get(Evas_Object *obj, const char *part, const char *sta * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. * @since 1.11 **/ -EAPI Eina_Bool edje_edit_state_map_rotation_center_set(Evas_Object *obj, const char *part, const char *state, double value, const char *source_part); +EDJE_API Eina_Bool edje_edit_state_map_rotation_center_set(Evas_Object *obj, const char *part, const char *state, double value, const char *source_part); /** * @brief Sets the color for vertex/point of the current part. @@ -6225,7 +6200,7 @@ EAPI Eina_Bool edje_edit_state_map_rotation_center_set(Evas_Object *obj, const c * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. * @since 1.11 **/ -EAPI Eina_Bool edje_edit_state_map_point_color_set(Evas_Object *obj, const char *part, const char *state, double value, int idx, int r, int g, int b, int a); +EDJE_API Eina_Bool edje_edit_state_map_point_color_set(Evas_Object *obj, const char *part, const char *state, double value, int idx, int r, int g, int b, int a); /** * @brief Gets the color of given vertex/point of the current part. @@ -6249,7 +6224,7 @@ EAPI Eina_Bool edje_edit_state_map_point_color_set(Evas_Object *obj, const char * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. * @since 1.11 **/ -EAPI Eina_Bool edje_edit_state_map_point_color_get(Evas_Object *obj, const char *part, const char *state, double value, int idx, int *r, int *g, int *b, int *a); +EDJE_API Eina_Bool edje_edit_state_map_point_color_get(Evas_Object *obj, const char *part, const char *state, double value, int idx, int *r, int *g, int *b, int *a); /** * @brief Sets the source part for given part state. @@ -6266,7 +6241,7 @@ EAPI Eina_Bool edje_edit_state_map_point_color_get(Evas_Object *obj, const char * @see edje_edit_state_proxy_source_get() * @since 1.11 */ -EAPI Eina_Bool edje_edit_state_proxy_source_set(Evas_Object *obj, const char *part, const char *state, double value, const char *source_name); +EDJE_API Eina_Bool edje_edit_state_proxy_source_set(Evas_Object *obj, const char *part, const char *state, double value, const char *source_name); /** * @brief Gets the source name for given state of part. @@ -6281,7 +6256,7 @@ EAPI Eina_Bool edje_edit_state_proxy_source_set(Evas_Object *obj, const char *pa * @see edje_edit_state_proxy_source_set() * @since 1.11 */ -EAPI Eina_Stringshare * edje_edit_state_proxy_source_get(Evas_Object *obj, const char *part, const char *state, double value); +EDJE_API Eina_Stringshare * edje_edit_state_proxy_source_get(Evas_Object *obj, const char *part, const char *state, double value); /** * @brief Sets the source clip for given PROXY part state. @@ -6297,7 +6272,7 @@ EAPI Eina_Stringshare * edje_edit_state_proxy_source_get(Evas_Object *obj, const * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. * @since 1.18 */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_proxy_source_clip_set(Evas_Object *obj, const char *part, const char *state, double value, Eina_Bool clip); /** @@ -6313,7 +6288,7 @@ edje_edit_state_proxy_source_clip_set(Evas_Object *obj, const char *part, const * @return @c EINA_TRUE in case if source clipper is used, @c EINA_FALSE otherwise. * @since 1.18 */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_proxy_source_clip_get(Evas_Object *obj, const char *part, const char *state, double value); /** @@ -6332,7 +6307,7 @@ edje_edit_state_proxy_source_clip_get(Evas_Object *obj, const char *part, const * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. * @since 1.18 */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_proxy_source_visible_set(Evas_Object *obj, const char *part, const char *state, double value, Eina_Bool visibility); /** @@ -6350,7 +6325,7 @@ edje_edit_state_proxy_source_visible_set(Evas_Object *obj, const char *part, con * @return @c EINA_TRUE in case when source object visibility is set to true, @c EINA_FALSE otherwise. * @since 1.18 */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_proxy_source_visible_get(Evas_Object *obj, const char *part, const char *state, double value); //@} @@ -6374,7 +6349,7 @@ edje_edit_state_proxy_source_visible_get(Evas_Object *obj, const char *part, con * * @return A newly allocated string containing the text for the given state. */ -EAPI const char * edje_edit_state_text_get(Evas_Object *obj, const char *part, const char *state, double value); +EDJE_API const char * edje_edit_state_text_get(Evas_Object *obj, const char *part, const char *state, double value); /** * @brief Sets the text of a part state. @@ -6387,7 +6362,7 @@ EAPI const char * edje_edit_state_text_get(Evas_Object *obj, const char *part, c * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_state_text_set(Evas_Object *obj, const char *part, const char *state, double value,const char *text); +EDJE_API Eina_Bool edje_edit_state_text_set(Evas_Object *obj, const char *part, const char *state, double value,const char *text); /** * @brief Gets font name for a given part state. @@ -6401,7 +6376,7 @@ EAPI Eina_Bool edje_edit_state_text_set(Evas_Object *obj, const char *part, cons * * @return Font used by the part or NULL if error or nothing is set. */ -EAPI const char * edje_edit_state_font_get(Evas_Object *obj, const char *part, const char *state, double value); +EDJE_API const char * edje_edit_state_font_get(Evas_Object *obj, const char *part, const char *state, double value); /** * @brief Sets font name for a given part state. @@ -6418,7 +6393,7 @@ EAPI const char * edje_edit_state_font_get(Evas_Object *obj, const char *part, c * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_state_font_set(Evas_Object *obj, const char *part, const char *state, double value, const char *font); +EDJE_API Eina_Bool edje_edit_state_font_set(Evas_Object *obj, const char *part, const char *state, double value, const char *font); /** * @brief Gets the text size of a part state. @@ -6430,7 +6405,7 @@ EAPI Eina_Bool edje_edit_state_font_set(Evas_Object *obj, const char *part, cons * * @return The text size or @c -1 on errors. */ -EAPI int edje_edit_state_text_size_get(Evas_Object *obj, const char *part, const char *state, double value); +EDJE_API int edje_edit_state_text_size_get(Evas_Object *obj, const char *part, const char *state, double value); /** * @brief Sets the text size of a part state. @@ -6443,7 +6418,7 @@ EAPI int edje_edit_state_text_size_get(Evas_Object *obj, const char *part, const * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_state_text_size_set(Evas_Object *obj, const char *part, const char *state, double value, int size); +EDJE_API Eina_Bool edje_edit_state_text_size_set(Evas_Object *obj, const char *part, const char *state, double value, int size); /** * @brief Gets the text horizontal align of a part state. @@ -6458,7 +6433,7 @@ EAPI Eina_Bool edje_edit_state_text_size_set(Evas_Object *obj, const char *part, * * @return The text horizontal align value */ -EAPI double edje_edit_state_text_align_x_get(Evas_Object *obj, const char *part, const char *state, double value); +EDJE_API double edje_edit_state_text_align_x_get(Evas_Object *obj, const char *part, const char *state, double value); /** * @brief Gets the text vertical align of a part state. @@ -6472,7 +6447,7 @@ EAPI double edje_edit_state_text_align_x_get(Evas_Object *obj, const char *part, * * @return The text horizontal align value */ -EAPI double edje_edit_state_text_align_y_get(Evas_Object *obj, const char *part, const char *state, double value); +EDJE_API double edje_edit_state_text_align_y_get(Evas_Object *obj, const char *part, const char *state, double value); /** * @brief Sets the text horizontal align of a part state. @@ -6488,7 +6463,7 @@ EAPI double edje_edit_state_text_align_y_get(Evas_Object *obj, const char *part, * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_state_text_align_x_set(Evas_Object *obj, const char *part, const char *state, double value, double align); +EDJE_API Eina_Bool edje_edit_state_text_align_x_set(Evas_Object *obj, const char *part, const char *state, double value, double align); /** * @brief Sets the text vertical align of a part state. @@ -6503,7 +6478,7 @@ EAPI Eina_Bool edje_edit_state_text_align_x_set(Evas_Object *obj, const char *pa * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_state_text_align_y_set(Evas_Object *obj, const char *part, const char *state, double value, double align); +EDJE_API Eina_Bool edje_edit_state_text_align_y_set(Evas_Object *obj, const char *part, const char *state, double value, double align); /** * @brief Gets the text elipsis of a part state. @@ -6517,7 +6492,7 @@ EAPI Eina_Bool edje_edit_state_text_align_y_set(Evas_Object *obj, const char *pa * * @return The text elipsis value */ -EAPI double edje_edit_state_text_elipsis_get(Evas_Object *obj, const char *part, const char *state, double value); +EDJE_API double edje_edit_state_text_elipsis_get(Evas_Object *obj, const char *part, const char *state, double value); /** * @brief Sets the text vertical align of a part state. @@ -6533,7 +6508,7 @@ EAPI double edje_edit_state_text_elipsis_get(Evas_Object *obj, const char *part, * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_state_text_elipsis_set(Evas_Object *obj, const char *part, const char *state, double value, double balance); +EDJE_API Eina_Bool edje_edit_state_text_elipsis_set(Evas_Object *obj, const char *part, const char *state, double value, double balance); /** * @brief Gets if the text part fit it's container horizontally. @@ -6545,7 +6520,7 @@ EAPI Eina_Bool edje_edit_state_text_elipsis_set(Evas_Object *obj, const char *pa * * @return @c EINA_TRUE If the part fit it's container horizontally, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_state_text_fit_x_get(Evas_Object *obj, const char *part, const char *state, double value); +EDJE_API Eina_Bool edje_edit_state_text_fit_x_get(Evas_Object *obj, const char *part, const char *state, double value); /** * @brief Sets if the text part should fit it's container horizontally. @@ -6558,7 +6533,7 @@ EAPI Eina_Bool edje_edit_state_text_fit_x_get(Evas_Object *obj, const char *part * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_state_text_fit_x_set(Evas_Object *obj, const char *part, const char *state, double value, Eina_Bool fit); +EDJE_API Eina_Bool edje_edit_state_text_fit_x_set(Evas_Object *obj, const char *part, const char *state, double value, Eina_Bool fit); /** * @brief Gets if the text part fit it's container vertically. @@ -6570,7 +6545,7 @@ EAPI Eina_Bool edje_edit_state_text_fit_x_set(Evas_Object *obj, const char *part * * @return @c EINA_TRUE If the part fit it's container vertically, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_state_text_fit_y_get(Evas_Object *obj, const char *part, const char *state, double value); +EDJE_API Eina_Bool edje_edit_state_text_fit_y_get(Evas_Object *obj, const char *part, const char *state, double value); /** * @brief Sets if the text part should fit it's container vertically. @@ -6583,7 +6558,7 @@ EAPI Eina_Bool edje_edit_state_text_fit_y_get(Evas_Object *obj, const char *part * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_state_text_fit_y_set(Evas_Object *obj, const char *part, const char *state, double value, Eina_Bool fit); +EDJE_API Eina_Bool edje_edit_state_text_fit_y_set(Evas_Object *obj, const char *part, const char *state, double value, Eina_Bool fit); /** * @brief Gets if the text part forces the minimum horizontal size of the container to be equal to the minimum horizontal size of the text part @@ -6595,7 +6570,7 @@ EAPI Eina_Bool edje_edit_state_text_fit_y_set(Evas_Object *obj, const char *part * * @return @c EINA_TRUE If the part forces container's minimum horizontal size, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_state_text_min_x_get(Evas_Object *obj, const char *part, const char *state, double value); +EDJE_API Eina_Bool edje_edit_state_text_min_x_get(Evas_Object *obj, const char *part, const char *state, double value); /** * @brief Gets if the text part forces the maximum horizontal size of the container to be equal to the maximum horizontal size of the text part @@ -6607,7 +6582,7 @@ EAPI Eina_Bool edje_edit_state_text_min_x_get(Evas_Object *obj, const char *part * * @return @c EINA_TRUE If the part forces container's maximum horizontal size, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_state_text_max_x_get(Evas_Object *obj, const char *part, const char *state, double value); +EDJE_API Eina_Bool edje_edit_state_text_max_x_get(Evas_Object *obj, const char *part, const char *state, double value); /** * @brief Gets if the text part forces the minimum vertical size of the container to be equal to the minimum vertical size of the text part @@ -6619,7 +6594,7 @@ EAPI Eina_Bool edje_edit_state_text_max_x_get(Evas_Object *obj, const char *part * * @return @c EINA_TRUE If the part forces container's minimum vertical size, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_state_text_min_y_get(Evas_Object *obj, const char *part, const char *state, double value); +EDJE_API Eina_Bool edje_edit_state_text_min_y_get(Evas_Object *obj, const char *part, const char *state, double value); /** * @brief Gets if the text part forces the maximum vertical size of the container to be equal to the maximum vertical size of the text part @@ -6631,7 +6606,7 @@ EAPI Eina_Bool edje_edit_state_text_min_y_get(Evas_Object *obj, const char *part * * @return @c EINA_TRUE If the part forces container's maximum vertical size, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_state_text_max_y_get(Evas_Object *obj, const char *part, const char *state, double value); +EDJE_API Eina_Bool edje_edit_state_text_max_y_get(Evas_Object *obj, const char *part, const char *state, double value); /** * @brief Sets if the text part forces the minimum horizontal size of the container to be equal to the minimum horizontal size of the text part @@ -6644,7 +6619,7 @@ EAPI Eina_Bool edje_edit_state_text_max_y_get(Evas_Object *obj, const char *part * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_state_text_min_x_set(Evas_Object *obj, const char *part, const char *state, double value, Eina_Bool v); +EDJE_API Eina_Bool edje_edit_state_text_min_x_set(Evas_Object *obj, const char *part, const char *state, double value, Eina_Bool v); /** * @brief Sets if the text part forces the maximum horizontal size of the container to be equal to the maximum horizontal size of the text part @@ -6657,7 +6632,7 @@ EAPI Eina_Bool edje_edit_state_text_min_x_set(Evas_Object *obj, const char *part * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_state_text_max_x_set(Evas_Object *obj, const char *part, const char *state, double value, Eina_Bool v); +EDJE_API Eina_Bool edje_edit_state_text_max_x_set(Evas_Object *obj, const char *part, const char *state, double value, Eina_Bool v); /** * @brief Sets if the text part forces the minimum vertical size of the container to be equal to the minimum vertical size of the text part @@ -6670,7 +6645,7 @@ EAPI Eina_Bool edje_edit_state_text_max_x_set(Evas_Object *obj, const char *part * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_state_text_min_y_set(Evas_Object *obj, const char *part, const char *state, double value, Eina_Bool v); +EDJE_API Eina_Bool edje_edit_state_text_min_y_set(Evas_Object *obj, const char *part, const char *state, double value, Eina_Bool v); /** * @brief Sets if the text part forces the maximum vertical size of the container to be equal to the maximum vertical size of the text part @@ -6683,7 +6658,7 @@ EAPI Eina_Bool edje_edit_state_text_min_y_set(Evas_Object *obj, const char *part * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_state_text_max_y_set(Evas_Object *obj, const char *part, const char *state, double value, Eina_Bool v); +EDJE_API Eina_Bool edje_edit_state_text_max_y_set(Evas_Object *obj, const char *part, const char *state, double value, Eina_Bool v); /** * @brief Gets style name for a given part state. @@ -6695,7 +6670,7 @@ EAPI Eina_Bool edje_edit_state_text_max_y_set(Evas_Object *obj, const char *part * * @return Style used by the part, or NULL if error or nothing is set. */ -EAPI const char * edje_edit_state_text_style_get(Evas_Object *obj, const char *part, const char *state, double value); +EDJE_API const char * edje_edit_state_text_style_get(Evas_Object *obj, const char *part, const char *state, double value); /** * @brief Sets style name for a given part state. @@ -6711,7 +6686,7 @@ EAPI const char * edje_edit_state_text_style_get(Evas_Object *obj, const char *p * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_state_text_style_set(Evas_Object *obj, const char *part, const char *state, double value, const char *style); +EDJE_API Eina_Bool edje_edit_state_text_style_set(Evas_Object *obj, const char *part, const char *state, double value, const char *style); /** * @brief Gets part name, which used as text source. @@ -6724,7 +6699,7 @@ EAPI Eina_Bool edje_edit_state_text_style_set(Evas_Object *obj, const char *part * * @return The name of part or NULL, if text_source param not a setted. */ -EAPI const char * edje_edit_state_text_text_source_get(Evas_Object *obj, const char *part, const char *state, double value); +EDJE_API const char * edje_edit_state_text_text_source_get(Evas_Object *obj, const char *part, const char *state, double value); /** * @brief Sets the source text part for a given part. @@ -6740,7 +6715,7 @@ EAPI const char * edje_edit_state_text_text_source_get(Evas_Object *obj, const c * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_state_text_text_source_set(Evas_Object *obj, const char *part, const char *state, double value, const char *source); +EDJE_API Eina_Bool edje_edit_state_text_text_source_set(Evas_Object *obj, const char *part, const char *state, double value, const char *source); /** * @brief Gets part name, which used as style text source. @@ -6753,7 +6728,7 @@ EAPI Eina_Bool edje_edit_state_text_text_source_set(Evas_Object *obj, const char * * @return The name of part or NULL, if text_source param not a setted. */ -EAPI const char * edje_edit_state_text_source_get(Evas_Object *obj, const char *part, const char *state, double value); +EDJE_API const char * edje_edit_state_text_source_get(Evas_Object *obj, const char *part, const char *state, double value); /** * @brief Sets the source part which would be used as style for text for a given part. @@ -6769,7 +6744,7 @@ EAPI const char * edje_edit_state_text_source_get(Evas_Object *obj, const char * * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_state_text_source_set(Evas_Object *obj, const char *part, const char *state, double value, const char *source); +EDJE_API Eina_Bool edje_edit_state_text_source_set(Evas_Object *obj, const char *part, const char *state, double value, const char *source); /** * @brief Gets the text class of the given part state. @@ -6781,7 +6756,7 @@ EAPI Eina_Bool edje_edit_state_text_source_set(Evas_Object *obj, const char *par * * @return The current text class. */ -EAPI const char * edje_edit_state_text_class_get(Evas_Object *obj, const char *part, const char *state, double value); +EDJE_API const char * edje_edit_state_text_class_get(Evas_Object *obj, const char *part, const char *state, double value); /** * @brief Sets the text class of the given part state. @@ -6794,7 +6769,7 @@ EAPI const char * edje_edit_state_text_class_get(Evas_Object *obj, const char *p * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_state_text_class_set(Evas_Object *obj, const char *part, const char *state, double value, const char *text_class); +EDJE_API Eina_Bool edje_edit_state_text_class_set(Evas_Object *obj, const char *part, const char *state, double value, const char *text_class); /** * @brief Gets the replacement character string of the given part state. @@ -6807,7 +6782,7 @@ EAPI Eina_Bool edje_edit_state_text_class_set(Evas_Object *obj, const char *part * * @return The current replacement character. */ -EAPI const char * edje_edit_state_text_repch_get(Evas_Object *obj, const char *part, const char *state, double value); +EDJE_API const char * edje_edit_state_text_repch_get(Evas_Object *obj, const char *part, const char *state, double value); /** * @brief Sets the replacement character string of the given part state. @@ -6821,7 +6796,7 @@ EAPI const char * edje_edit_state_text_repch_get(Evas_Object *obj, const char *p * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_state_text_repch_set(Evas_Object *obj, const char *part, const char *state, double value, const char *repch); +EDJE_API Eina_Bool edje_edit_state_text_repch_set(Evas_Object *obj, const char *part, const char *state, double value, const char *repch); /** * @brief Gets the min and max font size allowed for the text part. @@ -6835,7 +6810,7 @@ EAPI Eina_Bool edje_edit_state_text_repch_set(Evas_Object *obj, const char *part * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_state_text_size_range_min_max_get(Evas_Object *obj, const char *part, const char *state, double value, int *min, int *max); +EDJE_API Eina_Bool edje_edit_state_text_size_range_min_max_get(Evas_Object *obj, const char *part, const char *state, double value, int *min, int *max); /** * @brief Sets the min and max font size allowed for the text part. @@ -6849,7 +6824,7 @@ EAPI Eina_Bool edje_edit_state_text_size_range_min_max_get(Evas_Object *obj, con * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_state_text_size_range_min_max_set(Evas_Object *obj, const char *part, const char *state, double value, int min, int max); +EDJE_API Eina_Bool edje_edit_state_text_size_range_min_max_set(Evas_Object *obj, const char *part, const char *state, double value, int min, int max); /** * @brief Gets the list of all the fonts in the given edje. @@ -6860,7 +6835,7 @@ EAPI Eina_Bool edje_edit_state_text_size_range_min_max_set(Evas_Object *obj, con * * @return A list containing all the fonts names found in the edje file. */ -EAPI Eina_List * edje_edit_fonts_list_get(Evas_Object *obj); +EDJE_API Eina_List * edje_edit_fonts_list_get(Evas_Object *obj); /** * @brief Adds a new font to the edje file. @@ -6873,7 +6848,7 @@ EAPI Eina_List * edje_edit_fonts_list_get(Evas_Object *obj); * * @return @c EINA_TRUE if font cat be loaded, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_font_add(Evas_Object *obj, const char *path, const char* alias); +EDJE_API Eina_Bool edje_edit_font_add(Evas_Object *obj, const char *path, const char* alias); /** * @brief Deletes font from the edje file. @@ -6886,7 +6861,7 @@ EAPI Eina_Bool edje_edit_font_add(Evas_Object *obj, const char *path, const char * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise.(including the * case when the alias is not valid). */ -EAPI Eina_Bool edje_edit_font_del(Evas_Object *obj, const char* alias); +EDJE_API Eina_Bool edje_edit_font_del(Evas_Object *obj, const char* alias); /** * @brief Gets font path for a given font alias. @@ -6898,7 +6873,7 @@ EAPI Eina_Bool edje_edit_font_del(Evas_Object *obj, const char* alias); * * @return The path of the given font alias. */ -EAPI const char *edje_edit_font_path_get(Evas_Object *obj, const char *alias); +EDJE_API const char *edje_edit_font_path_get(Evas_Object *obj, const char *alias); //@} /******************************************************************************/ @@ -6919,7 +6894,7 @@ EAPI const char *edje_edit_font_path_get(Evas_Object *obj, const char *alias); * * @since 1.18 */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_image_set_exists(Evas_Object *obj, const char *image); /** @@ -6932,7 +6907,7 @@ edje_edit_image_set_exists(Evas_Object *obj, const char *image); * * @since 1.18 */ -EAPI int +EDJE_API int edje_edit_image_set_id_get(Evas_Object *obj, const char *name); /** @@ -6946,7 +6921,7 @@ edje_edit_image_set_id_get(Evas_Object *obj, const char *name); * * @since 1.18 */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_image_set_rename(Evas_Object *obj, const char *set, const char *new_set); /** @@ -6959,7 +6934,7 @@ edje_edit_image_set_rename(Evas_Object *obj, const char *set, const char *new_se * * @since 1.18 */ -EAPI Eina_List * +EDJE_API Eina_List * edje_edit_image_set_list_get(Evas_Object *obj); /** @@ -6974,7 +6949,7 @@ edje_edit_image_set_list_get(Evas_Object *obj); * * @return Eina_List containing Edje_Part_Image_Use if successful, NULL otherwise */ -EAPI Eina_List* +EDJE_API Eina_List* edje_edit_set_usage_list_get(Evas_Object *obj, const char *name, Eina_Bool first_only); /** @@ -6987,7 +6962,7 @@ edje_edit_set_usage_list_get(Evas_Object *obj, const char *name, Eina_Bool first * * @since 1.18 */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_image_set_add(Evas_Object *obj, const char *name); /** @@ -7002,7 +6977,7 @@ edje_edit_image_set_add(Evas_Object *obj, const char *name); * * @since 1.18 */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_image_set_del(Evas_Object *obj, const char *name); /** @@ -7016,7 +6991,7 @@ edje_edit_image_set_del(Evas_Object *obj, const char *name); * * @since 1.18 */ -EAPI Eina_List * +EDJE_API Eina_List * edje_edit_image_set_images_list_get(Evas_Object *obj, const char *name); /** @@ -7035,7 +7010,7 @@ edje_edit_image_set_images_list_get(Evas_Object *obj, const char *name); * * @since 1.18 */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_image_set_image_add(Evas_Object *obj, const char *set_name, const char *name); /** @@ -7053,7 +7028,7 @@ edje_edit_image_set_image_add(Evas_Object *obj, const char *set_name, const char * * @since 1.18 */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_image_set_image_del(Evas_Object *obj, const char *set_name, unsigned int place); /** @@ -7069,7 +7044,7 @@ edje_edit_image_set_image_del(Evas_Object *obj, const char *set_name, unsigned i * * @since 1.18 */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_image_set_image_min_get(Evas_Object *obj, const char *set_name, unsigned int place, int *w, int *h); /** @@ -7085,7 +7060,7 @@ edje_edit_image_set_image_min_get(Evas_Object *obj, const char *set_name, unsign * * @since 1.18 */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_image_set_image_min_set(Evas_Object *obj, const char *set_name, unsigned int place, int w, int h); /** @@ -7101,7 +7076,7 @@ edje_edit_image_set_image_min_set(Evas_Object *obj, const char *set_name, unsign * * @since 1.18 */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_image_set_image_max_get(Evas_Object *obj, const char *set_name, unsigned int place, int *w, int *h); /** @@ -7117,7 +7092,7 @@ edje_edit_image_set_image_max_get(Evas_Object *obj, const char *set_name, unsign * * @since 1.18 */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_image_set_image_max_set(Evas_Object *obj, const char *set_name, unsigned int place, int w, int h); /** @@ -7135,7 +7110,7 @@ edje_edit_image_set_image_max_set(Evas_Object *obj, const char *set_name, unsign * * @since 1.18 */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_image_set_image_border_get(Evas_Object *obj, const char *set_name, unsigned int place, int *l, int *r, int *b, int *t); /** @@ -7153,7 +7128,7 @@ edje_edit_image_set_image_border_get(Evas_Object *obj, const char *set_name, uns * * @since 1.18 */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_image_set_image_border_set(Evas_Object *obj, const char *set_name, unsigned int place, int l, int r, int b, int t); /** @@ -7167,7 +7142,7 @@ edje_edit_image_set_image_border_set(Evas_Object *obj, const char *set_name, uns * * @since 1.18 */ -EAPI double +EDJE_API double edje_edit_image_set_image_border_scale_get(Evas_Object *obj, const char *set_name, unsigned int place); /** @@ -7182,7 +7157,7 @@ edje_edit_image_set_image_border_scale_get(Evas_Object *obj, const char *set_nam * * @since 1.18 */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_image_set_image_border_scale_set(Evas_Object *obj, const char *set_name, unsigned int place, double scale_by); //@} @@ -7202,7 +7177,7 @@ edje_edit_image_set_image_border_scale_set(Evas_Object *obj, const char *set_nam * * @return A List containing all images names found in the edje file. */ -EAPI Eina_List * edje_edit_images_list_get(Evas_Object *obj); +EDJE_API Eina_List * edje_edit_images_list_get(Evas_Object *obj); /** * @brief Adds an new image to the image collection @@ -7221,7 +7196,7 @@ EAPI Eina_List * edje_edit_images_list_get(Evas_Object *obj); * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_image_add(Evas_Object *obj, const char *path); +EDJE_API Eina_Bool edje_edit_image_add(Evas_Object *obj, const char *path); /** * @brief Deletes an image from the image collection @@ -7235,7 +7210,7 @@ EAPI Eina_Bool edje_edit_image_add(Evas_Object *obj, const char *path); * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise.(including the * case when the name is not valid or image is in use). */ -EAPI Eina_Bool edje_edit_image_del(Evas_Object *obj, const char *name); +EDJE_API Eina_Bool edje_edit_image_del(Evas_Object *obj, const char *name); /** * @brief Replaces one image in all descriptions. @@ -7247,7 +7222,7 @@ EAPI Eina_Bool edje_edit_image_del(Evas_Object *obj, const char *name); * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise.(including the * case when one of the names is not valid) */ -EAPI Eina_Bool edje_edit_image_replace(Evas_Object *obj, const char *name, const char *new_name); +EDJE_API Eina_Bool edje_edit_image_replace(Evas_Object *obj, const char *name, const char *new_name); /** * @brief Renames image. @@ -7261,7 +7236,7 @@ EAPI Eina_Bool edje_edit_image_replace(Evas_Object *obj, const char *name, const * * @since 1.13 */ -EAPI Eina_Bool edje_edit_image_rename(Evas_Object *obj, const char *name, const char *new_name); +EDJE_API Eina_Bool edje_edit_image_rename(Evas_Object *obj, const char *name, const char *new_name); /** * @brief Gets list of (Edje_Part_Image_Use *) - group-part-state triplets where given @@ -7279,7 +7254,7 @@ EAPI Eina_Bool edje_edit_image_rename(Evas_Object *obj, const char *name, const * * @return Eina_List containing Edje_Part_Image_Use if successful, NULL otherwise */ -EAPI Eina_List* edje_edit_image_usage_list_get(Evas_Object *obj, const char *name, Eina_Bool first_only); +EDJE_API Eina_List* edje_edit_image_usage_list_get(Evas_Object *obj, const char *name, Eina_Bool first_only); /** * @brief Frees an Eina_List of (Edje_Part_Image_Use *) allocated by an edje_edit_image_usage_list_get() or @@ -7287,7 +7262,7 @@ EAPI Eina_List* edje_edit_image_usage_list_get(Evas_Object *obj, const char *nam * * @param lst List of strings to free. */ -EAPI void edje_edit_image_usage_list_free(Eina_List *lst); +EDJE_API void edje_edit_image_usage_list_free(Eina_List *lst); /** * @brief Adds an image entry to the image collection. @@ -7304,7 +7279,7 @@ EAPI void edje_edit_image_usage_list_free(Eina_List *lst); * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_image_data_add(Evas_Object *obj, const char *name, int id); +EDJE_API Eina_Bool edje_edit_image_data_add(Evas_Object *obj, const char *name, int id); /** * @brief Gets normal image name for a given part state. @@ -7316,7 +7291,7 @@ EAPI Eina_Bool edje_edit_image_data_add(Evas_Object *obj, const char *name, int * * @return The name of the image used by state. */ -EAPI const char * edje_edit_state_image_get(Evas_Object *obj, const char *part, const char *state, double value); +EDJE_API const char * edje_edit_state_image_get(Evas_Object *obj, const char *part, const char *state, double value); /** * @brief Sets normal image for a given part state. @@ -7329,7 +7304,7 @@ EAPI const char * edje_edit_state_image_get(Evas_Object *obj, const char *part, * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_state_image_set(Evas_Object *obj, const char *part, const char *state, double value, const char *image); +EDJE_API Eina_Bool edje_edit_state_image_set(Evas_Object *obj, const char *part, const char *state, double value, const char *image); /** * @brief Gets normal vector name for a given part state. @@ -7343,7 +7318,7 @@ EAPI Eina_Bool edje_edit_state_image_set(Evas_Object *obj, const char *part, con * @return The name of the vector used by state. * @since 1.19 */ -EAPI const char * edje_edit_state_vector_get(Evas_Object *obj, const char *part, const char *state, double value); +EDJE_API const char * edje_edit_state_vector_get(Evas_Object *obj, const char *part, const char *state, double value); /** * @brief Sets normal vector name for a given part state. @@ -7358,7 +7333,7 @@ EAPI const char * edje_edit_state_vector_get(Evas_Object *obj, const char *part, * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. * @since 1.19 */ -EAPI Eina_Bool edje_edit_state_vector_set(Evas_Object *obj, const char *part, const char *state, double value, const char *image); +EDJE_API Eina_Bool edje_edit_state_vector_set(Evas_Object *obj, const char *part, const char *state, double value, const char *image); /** * @brief Gets image id for a given image name. @@ -7368,7 +7343,7 @@ EAPI Eina_Bool edje_edit_state_vector_set(Evas_Object *obj, const char *part, co * * @return The id of the given image name. */ -EAPI int edje_edit_image_id_get(Evas_Object *obj, const char *image_name); +EDJE_API int edje_edit_image_id_get(Evas_Object *obj, const char *image_name); /** * @brief Gets compression type for the given image. @@ -7379,7 +7354,7 @@ EAPI int edje_edit_image_id_get(Evas_Object *obj, const char *image_name); * @return One of Image Compression types. * (EDJE_EDIT_IMAGE_COMP_RAW, EDJE_EDIT_IMAGE_COMP_USER, EDJE_EDIT_IMAGE_COMP_COMP, EDJE_EDIT_IMAGE_COMP_LOSSY[_ETC1]). */ -EAPI Edje_Edit_Image_Comp edje_edit_image_compression_type_get(Evas_Object *obj, const char *image); +EDJE_API Edje_Edit_Image_Comp edje_edit_image_compression_type_get(Evas_Object *obj, const char *image); /** * @brief Sets compression type for the given image. @@ -7391,7 +7366,7 @@ EAPI Edje_Edit_Image_Comp edje_edit_image_compression_type_get(Evas_Object *obj, * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_image_compression_type_set(Evas_Object *obj, const char *image, Edje_Edit_Image_Comp ic); +EDJE_API Eina_Bool edje_edit_image_compression_type_set(Evas_Object *obj, const char *image, Edje_Edit_Image_Comp ic); /** * @brief Gets compression rate for the given image. @@ -7402,7 +7377,7 @@ EAPI Eina_Bool edje_edit_image_compression_type_set(Evas_Object *obj, const char * @return The compression rate (if the image is @c * EDJE_EDIT_IMAGE_COMP_LOSSY[_ETC1]) or < 0, on errors. */ -EAPI int edje_edit_image_compression_rate_get(Evas_Object *obj, const char *image); +EDJE_API int edje_edit_image_compression_rate_get(Evas_Object *obj, const char *image); /** * @brief Gets the image border of a part state. @@ -7419,7 +7394,7 @@ EAPI int edje_edit_image_compression_rate_get(Evas_Object *obj, const char *imag * @param t A pointer to store the top value * @param b A pointer to store the bottom value */ -EAPI void edje_edit_state_image_border_get(Evas_Object *obj, const char *part, const char *state, double value, int *l, int *r, int *t, int *b); +EDJE_API void edje_edit_state_image_border_get(Evas_Object *obj, const char *part, const char *state, double value, int *l, int *r, int *t, int *b); /** * @brief Sets the image border of a part state. @@ -7438,7 +7413,7 @@ EAPI void edje_edit_state_image_border_get(Evas_Object *obj, const char *part, c * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_state_image_border_set(Evas_Object *obj, const char *part, const char *state, double value, int l, int r, int t, int b); +EDJE_API Eina_Bool edje_edit_state_image_border_set(Evas_Object *obj, const char *part, const char *state, double value, int l, int r, int t, int b); /** * @brief Gets the border scale value of a part state. @@ -7456,7 +7431,7 @@ EAPI Eina_Bool edje_edit_state_image_border_set(Evas_Object *obj, const char *pa * * @since 1.18 */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_image_border_scale_get(Evas_Object *obj, const char *part, const char *state, double value); /** @@ -7476,7 +7451,7 @@ edje_edit_state_image_border_scale_get(Evas_Object *obj, const char *part, const * * @since 1.18 */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_image_border_scale_set(Evas_Object *obj, const char *part, const char *state, double value, Eina_Bool scale); /** @@ -7494,7 +7469,7 @@ edje_edit_state_image_border_scale_set(Evas_Object *obj, const char *part, const * * @since 1.18 */ -EAPI double +EDJE_API double edje_edit_state_image_border_scale_by_get(Evas_Object *obj, const char *part, const char *state, double value); /** @@ -7513,7 +7488,7 @@ edje_edit_state_image_border_scale_by_get(Evas_Object *obj, const char *part, co * * @since 1.18 */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_image_border_scale_by_set(Evas_Object *obj, const char *part, const char *state, double value, double scale); /** @@ -7530,7 +7505,7 @@ edje_edit_state_image_border_scale_by_set(Evas_Object *obj, const char *part, co * * @return @c 2 if the center of the bordered image is draw without alpha, @c 1 drawing with alpha and @c 0 not drawing the center. */ -EAPI unsigned char edje_edit_state_image_border_fill_get(Evas_Object *obj, const char *part, const char *state, double value); +EDJE_API unsigned char edje_edit_state_image_border_fill_get(Evas_Object *obj, const char *part, const char *state, double value); /** * @brief Sets if the image center should be draw. @@ -7547,7 +7522,7 @@ EAPI unsigned char edje_edit_state_image_border_fill_get(Evas_Object *obj, const * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_state_image_border_fill_set(Evas_Object *obj, const char *part, const char *state, double value, unsigned char fill); +EDJE_API Eina_Bool edje_edit_state_image_border_fill_set(Evas_Object *obj, const char *part, const char *state, double value, unsigned char fill); /** * @brief Gets the list of all the tweens images in the given part state. @@ -7561,7 +7536,7 @@ EAPI Eina_Bool edje_edit_state_image_border_fill_set(Evas_Object *obj, const cha * * @return A string list containing all the image name that form a tween animation in the given part state. */ -EAPI Eina_List * edje_edit_state_tweens_list_get(Evas_Object *obj, const char *part, const char *state, double value); +EDJE_API Eina_List * edje_edit_state_tweens_list_get(Evas_Object *obj, const char *part, const char *state, double value); /** * @brief Adds a new tween frame to the given part state. @@ -7576,7 +7551,7 @@ EAPI Eina_List * edje_edit_state_tweens_list_get(Evas_Object *obj, const char *p * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_state_tween_add(Evas_Object *obj, const char *part, const char *state, double value, const char *tween); +EDJE_API Eina_Bool edje_edit_state_tween_add(Evas_Object *obj, const char *part, const char *state, double value, const char *tween); /** * @brief Inserts a new tween frame to the given part state into a specific place. @@ -7592,7 +7567,7 @@ EAPI Eina_Bool edje_edit_state_tween_add(Evas_Object *obj, const char *part, con * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_tween_insert_at(Evas_Object *obj, const char *part, const char *state, double value, const char *tween, int place); /** @@ -7608,7 +7583,7 @@ edje_edit_state_tween_insert_at(Evas_Object *obj, const char *part, const char * * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_state_tween_del(Evas_Object *obj, const char *part, const char *state, double value, const char *tween); +EDJE_API Eina_Bool edje_edit_state_tween_del(Evas_Object *obj, const char *part, const char *state, double value, const char *tween); //@} /******************************************************************************/ @@ -7624,7 +7599,7 @@ EAPI Eina_Bool edje_edit_state_tween_del(Evas_Object *obj, const char *part, con * @return The id of the given vector name. * @since 1.19 */ -EAPI int edje_edit_vector_id_get(Evas_Object *obj, const char *vector_name); +EDJE_API int edje_edit_vector_id_get(Evas_Object *obj, const char *vector_name); /** * @name Vectors API @@ -7640,7 +7615,7 @@ EAPI int edje_edit_vector_id_get(Evas_Object *obj, const char *vector_name); * @return A List containing all vector names found in the edje file. * @since 1.19 */ -EAPI Eina_List * edje_edit_vectors_list_get(Evas_Object *obj); +EDJE_API Eina_List * edje_edit_vectors_list_get(Evas_Object *obj); /** * @brief Deletes vector from the vector collection @@ -7655,7 +7630,7 @@ EAPI Eina_List * edje_edit_vectors_list_get(Evas_Object *obj); * case when the name is not valid or vector is in use). * @since 1.19 */ -EAPI Eina_Bool edje_edit_vector_del(Evas_Object *obj, const char *name); +EDJE_API Eina_Bool edje_edit_vector_del(Evas_Object *obj, const char *name); /** * @brief Gets list of (Edje_Part_Image_Use *) - group-part-state triplets where given @@ -7670,7 +7645,7 @@ EAPI Eina_Bool edje_edit_vector_del(Evas_Object *obj, const char *name); * @return Eina_List containing Edje_Part_Image_Use if successful, NULL otherwise * @since 1.19 */ -EAPI Eina_List* edje_edit_vector_usage_list_get(Evas_Object *obj, const char *name, Eina_Bool first_only); +EDJE_API Eina_List* edje_edit_vector_usage_list_get(Evas_Object *obj, const char *name, Eina_Bool first_only); //@} /******************************************************************************/ @@ -7690,7 +7665,7 @@ EAPI Eina_List* edje_edit_vector_usage_list_get(Evas_Object *obj, const char *na * @return A List containing all sounds samples names found in the edje file. * @since 1.11 */ -EAPI Eina_List * edje_edit_sound_samples_list_get(Evas_Object *obj); +EDJE_API Eina_List * edje_edit_sound_samples_list_get(Evas_Object *obj); /** * @brief Gets the list of all the sounds tones in the given edje. @@ -7701,7 +7676,7 @@ EAPI Eina_List * edje_edit_sound_samples_list_get(Evas_Object *obj); * @return A List containing all sounds tones names found in the edje file. * @since 1.11 */ -EAPI Eina_List * edje_edit_sound_tones_list_get(Evas_Object *obj); +EDJE_API Eina_List * edje_edit_sound_tones_list_get(Evas_Object *obj); /** * @brief Adds new sound sample to samples collection. @@ -7722,7 +7697,7 @@ EAPI Eina_List * edje_edit_sound_tones_list_get(Evas_Object *obj); * @see edje_edit_sound_sample_del() * @since 1.11 */ -EAPI Eina_Bool edje_edit_sound_sample_add(Evas_Object *obj, const char* name, const char* snd_src); +EDJE_API Eina_Bool edje_edit_sound_sample_add(Evas_Object *obj, const char* name, const char* snd_src); /** * @brief Deletes sound sample from the collection. @@ -7738,7 +7713,7 @@ EAPI Eina_Bool edje_edit_sound_sample_add(Evas_Object *obj, const char* name, co * @see edje_edit_sound_sample_add() * @since 1.11 */ -EAPI Eina_Bool edje_edit_sound_sample_del(Evas_Object *obj, const char *name); +EDJE_API Eina_Bool edje_edit_sound_sample_del(Evas_Object *obj, const char *name); /** * @brief Adds new tone to the collection. @@ -7755,7 +7730,7 @@ EAPI Eina_Bool edje_edit_sound_sample_del(Evas_Object *obj, const char *name); * @see edje_edit_sound_tone_del() * @since 1.11 */ -EAPI Eina_Bool edje_edit_sound_tone_add(Evas_Object *obj, const char* name, int frequency); +EDJE_API Eina_Bool edje_edit_sound_tone_add(Evas_Object *obj, const char* name, int frequency); /** * @brief Deletes tone from the collection. @@ -7771,7 +7746,7 @@ EAPI Eina_Bool edje_edit_sound_tone_add(Evas_Object *obj, const char* name, int * @see edje_edit_sound_tone_add() * @since 1.11 */ -EAPI Eina_Bool edje_edit_sound_tone_del(Evas_Object *obj, const char* name); +EDJE_API Eina_Bool edje_edit_sound_tone_del(Evas_Object *obj, const char* name); /** * @brief Gets the sound quality compression. @@ -7782,7 +7757,7 @@ EAPI Eina_Bool edje_edit_sound_tone_del(Evas_Object *obj, const char* name); * @return Quality of the compression of the sample sound. * @since 1.11 */ -EAPI double edje_edit_sound_compression_rate_get(Evas_Object *obj, const char* sound); +EDJE_API double edje_edit_sound_compression_rate_get(Evas_Object *obj, const char* sound); /** * @brief Sets the sound quality compression. @@ -7794,7 +7769,7 @@ EAPI double edje_edit_sound_compression_rate_get(Evas_Object *obj, const char* s * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. * @since 1.11 */ -EAPI Eina_Bool edje_edit_sound_compression_rate_set(Evas_Object *obj, const char* sound, double rate); +EDJE_API Eina_Bool edje_edit_sound_compression_rate_set(Evas_Object *obj, const char* sound, double rate); /** * @brief Sets the frequency of tone. @@ -7807,7 +7782,7 @@ EAPI Eina_Bool edje_edit_sound_compression_rate_set(Evas_Object *obj, const char * @see edje_edit_sound_tone_frequency_get() * @since 1.11 */ -EAPI Eina_Bool edje_edit_sound_tone_frequency_set(Evas_Object *obj, const char *name, int frequency); +EDJE_API Eina_Bool edje_edit_sound_tone_frequency_set(Evas_Object *obj, const char *name, int frequency); /** * @brief Gets the frequency of tone. @@ -7819,7 +7794,7 @@ EAPI Eina_Bool edje_edit_sound_tone_frequency_set(Evas_Object *obj, const char * * @see edje_edit_sound_tone_frequency_set() * @since 1.11 */ -EAPI int edje_edit_sound_tone_frequency_get(Evas_Object *obj, const char *name); +EDJE_API int edje_edit_sound_tone_frequency_get(Evas_Object *obj, const char *name); /** * @brief Gets the sound type compression. @@ -7830,7 +7805,7 @@ EAPI int edje_edit_sound_tone_frequency_get(Evas_Object *obj, const char *name); * @return Compression type of the sample sound. * @since 1.11 */ -EAPI Edje_Edit_Sound_Comp edje_edit_sound_compression_type_get(Evas_Object *obj, const char* name); +EDJE_API Edje_Edit_Sound_Comp edje_edit_sound_compression_type_get(Evas_Object *obj, const char* name); /** * @brief Sets the sound type compression. @@ -7843,7 +7818,7 @@ EAPI Edje_Edit_Sound_Comp edje_edit_sound_compression_type_get(Evas_Object *obj, * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. * @since 1.11 */ -EAPI Eina_Bool edje_edit_sound_compression_type_set(Evas_Object *obj, const char* name, Edje_Edit_Sound_Comp sc); +EDJE_API Eina_Bool edje_edit_sound_compression_type_set(Evas_Object *obj, const char* name, Edje_Edit_Sound_Comp sc); /** * @brief Gets the certain sound data from the edje object. @@ -7854,7 +7829,7 @@ EAPI Eina_Bool edje_edit_sound_compression_type_set(Evas_Object *obj, const char * @return buf The buffer that contains data of the sound. To free the resources use eina_binbuf_free(). * @since 1.11 */ -EAPI Eina_Binbuf *edje_edit_sound_samplebuffer_get(Evas_Object *obj, const char *sample_name); +EDJE_API Eina_Binbuf *edje_edit_sound_samplebuffer_get(Evas_Object *obj, const char *sample_name); /** * @brief Gets the name of sample source. @@ -7865,7 +7840,7 @@ EAPI Eina_Binbuf *edje_edit_sound_samplebuffer_get(Evas_Object *obj, const char * @return snd_src The sample source name. * @since 1.11 */ -EAPI const char *edje_edit_sound_samplesource_get(Evas_Object *obj, const char *sample_name); +EDJE_API const char *edje_edit_sound_samplesource_get(Evas_Object *obj, const char *sample_name); //@} /******************************************************************************/ @@ -7885,7 +7860,7 @@ EAPI const char *edje_edit_sound_samplesource_get(Evas_Object *obj, const char * * * @return A list containing all the spectra names. */ -EAPI Eina_List * edje_edit_spectrum_list_get(Evas_Object *obj); +EDJE_API Eina_List * edje_edit_spectrum_list_get(Evas_Object *obj); /** * @brief Adds a new spectra in the given edje object. @@ -7895,7 +7870,7 @@ EAPI Eina_List * edje_edit_spectrum_list_get(Evas_Object *obj); * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_spectra_add(Evas_Object *obj, const char *name); +EDJE_API Eina_Bool edje_edit_spectra_add(Evas_Object *obj, const char *name); /** * @brief Deletes the given spectra from the edje object. @@ -7905,7 +7880,7 @@ EAPI Eina_Bool edje_edit_spectra_add(Evas_Object *obj, const char *name); * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_spectra_del(Evas_Object *obj, const char *spectra); +EDJE_API Eina_Bool edje_edit_spectra_del(Evas_Object *obj, const char *spectra); /** * @brief Changes the name of the given spectra. @@ -7916,7 +7891,7 @@ EAPI Eina_Bool edje_edit_spectra_del(Evas_Object *obj, const char *spectra); * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_spectra_name_set(Evas_Object *obj, const char *spectra, const char *name); +EDJE_API Eina_Bool edje_edit_spectra_name_set(Evas_Object *obj, const char *spectra, const char *name); /** * @brief Gets the number of stops in the given spectra. @@ -7926,7 +7901,7 @@ EAPI Eina_Bool edje_edit_spectra_name_set(Evas_Object *obj, const char *spectra, * * @return The number of stops (or 0 on errors). */ -EAPI int edje_edit_spectra_stop_num_get(Evas_Object *obj, const char *spectra); +EDJE_API int edje_edit_spectra_stop_num_get(Evas_Object *obj, const char *spectra); /** * @brief Sets the number of stops in the given spectra. @@ -7937,7 +7912,7 @@ EAPI int edje_edit_spectra_stop_num_get(Evas_Object *obj, const char *spectra); * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_spectra_stop_num_set(Evas_Object *obj, const char *spectra, int num); +EDJE_API Eina_Bool edje_edit_spectra_stop_num_set(Evas_Object *obj, const char *spectra, int num); /** * @brief Gets the colors of the given stop. @@ -7953,7 +7928,7 @@ EAPI Eina_Bool edje_edit_spectra_stop_num_set(Evas_Object *obj, const char *spec * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_spectra_stop_color_get(Evas_Object *obj, const char *spectra, int stop_number, int *r, int *g, int *b, int *a, int *d); +EDJE_API Eina_Bool edje_edit_spectra_stop_color_get(Evas_Object *obj, const char *spectra, int stop_number, int *r, int *g, int *b, int *a, int *d); /** * @brief Sets the colors of the given stop. @@ -7969,7 +7944,7 @@ EAPI Eina_Bool edje_edit_spectra_stop_color_get(Evas_Object *obj, const char *sp * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_spectra_stop_color_set(Evas_Object *obj, const char *spectra, int stop_number, int r, int g, int b, int a, int d); +EDJE_API Eina_Bool edje_edit_spectra_stop_color_set(Evas_Object *obj, const char *spectra, int stop_number, int r, int g, int b, int a, int d); //@} /******************************************************************************/ @@ -7989,7 +7964,7 @@ EAPI Eina_Bool edje_edit_spectra_stop_color_set(Evas_Object *obj, const char *sp * * @return A list containing all the program names. */ -EAPI Eina_List * edje_edit_programs_list_get(Evas_Object *obj); +EDJE_API Eina_List * edje_edit_programs_list_get(Evas_Object *obj); /** * @brief Adds a new program to the edje file @@ -8001,7 +7976,7 @@ EAPI Eina_List * edje_edit_programs_list_get(Evas_Object *obj); * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_program_add(Evas_Object *obj, const char *name); +EDJE_API Eina_Bool edje_edit_program_add(Evas_Object *obj, const char *name); /** * @brief Removes the given program from the edje file. @@ -8011,7 +7986,7 @@ EAPI Eina_Bool edje_edit_program_add(Evas_Object *obj, const char *name); * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_program_del(Evas_Object *obj, const char *prog); +EDJE_API Eina_Bool edje_edit_program_del(Evas_Object *obj, const char *prog); /** * @brief Checks if a program with the given name exist in the edje object. @@ -8021,7 +7996,7 @@ EAPI Eina_Bool edje_edit_program_del(Evas_Object *obj, const char *prog); * * @return @c EINA_TRUE if the program exist, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_program_exist(Evas_Object *obj, const char *prog); +EDJE_API Eina_Bool edje_edit_program_exist(Evas_Object *obj, const char *prog); /** * @brief Runs the given program. @@ -8031,7 +8006,7 @@ EAPI Eina_Bool edje_edit_program_exist(Evas_Object *obj, const char *prog); * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_program_run(Evas_Object *obj, const char *prog); +EDJE_API Eina_Bool edje_edit_program_run(Evas_Object *obj, const char *prog); /** * @brief Stops all running programs. @@ -8040,7 +8015,7 @@ EAPI Eina_Bool edje_edit_program_run(Evas_Object *obj, const char *prog); * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_program_stop_all(Evas_Object *obj); +EDJE_API Eina_Bool edje_edit_program_stop_all(Evas_Object *obj); /** * @brief Sets parts into intermediate state of programs transition. @@ -8053,7 +8028,7 @@ EAPI Eina_Bool edje_edit_program_stop_all(Evas_Object *obj); * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_program_transition_state_set(Evas_Object *obj, const char *prog, double pos); +EDJE_API Eina_Bool edje_edit_program_transition_state_set(Evas_Object *obj, const char *prog, double pos); /** * @brief Sets a new name for the given program. @@ -8064,7 +8039,7 @@ EAPI Eina_Bool edje_edit_program_transition_state_set(Evas_Object *obj, const ch * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_program_name_set(Evas_Object *obj, const char *prog, const char *new_name); +EDJE_API Eina_Bool edje_edit_program_name_set(Evas_Object *obj, const char *prog, const char *new_name); /** * @brief Gets source of a given program. @@ -8076,7 +8051,7 @@ EAPI Eina_Bool edje_edit_program_name_set(Evas_Object *obj, const char *prog, co * * @return The source value per program. */ -EAPI const char * edje_edit_program_source_get(Evas_Object *obj, const char *prog); +EDJE_API const char * edje_edit_program_source_get(Evas_Object *obj, const char *prog); /** * @brief Sets source of the given program. @@ -8087,7 +8062,7 @@ EAPI const char * edje_edit_program_source_get(Evas_Object *obj, const char *pro * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_program_source_set(Evas_Object *obj, const char *prog, const char *source); +EDJE_API Eina_Bool edje_edit_program_source_set(Evas_Object *obj, const char *prog, const char *source); /** * @brief Gets signal of a given program. @@ -8099,7 +8074,7 @@ EAPI Eina_Bool edje_edit_program_source_set(Evas_Object *obj, const char *prog, * * @return The signal value for program. */ -EAPI const char * edje_edit_program_signal_get(Evas_Object *obj, const char *prog); +EDJE_API const char * edje_edit_program_signal_get(Evas_Object *obj, const char *prog); /** * @brief Sets signal of the given program. @@ -8110,7 +8085,7 @@ EAPI const char * edje_edit_program_signal_get(Evas_Object *obj, const char *pro * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_program_signal_set(Evas_Object *obj, const char *prog, const char *signal); +EDJE_API Eina_Bool edje_edit_program_signal_set(Evas_Object *obj, const char *prog, const char *signal); /** * @brief Gets in.from of a given program. @@ -8120,7 +8095,7 @@ EAPI Eina_Bool edje_edit_program_signal_set(Evas_Object *obj, const char *prog, * * @return The delay. */ -EAPI double edje_edit_program_in_from_get(Evas_Object *obj, const char *prog); +EDJE_API double edje_edit_program_in_from_get(Evas_Object *obj, const char *prog); /** * @brief Sets in.from of a given program. @@ -8131,7 +8106,7 @@ EAPI double edje_edit_program_in_from_get(Evas_Object *obj, const char *prog); * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_program_in_from_set(Evas_Object *obj, const char *prog, double seconds); +EDJE_API Eina_Bool edje_edit_program_in_from_set(Evas_Object *obj, const char *prog, double seconds); /** * @brief Gets in.range of a given program. @@ -8141,7 +8116,7 @@ EAPI Eina_Bool edje_edit_program_in_from_set(Evas_Object *obj, const char *prog, * * @return The delay random. */ -EAPI double edje_edit_program_in_range_get(Evas_Object *obj, const char *prog); +EDJE_API double edje_edit_program_in_range_get(Evas_Object *obj, const char *prog); /** * @brief Sets in.range of a given program. @@ -8152,7 +8127,7 @@ EAPI double edje_edit_program_in_range_get(Evas_Object *obj, const char *prog); * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_program_in_range_set(Evas_Object *obj, const char *prog, double seconds); +EDJE_API Eina_Bool edje_edit_program_in_range_set(Evas_Object *obj, const char *prog, double seconds); /** * @brief Gets the action of a given program. @@ -8163,7 +8138,7 @@ EAPI Eina_Bool edje_edit_program_in_range_set(Evas_Object *obj, const char *prog * @return The action type, or @c -1 on errors. * Action can be one of EDJE_ACTION_TYPE_NONE, _STATE_SET, ACTION_STOP, SIGNAL_EMIT, DRAG_VAL_SET, _DRAG_VAL_STEP, _DRAG_VAL_PAGE, _SCRIPT */ -EAPI Edje_Action_Type edje_edit_program_action_get(Evas_Object *obj, const char *prog); +EDJE_API Edje_Action_Type edje_edit_program_action_get(Evas_Object *obj, const char *prog); /** * @brief Sets the action of a given program. @@ -8176,7 +8151,7 @@ EAPI Edje_Action_Type edje_edit_program_action_get(Evas_Object *obj, const char * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_program_action_set(Evas_Object *obj, const char *prog, Edje_Action_Type action); +EDJE_API Eina_Bool edje_edit_program_action_set(Evas_Object *obj, const char *prog, Edje_Action_Type action); /** * @brief Gets the list of the targets for the given program. @@ -8188,7 +8163,7 @@ EAPI Eina_Bool edje_edit_program_action_set(Evas_Object *obj, const char *prog, * * @return A list with all the targets names, or NULL on error. */ -EAPI Eina_List * edje_edit_program_targets_get(Evas_Object *obj, const char *prog); +EDJE_API Eina_List * edje_edit_program_targets_get(Evas_Object *obj, const char *prog); /** * @brief Adds a new target program to the list of 'targets' in the given program. @@ -8204,7 +8179,7 @@ EAPI Eina_List * edje_edit_program_targets_get(Evas_Object *obj, const char *pro * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_program_target_add(Evas_Object *obj, const char *prog, const char *target); +EDJE_API Eina_Bool edje_edit_program_target_add(Evas_Object *obj, const char *prog, const char *target); /** * @brief Adds a new target program to certain place in list of 'targets' in the given program. @@ -8223,7 +8198,7 @@ EAPI Eina_Bool edje_edit_program_target_add(Evas_Object *obj, const char *prog, * * @since 1.18 */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_program_target_insert_at(Evas_Object *obj, const char *prog, const char *target, int place); /** @@ -8238,7 +8213,7 @@ edje_edit_program_target_insert_at(Evas_Object *obj, const char *prog, const cha * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_program_target_del(Evas_Object *obj, const char *prog, const char *target); +EDJE_API Eina_Bool edje_edit_program_target_del(Evas_Object *obj, const char *prog, const char *target); /** * @brief Clears the 'targets' list of the given program @@ -8248,7 +8223,7 @@ EAPI Eina_Bool edje_edit_program_target_del(Evas_Object *obj, const char *prog, * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_program_targets_clear(Evas_Object *obj, const char *prog); +EDJE_API Eina_Bool edje_edit_program_targets_clear(Evas_Object *obj, const char *prog); /** * @brief Gets the list of action that will be run after the give program. @@ -8260,7 +8235,7 @@ EAPI Eina_Bool edje_edit_program_targets_clear(Evas_Object *obj, const char *pro * * @return A list with all program names, or NULL on error. */ -EAPI Eina_List * edje_edit_program_afters_get(Evas_Object *obj, const char *prog); +EDJE_API Eina_List * edje_edit_program_afters_get(Evas_Object *obj, const char *prog); /** * @brief Adds a new program name to the list of 'afters' in the given program. @@ -8273,7 +8248,7 @@ EAPI Eina_List * edje_edit_program_afters_get(Evas_Object *obj, const char *prog * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_program_after_add(Evas_Object *obj, const char *prog, const char *after); +EDJE_API Eina_Bool edje_edit_program_after_add(Evas_Object *obj, const char *prog, const char *after); /** * @brief Adds a new program name into specific place in list of 'afters' in the given program. @@ -8289,7 +8264,7 @@ EAPI Eina_Bool edje_edit_program_after_add(Evas_Object *obj, const char *prog, c * * @since 1.18 */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_program_after_insert_at(Evas_Object *obj, const char *prog, const char *after, int place); /** @@ -8301,7 +8276,7 @@ edje_edit_program_after_insert_at(Evas_Object *obj, const char *prog, const char * * @return @c EINA_TRUE is successful or not in the list, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_program_after_del(Evas_Object *obj, const char *prog, const char *after); +EDJE_API Eina_Bool edje_edit_program_after_del(Evas_Object *obj, const char *prog, const char *after); /** * @brief Clears the 'afters' list of the given program. @@ -8311,7 +8286,7 @@ EAPI Eina_Bool edje_edit_program_after_del(Evas_Object *obj, const char *prog, c * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_program_afters_clear(Evas_Object *obj, const char *prog); +EDJE_API Eina_Bool edje_edit_program_afters_clear(Evas_Object *obj, const char *prog); /** * @brief Get the state for the given program. @@ -8324,7 +8299,7 @@ EAPI Eina_Bool edje_edit_program_afters_clear(Evas_Object *obj, const char *prog * * @return The name of the state. */ -EAPI const char * edje_edit_program_state_get(Evas_Object *obj, const char *prog); +EDJE_API const char * edje_edit_program_state_get(Evas_Object *obj, const char *prog); /** * @brief Gets api's name of a program. @@ -8334,7 +8309,7 @@ EAPI const char * edje_edit_program_state_get(Evas_Object *obj, const char *prog * * @return Name of the api if successful, NULL otherwise. */ -EAPI const char * edje_edit_program_api_name_get(Evas_Object *obj, const char *prog); +EDJE_API const char * edje_edit_program_api_name_get(Evas_Object *obj, const char *prog); /** * @brief Gets api's description of a program. @@ -8344,7 +8319,7 @@ EAPI const char * edje_edit_program_api_name_get(Evas_Object *obj, const char *p * * @return Description of the api if successful, NULL otherwise. */ -EAPI const char * edje_edit_program_api_description_get(Evas_Object *obj, const char *prog); +EDJE_API const char * edje_edit_program_api_description_get(Evas_Object *obj, const char *prog); /** * @brief Sets api's name of a program. @@ -8355,7 +8330,7 @@ EAPI const char * edje_edit_program_api_description_get(Evas_Object *obj, const * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_program_api_name_set(Evas_Object *obj, const char *prog, const char *name); +EDJE_API Eina_Bool edje_edit_program_api_name_set(Evas_Object *obj, const char *prog, const char *name); /** * @brief Sets api's description of a program. @@ -8366,7 +8341,7 @@ EAPI Eina_Bool edje_edit_program_api_name_set(Evas_Object *obj, const char *prog * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_program_api_description_set(Evas_Object *obj, const char *prog, const char *description); +EDJE_API Eina_Bool edje_edit_program_api_description_set(Evas_Object *obj, const char *prog, const char *description); /** * @brief Sets the state for the given program. @@ -8380,7 +8355,7 @@ EAPI Eina_Bool edje_edit_program_api_description_set(Evas_Object *obj, const cha * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_program_state_set(Evas_Object *obj, const char *prog, const char *state); +EDJE_API Eina_Bool edje_edit_program_state_set(Evas_Object *obj, const char *prog, const char *state); /** * @brief Gets the value of state for the given program. @@ -8393,7 +8368,7 @@ EAPI Eina_Bool edje_edit_program_state_set(Evas_Object *obj, const char *prog, c * * @return The value of state for the program. */ -EAPI double edje_edit_program_value_get(Evas_Object *obj, const char *prog); +EDJE_API double edje_edit_program_value_get(Evas_Object *obj, const char *prog); /** * @brief Sets the value of state for the given program. @@ -8407,7 +8382,7 @@ EAPI double edje_edit_program_value_get(Evas_Object *obj, const char *prog); * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_program_value_set(Evas_Object *obj, const char *prog, double value); +EDJE_API Eina_Bool edje_edit_program_value_set(Evas_Object *obj, const char *prog, double value); /** * @brief Gets the state2 for the given program @@ -8420,7 +8395,7 @@ EAPI Eina_Bool edje_edit_program_value_set(Evas_Object *obj, const char *prog, d * * @return The source to emit for the program. */ -EAPI const char * edje_edit_program_state2_get(Evas_Object *obj, const char *prog); +EDJE_API const char * edje_edit_program_state2_get(Evas_Object *obj, const char *prog); /** * @brief Sets the state2 for the given program @@ -8434,7 +8409,7 @@ EAPI const char * edje_edit_program_state2_get(Evas_Object *obj, const char *pro * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_program_state2_set(Evas_Object *obj, const char *prog, const char *state2); +EDJE_API Eina_Bool edje_edit_program_state2_set(Evas_Object *obj, const char *prog, const char *state2); /** * @brief Gets the value of state2 for the given program. @@ -8444,7 +8419,7 @@ EAPI Eina_Bool edje_edit_program_state2_set(Evas_Object *obj, const char *prog, * * @return The vale of the state2 for the program. */ -EAPI double edje_edit_program_value2_get(Evas_Object *obj, const char *prog); +EDJE_API double edje_edit_program_value2_get(Evas_Object *obj, const char *prog); /** * @brief Sets the value2 of state for the given program. @@ -8457,7 +8432,7 @@ EAPI double edje_edit_program_value2_get(Evas_Object *obj, const char *prog); * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_program_value2_set(Evas_Object *obj, const char *prog, double value); +EDJE_API Eina_Bool edje_edit_program_value2_set(Evas_Object *obj, const char *prog, double value); /** * @brief Gets the type of transition to use when apply animations. @@ -8469,7 +8444,7 @@ EAPI Eina_Bool edje_edit_program_value2_set(Evas_Object *obj, const char *prog, * * @return The type of transition used by program. */ -EAPI Edje_Tween_Mode edje_edit_program_transition_get(Evas_Object *obj, const char *prog); +EDJE_API Edje_Tween_Mode edje_edit_program_transition_get(Evas_Object *obj, const char *prog); /** * @brief Sets the type of transition to use when apply animations. @@ -8482,7 +8457,7 @@ EAPI Edje_Tween_Mode edje_edit_program_transition_get(Evas_Object *obj, const ch * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_program_transition_set(Evas_Object *obj, const char *prog, Edje_Tween_Mode transition); +EDJE_API Eina_Bool edje_edit_program_transition_set(Evas_Object *obj, const char *prog, Edje_Tween_Mode transition); /** * @brief Gets the interpolation value 1 of the transition. @@ -8493,7 +8468,7 @@ EAPI Eina_Bool edje_edit_program_transition_set(Evas_Object *obj, const char *pr * * @return Interpolation value 1. */ -EAPI double edje_edit_program_transition_value1_get(Evas_Object *obj, const char *prog); +EDJE_API double edje_edit_program_transition_value1_get(Evas_Object *obj, const char *prog); /** * @brief Sets the interpolation value 1 of the transition. @@ -8505,7 +8480,7 @@ EAPI double edje_edit_program_transition_value1_get(Evas_Object *obj, const char * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_program_transition_value1_set(Evas_Object *obj, const char *prog, double value); +EDJE_API Eina_Bool edje_edit_program_transition_value1_set(Evas_Object *obj, const char *prog, double value); /** * @brief Gets the interpolation value 2 of the transition. @@ -8515,7 +8490,7 @@ EAPI Eina_Bool edje_edit_program_transition_value1_set(Evas_Object *obj, const c * * @return Interpolation value 2. */ -EAPI double edje_edit_program_transition_value2_get(Evas_Object *obj, const char *prog); +EDJE_API double edje_edit_program_transition_value2_get(Evas_Object *obj, const char *prog); /** * @brief Sets the interpolation value 2 of the transition. @@ -8527,7 +8502,7 @@ EAPI double edje_edit_program_transition_value2_get(Evas_Object *obj, const char * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_program_transition_value2_set(Evas_Object *obj, const char *prog, double value); +EDJE_API Eina_Bool edje_edit_program_transition_value2_set(Evas_Object *obj, const char *prog, double value); /** * @brief Gets the interpolation value 3 of the transition. @@ -8538,7 +8513,7 @@ EAPI Eina_Bool edje_edit_program_transition_value2_set(Evas_Object *obj, const c * * @return Interpolation value 3. */ -EAPI double edje_edit_program_transition_value3_get(Evas_Object *obj, const char *prog); +EDJE_API double edje_edit_program_transition_value3_get(Evas_Object *obj, const char *prog); /** * @brief Sets the interpolation value 3 of the transition. @@ -8550,7 +8525,7 @@ EAPI double edje_edit_program_transition_value3_get(Evas_Object *obj, const char * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_program_transition_value3_set(Evas_Object *obj, const char *prog, double value); +EDJE_API Eina_Bool edje_edit_program_transition_value3_set(Evas_Object *obj, const char *prog, double value); /** * @brief Gets the interpolation value 4 of the transition. @@ -8561,7 +8536,7 @@ EAPI Eina_Bool edje_edit_program_transition_value3_set(Evas_Object *obj, const c * * @return Interpolation value 4. */ -EAPI double edje_edit_program_transition_value4_get(Evas_Object *obj, const char *prog); +EDJE_API double edje_edit_program_transition_value4_get(Evas_Object *obj, const char *prog); /** * @brief Sets the interpolation value 4 of the transition. @@ -8573,7 +8548,7 @@ EAPI double edje_edit_program_transition_value4_get(Evas_Object *obj, const char * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_program_transition_value4_set(Evas_Object *obj, const char *prog, double value); +EDJE_API Eina_Bool edje_edit_program_transition_value4_set(Evas_Object *obj, const char *prog, double value); /** * @brief Gets the duration of the transition in seconds. @@ -8583,7 +8558,7 @@ EAPI Eina_Bool edje_edit_program_transition_value4_set(Evas_Object *obj, const c * * @return The duration of the transition. */ -EAPI double edje_edit_program_transition_time_get(Evas_Object *obj, const char *prog); +EDJE_API double edje_edit_program_transition_time_get(Evas_Object *obj, const char *prog); /** * @brief Sets the duration of the transition in seconds. @@ -8594,7 +8569,7 @@ EAPI double edje_edit_program_transition_time_get(Evas_Object *obj, const char * * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_program_transition_time_set(Evas_Object *obj, const char *prog, double seconds); +EDJE_API Eina_Bool edje_edit_program_transition_time_set(Evas_Object *obj, const char *prog, double seconds); /** * @brief Gets sample name of the program. @@ -8604,7 +8579,7 @@ EAPI Eina_Bool edje_edit_program_transition_time_set(Evas_Object *obj, const cha * * @return const char* sample_name on success, NULL otherwise. */ -EAPI const char * edje_edit_program_sample_name_get(Evas_Object *obj, const char *prog); +EDJE_API const char * edje_edit_program_sample_name_get(Evas_Object *obj, const char *prog); /** * @brief Sets sample name of the program. @@ -8615,7 +8590,7 @@ EAPI const char * edje_edit_program_sample_name_get(Evas_Object *obj, const char * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_program_sample_name_set(Evas_Object *obj, const char *prog, const char *name); +EDJE_API Eina_Bool edje_edit_program_sample_name_set(Evas_Object *obj, const char *prog, const char *name); /** * @brief Gets tone name of the program. @@ -8625,7 +8600,7 @@ EAPI Eina_Bool edje_edit_program_sample_name_set(Evas_Object *obj, const char *p * * @return const char* tone_name on success, NULL otherwise. */ -EAPI const char * edje_edit_program_tone_name_get(Evas_Object *obj, const char *prog); +EDJE_API const char * edje_edit_program_tone_name_get(Evas_Object *obj, const char *prog); /** * @brief Sets tone name of the program. @@ -8636,7 +8611,7 @@ EAPI const char * edje_edit_program_tone_name_get(Evas_Object *obj, const char * * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_program_tone_name_set(Evas_Object *obj, const char *prog, const char *name); +EDJE_API Eina_Bool edje_edit_program_tone_name_set(Evas_Object *obj, const char *prog, const char *name); /** * @brief Gets sample speed of the program. @@ -8646,7 +8621,7 @@ EAPI Eina_Bool edje_edit_program_tone_name_set(Evas_Object *obj, const char *pro * * @return Double speed on success, @c -1 otherwise. */ -EAPI double edje_edit_program_sample_speed_get(Evas_Object *obj, const char *prog); +EDJE_API double edje_edit_program_sample_speed_get(Evas_Object *obj, const char *prog); /** * @brief Sets sample speed of the program. @@ -8657,7 +8632,7 @@ EAPI double edje_edit_program_sample_speed_get(Evas_Object *obj, const char *pro * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_program_sample_speed_set(Evas_Object *obj, const char *prog, double speed); +EDJE_API Eina_Bool edje_edit_program_sample_speed_set(Evas_Object *obj, const char *prog, double speed); /** * @brief Gets tone duration of the program. @@ -8667,7 +8642,7 @@ EAPI Eina_Bool edje_edit_program_sample_speed_set(Evas_Object *obj, const char * * * @return Double duration on success, @c -1 otherwise. */ -EAPI double edje_edit_program_tone_duration_get(Evas_Object *obj, const char *prog); +EDJE_API double edje_edit_program_tone_duration_get(Evas_Object *obj, const char *prog); /** * @brief Sets tone duration of the program. @@ -8678,7 +8653,7 @@ EAPI double edje_edit_program_tone_duration_get(Evas_Object *obj, const char *pr * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_program_tone_duration_set(Evas_Object *obj, const char *prog, double duration); +EDJE_API Eina_Bool edje_edit_program_tone_duration_set(Evas_Object *obj, const char *prog, double duration); /** * @brief Gets sample channel of the program. @@ -8688,7 +8663,7 @@ EAPI Eina_Bool edje_edit_program_tone_duration_set(Evas_Object *obj, const char * * @return Channel on success, @c 0 otherwise. */ -EAPI unsigned char edje_edit_program_channel_get(Evas_Object *obj, const char *prog); +EDJE_API unsigned char edje_edit_program_channel_get(Evas_Object *obj, const char *prog); /** * @brief Sets sample channel of the program. @@ -8699,7 +8674,7 @@ EAPI unsigned char edje_edit_program_channel_get(Evas_Object *obj, const char *p * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_program_channel_set(Evas_Object *obj, const char *prog, Edje_Channel channel); +EDJE_API Eina_Bool edje_edit_program_channel_set(Evas_Object *obj, const char *prog, Edje_Channel channel); /** * @brief Gets filter part name of the program. @@ -8709,7 +8684,7 @@ EAPI Eina_Bool edje_edit_program_channel_set(Evas_Object *obj, const char *prog, * * @return const char* part_name on success, NULL otherwise. */ -EAPI const char * edje_edit_program_filter_part_get(Evas_Object *obj, const char *prog); +EDJE_API const char * edje_edit_program_filter_part_get(Evas_Object *obj, const char *prog); /** * @brief Sets filter part name of the program. @@ -8720,7 +8695,7 @@ EAPI const char * edje_edit_program_filter_part_get(Evas_Object *obj, const char * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_program_filter_part_set(Evas_Object *obj, const char *prog, const char *filter_part); +EDJE_API Eina_Bool edje_edit_program_filter_part_set(Evas_Object *obj, const char *prog, const char *filter_part); /** * @brief Gets filter state of the program. @@ -8730,7 +8705,7 @@ EAPI Eina_Bool edje_edit_program_filter_part_set(Evas_Object *obj, const char *p * * @return const char* state_name on success, NULL otherwise. */ -EAPI const char * edje_edit_program_filter_state_get(Evas_Object *obj, const char *prog); +EDJE_API const char * edje_edit_program_filter_state_get(Evas_Object *obj, const char *prog); /** * @brief Sets filter state of the program. @@ -8741,7 +8716,7 @@ EAPI const char * edje_edit_program_filter_state_get(Evas_Object *obj, const cha * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_program_filter_state_set(Evas_Object *obj, const char *prog, const char *filter_state); +EDJE_API Eina_Bool edje_edit_program_filter_state_set(Evas_Object *obj, const char *prog, const char *filter_state); //@} /******************************************************************************/ @@ -8765,7 +8740,7 @@ EAPI Eina_Bool edje_edit_program_filter_state_set(Evas_Object *obj, const char * * * @return The shared script code for this group. */ -EAPI char *edje_edit_script_get(Evas_Object *obj); +EDJE_API char *edje_edit_script_get(Evas_Object *obj); /** * @brief Sets the code for the group script. @@ -8779,7 +8754,7 @@ EAPI char *edje_edit_script_get(Evas_Object *obj); * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_script_set(Evas_Object *obj, const char *code); +EDJE_API Eina_Bool edje_edit_script_set(Evas_Object *obj, const char *code); /** * @brief Gets the Embryo script for the given program. @@ -8795,7 +8770,7 @@ EAPI Eina_Bool edje_edit_script_set(Evas_Object *obj, const char *code); * * @return The program script code */ -EAPI char *edje_edit_script_program_get(Evas_Object *obj, const char *prog); +EDJE_API char *edje_edit_script_program_get(Evas_Object *obj, const char *prog); /** * @brief Sets the Embryo script for the given program. @@ -8812,7 +8787,7 @@ EAPI char *edje_edit_script_program_get(Evas_Object *obj, const char *prog); * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_script_program_set(Evas_Object *obj, const char *prog, const char *code); +EDJE_API Eina_Bool edje_edit_script_program_set(Evas_Object *obj, const char *prog, const char *code); /** * @brief Compiles the Embryo script for the given object. @@ -8825,7 +8800,7 @@ EAPI Eina_Bool edje_edit_script_program_set(Evas_Object *obj, const char *prog, * * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. */ -EAPI Eina_Bool edje_edit_script_compile(Evas_Object *obj); +EDJE_API Eina_Bool edje_edit_script_compile(Evas_Object *obj); /** * @brief Gets the list of errors resulting from the last script build. @@ -8841,7 +8816,7 @@ EAPI Eina_Bool edje_edit_script_compile(Evas_Object *obj); * * @return A constant list of Edje_Edit_Script_Error, or NULL if there are none */ -EAPI const Eina_List *edje_edit_script_error_list_get(Evas_Object *obj); +EDJE_API const Eina_List *edje_edit_script_error_list_get(Evas_Object *obj); //@} /******************************************************************************/ @@ -8867,7 +8842,7 @@ EAPI const Eina_List *edje_edit_script_error_list_get(Evas_Object *obj); * @return Source code containing all resources required by the object. */ -EAPI const char *edje_edit_source_generate(Evas_Object *obj); +EDJE_API const char *edje_edit_source_generate(Evas_Object *obj); /** * @brief Returns source code of the current edje edit object. @@ -8886,7 +8861,7 @@ EAPI const char *edje_edit_source_generate(Evas_Object *obj); * @return Source code containing all resources required by the object. */ -EAPI const char * edje_edit_object_source_generate(Evas_Object *obj); +EDJE_API const char * edje_edit_object_source_generate(Evas_Object *obj); /** * @brief Returns source code of all collections. * @@ -8900,7 +8875,7 @@ EAPI const char * edje_edit_object_source_generate(Evas_Object *obj); * @return Source code as char *. */ -EAPI char *edje_edit_full_source_generate(Evas_Object *obj); +EDJE_API char *edje_edit_full_source_generate(Evas_Object *obj); /** * @brief Returns source code of global block data. @@ -8911,7 +8886,7 @@ EAPI char *edje_edit_full_source_generate(Evas_Object *obj); * * @return Source code of global block data. */ -EAPI const char * edje_edit_data_source_generate(Evas_Object *obj); +EDJE_API const char * edje_edit_data_source_generate(Evas_Object *obj); /** * @brief Gets a list of color classes which given object use. @@ -8920,7 +8895,7 @@ EAPI const char * edje_edit_data_source_generate(Evas_Object *obj); * * @return The color classes list */ -EAPI Eina_List * +EDJE_API Eina_List * edje_edit_object_color_class_list_get(Evas_Object *obj); /** @@ -8931,7 +8906,7 @@ edje_edit_object_color_class_list_get(Evas_Object *obj); * * @return The color classes source code */ -EAPI const char * +EDJE_API const char * edje_edit_color_classes_source_generate(Evas_Object *obj, Eina_List *color_classes); //@} @@ -8943,16 +8918,13 @@ edje_edit_color_classes_source_generate(Evas_Object *obj, Eina_List *color_class * Functions to deal with error messages (see @ref edcref). */ //@{ -EAPI extern Eina_Error EDJE_EDIT_ERROR_GROUP_CURRENTLY_USED; -EAPI extern Eina_Error EDJE_EDIT_ERROR_GROUP_REFERENCED; -EAPI extern Eina_Error EDJE_EDIT_ERROR_GROUP_DOES_NOT_EXIST; +EDJE_API extern Eina_Error EDJE_EDIT_ERROR_GROUP_CURRENTLY_USED; +EDJE_API extern Eina_Error EDJE_EDIT_ERROR_GROUP_REFERENCED; +EDJE_API extern Eina_Error EDJE_EDIT_ERROR_GROUP_DOES_NOT_EXIST; #ifdef __cplusplus } #endif -#undef EAPI -#define EAPI - #endif diff --git a/src/lib/edje/Edje_Legacy.h b/src/lib/edje/Edje_Legacy.h index a571ea297e..fd003e9d13 100644 --- a/src/lib/edje/Edje_Legacy.h +++ b/src/lib/edje/Edje_Legacy.h @@ -52,7 +52,7 @@ * @ingroup Edje_Object_Group * */ -EAPI Evas_Object *edje_object_add (Evas *evas); +EDJE_API Evas_Object *edje_object_add (Evas *evas); /** * @brief Preloads the images on the Edje Object in the background. @@ -74,7 +74,7 @@ EAPI Evas_Object *edje_object_add (Evas *evas); * @ingroup Edje_Object_Group * */ -EAPI Eina_Bool edje_object_preload(Evas_Object *obj, Eina_Bool cancel); +EDJE_API Eina_Bool edje_object_preload(Evas_Object *obj, Eina_Bool cancel); /** * @brief Adds a callback for an arriving Edje signal, emitted by a given Edje @@ -120,7 +120,7 @@ EAPI Eina_Bool edje_object_preload(Evas_Object *obj, Eina_Bool cancel); * @ingroup Edje_Object_Group * */ -EAPI void edje_object_signal_callback_add(Evas_Object *obj, const char *emission, const char *source, Edje_Signal_Cb func, void *data); +EDJE_API void edje_object_signal_callback_add(Evas_Object *obj, const char *emission, const char *source, Edje_Signal_Cb func, void *data); /** * @brief Sends/emits an Edje signal to a given Edje object @@ -138,7 +138,7 @@ EAPI void edje_object_signal_callback_add(Evas_Object *obj, const char *emission * @ingroup Edje_Object_Group * */ -EAPI void edje_object_signal_emit(Evas_Object *obj, const char *emission, const char *source); +EDJE_API void edje_object_signal_emit(Evas_Object *obj, const char *emission, const char *source); /** * @brief Removes a signal-triggered callback from an object. @@ -161,7 +161,7 @@ EAPI void edje_object_signal_emit(Evas_Object *obj, const char *emission, const * @ingroup Edje_Object_Group * */ -EAPI void *edje_object_signal_callback_del (Evas_Object *obj, const char *emission, const char *source, Edje_Signal_Cb func); +EDJE_API void *edje_object_signal_callback_del (Evas_Object *obj, const char *emission, const char *source, Edje_Signal_Cb func); /** * @brief Unregisters/deletes a callback set for an arriving Edje @@ -188,7 +188,7 @@ EAPI void *edje_object_signal_callback_del (Evas_Object *obj, const char * @ingroup Edje_Object_Group * */ -EAPI void *edje_object_signal_callback_del_full(Evas_Object *obj, const char *emission, const char *source, Edje_Signal_Cb func, void *data); +EDJE_API void *edje_object_signal_callback_del_full(Evas_Object *obj, const char *emission, const char *source, Edje_Signal_Cb func, void *data); /** Edje file loading error codes one can get - see edje_load_error_str() too. */ typedef enum @@ -227,7 +227,7 @@ typedef enum * @ingroup Edje_Object_Group * */ -EAPI Edje_Load_Error edje_object_load_error_get(const Evas_Object *obj); +EDJE_API Edje_Load_Error edje_object_load_error_get(const Evas_Object *obj); /** * @brief Converts the given Edje file load error code into a string @@ -246,7 +246,7 @@ EAPI Edje_Load_Error edje_object_load_error_get(const Evas_Object *obj); * @ingroup Edje_Object_Group * */ -EAPI const char *edje_load_error_str (Edje_Load_Error error); +EDJE_API const char *edje_load_error_str (Edje_Load_Error error); /** * @brief Retrieves the geometry of a given Edje part, in a given Edje object's @@ -272,7 +272,7 @@ EAPI const char *edje_load_error_str (Edje_Load_Error error); * * @ingroup Edje_Object_Group */ -EAPI Eina_Bool edje_object_part_geometry_get(const Evas_Object *obj, const char * part, int *x, int *y, int *w, int *h); +EDJE_API Eina_Bool edje_object_part_geometry_get(const Evas_Object *obj, const char * part, int *x, int *y, int *w, int *h); /** * @brief Returns the state of the Edje part. @@ -284,7 +284,7 @@ EAPI Eina_Bool edje_object_part_geometry_get(const Evas_Object *obj, const char * * @ingroup Edje_Object_Group */ -EAPI const char *edje_object_part_state_get(const Evas_Object *obj, const char * part, double *val_ret); +EDJE_API const char *edje_object_part_state_get(const Evas_Object *obj, const char * part, double *val_ret); /** * @brief Gets a handle to the Evas object implementing a given Edje part, in @@ -310,7 +310,7 @@ EAPI const char *edje_object_part_state_get(const Evas_Object *obj, const char * * * @ingroup Edje_Object_Group */ -EAPI const Efl_Canvas_Object *edje_object_part_object_get(const Evas_Object *obj, const char * part); +EDJE_API const Efl_Canvas_Object *edje_object_part_object_get(const Evas_Object *obj, const char * part); /** * @brief Whether this object updates its size hints automatically. @@ -331,7 +331,7 @@ EAPI const Efl_Canvas_Object *edje_object_part_object_get(const Evas_Object *obj * * @ingroup Edje_Object_Group */ -EAPI void edje_object_update_hints_set(Evas_Object *obj, Eina_Bool update); +EDJE_API void edje_object_update_hints_set(Evas_Object *obj, Eina_Bool update); /** * @brief Whether this object updates its size hints automatically. @@ -352,7 +352,7 @@ EAPI void edje_object_update_hints_set(Evas_Object *obj, Eina_Bool update); * * @ingroup Edje_Object_Group */ -EAPI Eina_Bool edje_object_update_hints_get(const Evas_Object *obj); +EDJE_API Eina_Bool edje_object_update_hints_get(const Evas_Object *obj); /** * @brief Calculates the minimum required size for a given Edje object. @@ -365,7 +365,7 @@ EAPI Eina_Bool edje_object_update_hints_get(const Evas_Object *obj); * * @ingroup Edje_Object_Group */ -EAPI void edje_object_size_min_calc(Evas_Object *obj, int *minw, int *minh); +EDJE_API void edje_object_size_min_calc(Evas_Object *obj, int *minw, int *minh); /** * @brief Calculates the minimum required size for a given Edje object. @@ -392,7 +392,7 @@ EAPI void edje_object_size_min_calc(Evas_Object *obj, int *minw, int *minh); * * @ingroup Edje_Object_Group */ -EAPI void edje_object_size_min_restricted_calc(Evas_Object *obj, int *minw, int *minh, int restrictedw, int restrictedh); +EDJE_API void edje_object_size_min_restricted_calc(Evas_Object *obj, int *minw, int *minh, int restrictedw, int restrictedh); /** * @brief Calculates the geometry of the region, relative to a given Edje @@ -416,7 +416,7 @@ EAPI void edje_object_size_min_restricted_calc(Evas_Object *obj, int *minw, int * * @ingroup Edje_Object_Group */ -EAPI Eina_Bool edje_object_parts_extends_calc(Evas_Object *obj, int *x, int *y, int *w, int *h); +EDJE_API Eina_Bool edje_object_parts_extends_calc(Evas_Object *obj, int *x, int *y, int *w, int *h); /** * @brief Forces a Size/Geometry calculation. @@ -427,7 +427,7 @@ EAPI Eina_Bool edje_object_parts_extends_calc(Evas_Object *obj, int *x, int *y, * * @ingroup Edje_Object_Group */ -EAPI void edje_object_calc_force(Evas_Object *obj); +EDJE_API void edje_object_calc_force(Evas_Object *obj); /** * @brief Freezes the Edje object. @@ -441,7 +441,7 @@ EAPI void edje_object_calc_force(Evas_Object *obj); * * @ingroup Edje_Object_Group */ -EAPI int edje_object_freeze(Evas_Object *obj); +EDJE_API int edje_object_freeze(Evas_Object *obj); /** * @brief Thaws the Edje object. @@ -457,7 +457,7 @@ EAPI int edje_object_freeze(Evas_Object *obj); * * @ingroup Edje_Object_Group */ -EAPI int edje_object_thaw(Evas_Object *obj); +EDJE_API int edje_object_thaw(Evas_Object *obj); /** * @typedef (*Edje_Text_Change_Cb) @@ -481,7 +481,7 @@ typedef void (*Edje_Text_Change_Cb) (void *data, Evas_Object *obj, c * @param[in] func The callback function to handle the text change * @param[in] data The data associated to the callback function. */ -EAPI void edje_object_text_change_cb_set(Evas_Object *obj, Edje_Text_Change_Cb func, void *data); +EDJE_API void edje_object_text_change_cb_set(Evas_Object *obj, Edje_Text_Change_Cb func, void *data); @@ -627,7 +627,7 @@ typedef void (*Edje_Message_Handler_Cb) (void *data, Evas_Object *obj, E * @param[in] func The function to handle messages coming from obj * @param[in] data Auxiliary data to be passed to func */ -EAPI void edje_object_message_handler_set(Evas_Object *obj, Edje_Message_Handler_Cb func, void *data); +EDJE_API void edje_object_message_handler_set(Evas_Object *obj, Edje_Message_Handler_Cb func, void *data); /** * @brief Sends an (Edje) message to a given Edje object @@ -648,7 +648,7 @@ EAPI void edje_object_message_handler_set(Evas_Object *obj, Edje_Message_Handler * @param[in] id A identification number for the message to be sent * @param[in] msg The message's body, a struct depending on type */ -EAPI void edje_object_message_send(Evas_Object *obj, Edje_Message_Type type, int id, void *msg); +EDJE_API void edje_object_message_send(Evas_Object *obj, Edje_Message_Type type, int id, void *msg); /** * @brief Processes an object's message queue. @@ -659,7 +659,7 @@ EAPI void edje_object_message_send(Evas_Object *obj, Edje_Message_Type type, int * * @see edje_object_message_signal_recursive_process */ -EAPI void edje_object_message_signal_process(Evas_Object *obj); +EDJE_API void edje_object_message_signal_process(Evas_Object *obj); /** * @brief Processes an object's message queue recursively. @@ -672,7 +672,7 @@ EAPI void edje_object_message_signal_process(Evas_Object *obj); * * @since 1.20 */ -EAPI void edje_object_message_signal_recursive_process(Evas_Object *obj); +EDJE_API void edje_object_message_signal_recursive_process(Evas_Object *obj); /** * @} @@ -695,7 +695,7 @@ EAPI void edje_object_message_signal_recursive_process(Evas_Object *obj); * * @ingroup Edje_Object_Part */ -EAPI Edje_External_Param_Type edje_object_part_external_param_type_get(const Evas_Object *obj, const char *part, const char * param); +EDJE_API Edje_External_Param_Type edje_object_part_external_param_type_get(const Evas_Object *obj, const char *part, const char * param); /** * @brief Sets the parameter for the external part. @@ -724,7 +724,7 @@ EAPI Edje_External_Param_Type edje_object_part_external_param_type_get(const Eva * * @ingroup Edje_Object_Part */ -EAPI Eina_Bool edje_object_part_external_param_set(Evas_Object *obj, const char *part, const Edje_External_Param *param); +EDJE_API Eina_Bool edje_object_part_external_param_set(Evas_Object *obj, const char *part, const Edje_External_Param *param); /** * @brief Gets the parameter for the external part. @@ -750,7 +750,7 @@ EAPI Eina_Bool edje_object_part_external_param_set(Evas_Object *obj, const char * * @ingroup Edje_Object_Part */ -EAPI Eina_Bool edje_object_part_external_param_get(const Evas_Object *obj, const char *part, Edje_External_Param *param); +EDJE_API Eina_Bool edje_object_part_external_param_get(const Evas_Object *obj, const char *part, Edje_External_Param *param); /** * @brief Gets the object created by this external part. @@ -773,7 +773,7 @@ EAPI Eina_Bool edje_object_part_external_param_get(const Evas_Object *obj, const * * @ingroup Edje_Object_Part */ -EAPI Evas_Object *edje_object_part_external_object_get(const Evas_Object *obj, const char * part); +EDJE_API Evas_Object *edje_object_part_external_object_get(const Evas_Object *obj, const char * part); /** * @brief Gets an object contained in an part of type EXTERNAL @@ -789,7 +789,7 @@ EAPI Evas_Object *edje_object_part_external_object_get(const Evas_Object *obj, c * * @ingroup Edje_Object_Part */ -EAPI Evas_Object *edje_object_part_external_content_get(const Evas_Object *obj, const char *part, const char *content); +EDJE_API Evas_Object *edje_object_part_external_content_get(const Evas_Object *obj, const char *part, const char *content); /** * @} @@ -808,7 +808,7 @@ EAPI Evas_Object *edje_object_part_external_content_get(const Evas_Object *obj, * @ingroup Edje_Object_Group * */ -EINA_DEPRECATED EAPI void edje_extern_object_min_size_set (Evas_Object *obj, Evas_Coord minw, Evas_Coord minh); +EINA_DEPRECATED EDJE_API void edje_extern_object_min_size_set (Evas_Object *obj, Evas_Coord minw, Evas_Coord minh); /** * @deprecated use evas_object_size_hint_max_set() instead. @@ -823,7 +823,7 @@ EINA_DEPRECATED EAPI void edje_extern_object_min_size_set (Evas_Object * * @ingroup Edje_Object_Group * */ -EINA_DEPRECATED EAPI void edje_extern_object_max_size_set (Evas_Object *obj, Evas_Coord maxw, Evas_Coord maxh); +EINA_DEPRECATED EDJE_API void edje_extern_object_max_size_set (Evas_Object *obj, Evas_Coord maxw, Evas_Coord maxh); /** * @deprecated use evas_object_size_hint_aspect_set() instead. @@ -842,7 +842,7 @@ EINA_DEPRECATED EAPI void edje_extern_object_max_size_set (Evas_Object * * @ingroup Edje_Object_Group * */ -EINA_DEPRECATED EAPI void edje_extern_object_aspect_set (Evas_Object *obj, Edje_Aspect_Control aspect, Evas_Coord aw, Evas_Coord ah); +EINA_DEPRECATED EDJE_API void edje_extern_object_aspect_set (Evas_Object *obj, Edje_Aspect_Control aspect, Evas_Coord aw, Evas_Coord ah); /** * @brief Sets the @b EDJ file (and group within it) to load an Edje @@ -877,7 +877,7 @@ Edje object * * @ingroup Edje_Object_Group */ -EAPI Eina_Bool edje_object_file_set(Evas_Object *obj, const char *file, const char *group); +EDJE_API Eina_Bool edje_object_file_set(Evas_Object *obj, const char *file, const char *group); /** * @brief Gets the file and group name that a given Edje object is bound to. @@ -899,7 +899,7 @@ Edje object * * @ingroup Edje_Object_Group */ -EAPI void edje_object_file_get(const Evas_Object *obj, const char **file, const char **group); +EDJE_API void edje_object_file_get(const Evas_Object *obj, const char **file, const char **group); /** @@ -936,7 +936,7 @@ Edje object * @ingroup Edje_Object_Group * */ -EAPI Eina_Bool edje_object_mmap_set(Evas_Object *obj, const Eina_File *file, const char *group); +EDJE_API Eina_Bool edje_object_mmap_set(Evas_Object *obj, const Eina_File *file, const char *group); /** * @brief "Swallows" an object into one of the Edje object @c SWALLOW parts. @@ -971,7 +971,7 @@ EAPI Eina_Bool edje_object_mmap_set(Evas_Object *obj, const Eina_File *file, con * * @ingroup Edje_Object_Part */ -EAPI Eina_Bool edje_object_part_swallow(Evas_Object *obj, const char *part, Evas_Object *obj_swallow); +EDJE_API Eina_Bool edje_object_part_swallow(Evas_Object *obj, const char *part, Evas_Object *obj_swallow); /** * @brief Gets the object currently swallowed by a part. @@ -982,7 +982,7 @@ EAPI Eina_Bool edje_object_part_swallow(Evas_Object *obj, const char *part, Evas * * @ingroup Edje_Object_Part */ -EAPI Evas_Object *edje_object_part_swallow_get(const Evas_Object *obj, const char *part); +EDJE_API Evas_Object *edje_object_part_swallow_get(const Evas_Object *obj, const char *part); /** * @brief Unswallows an object. @@ -997,7 +997,7 @@ EAPI Evas_Object *edje_object_part_swallow_get(const Evas_Object *obj, const cha * * @ingroup Edje_Object_Part */ -EAPI void edje_object_part_unswallow(Evas_Object *obj, Evas_Object *obj_swallow); +EDJE_API void edje_object_part_unswallow(Evas_Object *obj, Evas_Object *obj_swallow); /** * @brief Retrieves a list all accessibility part names @@ -1008,7 +1008,7 @@ EAPI void edje_object_part_unswallow(Evas_Object *obj, Evas_Object *obj_swallow) * * @ingroup Edje_Object_Part */ -EAPI Eina_List *edje_object_access_part_list_get(const Evas_Object *obj); +EDJE_API Eina_List *edje_object_access_part_list_get(const Evas_Object *obj); /** * @brief Appends an object to the box. @@ -1026,7 +1026,7 @@ EAPI Eina_List *edje_object_access_part_list_get(const Evas_Object *obj); * * @ingroup Edje_Object_Part */ -EAPI Eina_Bool edje_object_part_box_append(Evas_Object *obj, const char *part, Evas_Object *child); +EDJE_API Eina_Bool edje_object_part_box_append(Evas_Object *obj, const char *part, Evas_Object *child); /** * @brief Prepends an object to the box. @@ -1044,7 +1044,7 @@ EAPI Eina_Bool edje_object_part_box_append(Evas_Object *obj, const char *part, E * * @ingroup Edje_Object_Part */ -EAPI Eina_Bool edje_object_part_box_prepend(Evas_Object *obj, const char *part, Evas_Object *child); +EDJE_API Eina_Bool edje_object_part_box_prepend(Evas_Object *obj, const char *part, Evas_Object *child); /** * @brief Adds an object to the box. @@ -1063,7 +1063,7 @@ EAPI Eina_Bool edje_object_part_box_prepend(Evas_Object *obj, const char *part, * * @ingroup Edje_Object_Part */ -EAPI Eina_Bool edje_object_part_box_insert_before(Evas_Object *obj, const char *part, Evas_Object *child, const Evas_Object *reference); +EDJE_API Eina_Bool edje_object_part_box_insert_before(Evas_Object *obj, const char *part, Evas_Object *child, const Evas_Object *reference); /** * @brief Adds an object to the box. @@ -1083,7 +1083,7 @@ EAPI Eina_Bool edje_object_part_box_insert_before(Evas_Object *obj, const char * * @since 1.18 * @ingroup Edje_Object */ -EAPI Eina_Bool edje_object_part_box_insert_after(Evas_Object *obj, const char *part, Evas_Object *child, const Evas_Object *reference); +EDJE_API Eina_Bool edje_object_part_box_insert_after(Evas_Object *obj, const char *part, Evas_Object *child, const Evas_Object *reference); /** * @brief Inserts an object to the box. @@ -1102,7 +1102,7 @@ EAPI Eina_Bool edje_object_part_box_insert_after(Evas_Object *obj, const char *p * * @ingroup Edje_Object_Part */ -EAPI Eina_Bool edje_object_part_box_insert_at(Evas_Object *obj, const char *part, Evas_Object *child, unsigned int pos); +EDJE_API Eina_Bool edje_object_part_box_insert_at(Evas_Object *obj, const char *part, Evas_Object *child, unsigned int pos); /** * @brief Removes an object from the box. @@ -1118,7 +1118,7 @@ EAPI Eina_Bool edje_object_part_box_insert_at(Evas_Object *obj, const char *part * * @ingroup Edje_Object_Part */ -EAPI Evas_Object *edje_object_part_box_remove_at(Evas_Object *obj, const char *part, unsigned int pos); +EDJE_API Evas_Object *edje_object_part_box_remove_at(Evas_Object *obj, const char *part, unsigned int pos); /** * @brief Removes an object from the box. @@ -1134,7 +1134,7 @@ EAPI Evas_Object *edje_object_part_box_remove_at(Evas_Object *obj, const char *p * * @ingroup Edje_Object_Part */ -EAPI Evas_Object *edje_object_part_box_remove(Evas_Object *obj, const char *part, Evas_Object *child); +EDJE_API Evas_Object *edje_object_part_box_remove(Evas_Object *obj, const char *part, Evas_Object *child); /** * @brief Removes all elements from the box. @@ -1151,7 +1151,7 @@ EAPI Evas_Object *edje_object_part_box_remove(Evas_Object *obj, const char *part * * @ingroup Edje_Object_Part */ -EAPI Eina_Bool edje_object_part_box_remove_all(Evas_Object *obj, const char *part, Eina_Bool clear); +EDJE_API Eina_Bool edje_object_part_box_remove_all(Evas_Object *obj, const char *part, Eina_Bool clear); /** * @brief Packs an object into the table. @@ -1168,7 +1168,7 @@ EAPI Eina_Bool edje_object_part_box_remove_all(Evas_Object *obj, const char *par * * @ingroup Edje_Object_Part */ -EAPI Eina_Bool edje_object_part_table_pack(Evas_Object *obj, const char *part, Evas_Object *child_obj, unsigned short col, unsigned short row, unsigned short colspan, unsigned short rowspan); +EDJE_API Eina_Bool edje_object_part_table_pack(Evas_Object *obj, const char *part, Evas_Object *child_obj, unsigned short col, unsigned short row, unsigned short colspan, unsigned short rowspan); /** * @brief Removes an object from the table. @@ -1181,7 +1181,7 @@ EAPI Eina_Bool edje_object_part_table_pack(Evas_Object *obj, const char *part, E * * @ingroup Edje_Object_Part */ -EAPI Eina_Bool edje_object_part_table_unpack(Evas_Object *obj, const char *part, Evas_Object *child_obj); +EDJE_API Eina_Bool edje_object_part_table_unpack(Evas_Object *obj, const char *part, Evas_Object *child_obj); /** * @brief Gets the number of columns and rows the table has. @@ -1195,7 +1195,7 @@ EAPI Eina_Bool edje_object_part_table_unpack(Evas_Object *obj, const char *part, * * @ingroup Edje_Object_Part */ -EAPI Eina_Bool edje_object_part_table_col_row_size_get(const Evas_Object *obj, const char *part, int *cols, int *rows); +EDJE_API Eina_Bool edje_object_part_table_col_row_size_get(const Evas_Object *obj, const char *part, int *cols, int *rows); /** * @brief Retrieves a child from a table @@ -1207,7 +1207,7 @@ EAPI Eina_Bool edje_object_part_table_col_row_size_get(const Evas_Object *obj, c * * @ingroup Edje_Object_Part */ -EAPI Evas_Object *edje_object_part_table_child_get(const Evas_Object *obj, const char *part, unsigned int col, unsigned int row); +EDJE_API Evas_Object *edje_object_part_table_child_get(const Evas_Object *obj, const char *part, unsigned int col, unsigned int row); /** * @brief Removes all object from the table. @@ -1221,7 +1221,7 @@ EAPI Evas_Object *edje_object_part_table_child_get(const Evas_Object *obj, const * * @ingroup Edje_Object_Part */ -EAPI Eina_Bool edje_object_part_table_clear(Evas_Object *obj, const char *part, Eina_Bool clear); +EDJE_API Eina_Bool edje_object_part_table_clear(Evas_Object *obj, const char *part, Eina_Bool clear); /** * @brief Sets the object color class. @@ -1255,7 +1255,7 @@ EAPI Eina_Bool edje_object_part_table_clear(Evas_Object *obj, const char *part, * * @ingroup Edje_Object_Color_Class */ -EAPI Eina_Bool edje_object_color_class_set(Evas_Object *obj, const char * color_class, int r, int g, int b, int a, int r2, int g2, int b2, int a2, int r3, int g3, int b3, int a3); +EDJE_API Eina_Bool edje_object_color_class_set(Evas_Object *obj, const char * color_class, int r, int g, int b, int a, int r2, int g2, int b2, int a2, int r3, int g3, int b3, int a3); /** * @brief Gets the object color class. @@ -1287,7 +1287,7 @@ EAPI Eina_Bool edje_object_color_class_set(Evas_Object *obj, const char * color_ * * @ingroup Edje_Object_Color_Class */ -EAPI Eina_Bool edje_object_color_class_get(const Evas_Object *obj, const char * color_class, int *r, int *g, int *b, int *a, int *r2, int *g2, int *b2, int *a2, int *r3, int *g3, int *b3, int *a3); +EDJE_API Eina_Bool edje_object_color_class_get(const Evas_Object *obj, const char * color_class, int *r, int *g, int *b, int *a, int *r2, int *g2, int *b2, int *a2, int *r3, int *g3, int *b3, int *a3); /** * @brief Delete the object color class. @@ -1305,7 +1305,7 @@ EAPI Eina_Bool edje_object_color_class_get(const Evas_Object *obj, const char * * * @ingroup Edje_Object_Color_Class */ -EAPI void edje_object_color_class_del(Evas_Object *obj, const char *color_class); +EDJE_API void edje_object_color_class_del(Evas_Object *obj, const char *color_class); /** * @brief Delete all color classes defined in object level. @@ -1320,7 +1320,7 @@ EAPI void edje_object_color_class_del(Evas_Object *obj, const char *color_class) * * @ingroup Edje_Object_Color_Class */ -EAPI Eina_Bool edje_object_color_class_clear(const Evas_Object *obj); +EDJE_API Eina_Bool edje_object_color_class_clear(const Evas_Object *obj); /** * @brief Sets Edje text class. @@ -1335,7 +1335,7 @@ EAPI Eina_Bool edje_object_color_class_clear(const Evas_Object *obj); * * @ingroup Edje_Object_Text_Class */ -EAPI Eina_Bool edje_object_text_class_set(Evas_Object *obj, const char * text_class, const char *font, Evas_Font_Size size); +EDJE_API Eina_Bool edje_object_text_class_set(Evas_Object *obj, const char * text_class, const char *font, Evas_Font_Size size); /** * @brief Gets font and font size from edje text class. @@ -1352,7 +1352,7 @@ EAPI Eina_Bool edje_object_text_class_set(Evas_Object *obj, const char * text_cl * * @ingroup Edje_Object_Text_Class */ -EAPI Eina_Bool edje_object_text_class_get(const Evas_Object *obj, const char * text_class, const char **font, Evas_Font_Size *size); +EDJE_API Eina_Bool edje_object_text_class_get(const Evas_Object *obj, const char * text_class, const char **font, Evas_Font_Size *size); /** * @brief Delete the object text class. @@ -1369,7 +1369,7 @@ EAPI Eina_Bool edje_object_text_class_get(const Evas_Object *obj, const char * t * * @ingroup Edje_Object_Text_Class */ -EAPI void edje_object_text_class_del(Evas_Object *obj, const char *text_class); +EDJE_API void edje_object_text_class_del(Evas_Object *obj, const char *text_class); /** * @brief Sets the object size class. @@ -1390,7 +1390,7 @@ EAPI void edje_object_text_class_del(Evas_Object *obj, const char *text_class); * * @ingroup Edje_Object_Size_Class */ -EAPI Eina_Bool edje_object_size_class_set(Evas_Object *obj, const char * size_class, int minw, int minh, int maxw, int maxh); +EDJE_API Eina_Bool edje_object_size_class_set(Evas_Object *obj, const char * size_class, int minw, int minh, int maxw, int maxh); /** * @brief Gets the object size class. @@ -1411,7 +1411,7 @@ EAPI Eina_Bool edje_object_size_class_set(Evas_Object *obj, const char * size_cl * * @ingroup Edje_Object_Size_Class */ -EAPI Eina_Bool edje_object_size_class_get(const Evas_Object *obj, const char * size_class, int *minw, int *minh, int *maxw, int *maxh); +EDJE_API Eina_Bool edje_object_size_class_get(const Evas_Object *obj, const char * size_class, int *minw, int *minh, int *maxw, int *maxh); /** * @brief Delete the object size class. @@ -1428,7 +1428,7 @@ EAPI Eina_Bool edje_object_size_class_get(const Evas_Object *obj, const char * s * * @ingroup Edje_Object_Size_Class */ -EAPI void edje_object_size_class_del(Evas_Object *obj, const char *size_class); +EDJE_API void edje_object_size_class_del(Evas_Object *obj, const char *size_class); /** * @brief Enables selection if the entry is an EXPLICIT selection mode type. @@ -1442,7 +1442,7 @@ EAPI void edje_object_size_class_del(Evas_Object *obj, const char *size_class); * * @ingroup Edje_Object_Part */ -EAPI void edje_object_part_text_select_allow_set(const Evas_Object *obj, const char *part, Eina_Bool allow); +EDJE_API void edje_object_part_text_select_allow_set(const Evas_Object *obj, const char *part, Eina_Bool allow); /** * @brief Sets the RTL orientation for this object. @@ -1453,7 +1453,7 @@ EAPI void edje_object_part_text_select_allow_set(const Evas_Object *obj, const c * * @ingroup Edje_Object_Group */ -EAPI void edje_object_mirrored_set(Evas_Object *obj, Eina_Bool rtl); +EDJE_API void edje_object_mirrored_set(Evas_Object *obj, Eina_Bool rtl); /** * @brief Gets the RTL orientation for this object. @@ -1466,7 +1466,7 @@ EAPI void edje_object_mirrored_set(Evas_Object *obj, Eina_Bool rtl); * * @ingroup Edje_Object_Group */ -EAPI Eina_Bool edje_object_mirrored_get(const Evas_Object *obj); +EDJE_API Eina_Bool edje_object_mirrored_get(const Evas_Object *obj); /** * @brief Sets the language for this object. @@ -1477,7 +1477,7 @@ EAPI Eina_Bool edje_object_mirrored_get(const Evas_Object *obj); * * @ingroup Edje_Object_Group */ -EAPI void edje_object_language_set(Evas_Object *obj, const char *language); +EDJE_API void edje_object_language_set(Evas_Object *obj, const char *language); /** * @brief Gets the language for this object. @@ -1488,7 +1488,7 @@ EAPI void edje_object_language_set(Evas_Object *obj, const char *language); * * @ingroup Edje_Object_Group */ -EAPI const char *edje_object_language_get(const Evas_Object *obj); +EDJE_API const char *edje_object_language_get(const Evas_Object *obj); /** * @brief Sets the scaling factor for a given Edje object. @@ -1512,7 +1512,7 @@ EAPI const char *edje_object_language_get(const Evas_Object *obj); * * @ingroup Edje_Object_Scale */ -EAPI Eina_Bool edje_object_scale_set(Evas_Object *obj, double scale); +EDJE_API Eina_Bool edje_object_scale_set(Evas_Object *obj, double scale); /** * @brief Gets a given Edje object's scaling factor. @@ -1527,7 +1527,7 @@ EAPI Eina_Bool edje_object_scale_set(Evas_Object *obj, double scale); * * @ingroup Edje_Object_Scale */ -EAPI double edje_object_scale_get(const Evas_Object *obj); +EDJE_API double edje_object_scale_get(const Evas_Object *obj); /** * @brief Gets a given Edje object's base_scale factor. @@ -1541,7 +1541,7 @@ EAPI double edje_object_scale_get(const Evas_Object *obj); * * @ingroup Edje_Object_Scale */ -EAPI double edje_object_base_scale_get(const Evas_Object *obj); +EDJE_API double edje_object_base_scale_get(const Evas_Object *obj); /** * @defgroup Edje_Part_Drag Edje Drag @@ -1595,7 +1595,7 @@ typedef enum _Edje_Drag_Dir * * @ingroup Edje_Part_Drag */ -EAPI Eina_Bool edje_object_part_drag_value_set(Evas_Object *obj, const char * part, double dx, double dy); +EDJE_API Eina_Bool edje_object_part_drag_value_set(Evas_Object *obj, const char * part, double dx, double dy); /** * @brief Gets the dragable object location. @@ -1615,7 +1615,7 @@ EAPI Eina_Bool edje_object_part_drag_value_set(Evas_Object *obj, const char * pa * * @ingroup Edje_Part_Drag */ -EAPI Eina_Bool edje_object_part_drag_value_get(const Evas_Object *obj, const char * part, double *dx, double *dy); +EDJE_API Eina_Bool edje_object_part_drag_value_get(const Evas_Object *obj, const char * part, double *dx, double *dy); /** * @brief Sets the dragable object size. @@ -1635,7 +1635,7 @@ EAPI Eina_Bool edje_object_part_drag_value_get(const Evas_Object *obj, const cha * * @ingroup Edje_Part_Drag */ -EAPI Eina_Bool edje_object_part_drag_size_set(Evas_Object *obj, const char * part, double dw, double dh); +EDJE_API Eina_Bool edje_object_part_drag_size_set(Evas_Object *obj, const char * part, double dw, double dh); /** * @brief Gets the dragable object size. @@ -1652,7 +1652,7 @@ EAPI Eina_Bool edje_object_part_drag_size_set(Evas_Object *obj, const char * par * * @ingroup Edje_Part_Drag */ -EAPI Eina_Bool edje_object_part_drag_size_get(const Evas_Object *obj, const char * part, double *dw, double *dh); +EDJE_API Eina_Bool edje_object_part_drag_size_get(const Evas_Object *obj, const char * part, double *dw, double *dh); /** * @brief Determines dragable directions. @@ -1669,7 +1669,7 @@ EAPI Eina_Bool edje_object_part_drag_size_get(const Evas_Object *obj, const char * * @ingroup Edje_Part_Drag */ -EAPI Edje_Drag_Dir edje_object_part_drag_dir_get(const Evas_Object *obj, const char * part); +EDJE_API Edje_Drag_Dir edje_object_part_drag_dir_get(const Evas_Object *obj, const char * part); /** * @brief Sets the drag step increment. @@ -1690,7 +1690,7 @@ EAPI Edje_Drag_Dir edje_object_part_drag_dir_get(const Evas_Object *obj, const c * * @ingroup Edje_Part_Drag */ -EAPI Eina_Bool edje_object_part_drag_step_set(Evas_Object *obj, const char * part, double dx, double dy); +EDJE_API Eina_Bool edje_object_part_drag_step_set(Evas_Object *obj, const char * part, double dx, double dy); /** * @brief Gets the drag step increment values. @@ -1707,7 +1707,7 @@ EAPI Eina_Bool edje_object_part_drag_step_set(Evas_Object *obj, const char * par * * @ingroup Edje_Part_Drag */ -EAPI Eina_Bool edje_object_part_drag_step_get(const Evas_Object *obj, const char * part, double *dx, double *dy); +EDJE_API Eina_Bool edje_object_part_drag_step_get(const Evas_Object *obj, const char * part, double *dx, double *dy); /** * @brief Steps the dragable x,y steps. @@ -1727,7 +1727,7 @@ EAPI Eina_Bool edje_object_part_drag_step_get(const Evas_Object *obj, const char * * @ingroup Edje_Part_Drag */ -EAPI Eina_Bool edje_object_part_drag_step(Evas_Object *obj, const char *part, double dx, double dy); +EDJE_API Eina_Bool edje_object_part_drag_step(Evas_Object *obj, const char *part, double dx, double dy); /** * @brief Sets the page step increments. @@ -1748,7 +1748,7 @@ EAPI Eina_Bool edje_object_part_drag_step(Evas_Object *obj, const char *part, do * * @ingroup Edje_Part_Drag */ -EAPI Eina_Bool edje_object_part_drag_page_set(Evas_Object *obj, const char * part, double dx, double dy); +EDJE_API Eina_Bool edje_object_part_drag_page_set(Evas_Object *obj, const char * part, double dx, double dy); /** * @brief Gets the page step increments. @@ -1765,7 +1765,7 @@ EAPI Eina_Bool edje_object_part_drag_page_set(Evas_Object *obj, const char * par * * @ingroup Edje_Part_Drag */ -EAPI Eina_Bool edje_object_part_drag_page_get(const Evas_Object *obj, const char * part, double *dx, double *dy); +EDJE_API Eina_Bool edje_object_part_drag_page_get(const Evas_Object *obj, const char * part, double *dx, double *dy); /** * @brief Pages x,y steps. @@ -1787,7 +1787,7 @@ EAPI Eina_Bool edje_object_part_drag_page_get(const Evas_Object *obj, const char * * @ingroup Edje_Part_Drag */ -EAPI Eina_Bool edje_object_part_drag_page(Evas_Object *obj, const char *part, double dx, double dy); +EDJE_API Eina_Bool edje_object_part_drag_page(Evas_Object *obj, const char *part, double dx, double dy); /** * @} @@ -1802,7 +1802,7 @@ EAPI Eina_Bool edje_object_part_drag_page(Evas_Object *obj, const char *part, do * * @ingroup Edje_Object_Part */ -EAPI Eina_Bool edje_object_part_text_set(const Evas_Object *obj, const char *part, const char *text); +EDJE_API Eina_Bool edje_object_part_text_set(const Evas_Object *obj, const char *part, const char *text); /** * @brief Gets the text currntly set to the given part @@ -1813,7 +1813,7 @@ EAPI Eina_Bool edje_object_part_text_set(const Evas_Object *obj, const char *par * * @ingroup Edje_Object_Part */ -EAPI const char * edje_object_part_text_get(const Evas_Object *obj, const char *part); +EDJE_API const char * edje_object_part_text_get(const Evas_Object *obj, const char *part); /** * @brief Moves the cursor to the beginning of the text part @ref @@ -1824,7 +1824,7 @@ EAPI const char * edje_object_part_text_get(const Evas_Object *obj, const char * * * @ingroup Edje_Object_Part */ -EAPI void edje_object_part_text_cursor_begin_set(Evas_Object *obj, const char *part, Edje_Cursor cur); +EDJE_API void edje_object_part_text_cursor_begin_set(Evas_Object *obj, const char *part, Edje_Cursor cur); /** * @brief Moves the cursor to the end of the text part. @ref @@ -1835,7 +1835,7 @@ EAPI void edje_object_part_text_cursor_begin_set(Evas_Object *obj, const char *p * * @ingroup Edje_Object_Part */ -EAPI void edje_object_part_text_cursor_end_set(Evas_Object *obj, const char *part, Edje_Cursor cur); +EDJE_API void edje_object_part_text_cursor_end_set(Evas_Object *obj, const char *part, Edje_Cursor cur); /** * @brief Sets the cursor position to the given value @@ -1848,7 +1848,7 @@ EAPI void edje_object_part_text_cursor_end_set(Evas_Object *obj, const char *par * * @ingroup Edje_Object_Part */ -EAPI void edje_object_part_text_cursor_pos_set(Evas_Object *obj, const char * part, Edje_Cursor cur, int pos); +EDJE_API void edje_object_part_text_cursor_pos_set(Evas_Object *obj, const char * part, Edje_Cursor cur, int pos); /** * @brief Retrieves the current position of the cursor @@ -1862,7 +1862,7 @@ EAPI void edje_object_part_text_cursor_pos_set(Evas_Object *obj, const char * pa * * @ingroup Edje_Object_Part */ -EAPI int edje_object_part_text_cursor_pos_get(const Evas_Object *obj, const char * part, Edje_Cursor cur); +EDJE_API int edje_object_part_text_cursor_pos_get(const Evas_Object *obj, const char * part, Edje_Cursor cur); /** * @brief Position the given cursor to a X,Y position. @@ -1878,7 +1878,7 @@ EAPI int edje_object_part_text_cursor_pos_get(const Evas_Object *obj, const char * * @ingroup Edje_Object_Part */ -EAPI Eina_Bool edje_object_part_text_cursor_coord_set(Evas_Object *obj, const char *part, Edje_Cursor cur, int x, int y); +EDJE_API Eina_Bool edje_object_part_text_cursor_coord_set(Evas_Object *obj, const char *part, Edje_Cursor cur, int x, int y); /** * @brief Moves the cursor to the beginning of the line. @ref @@ -1889,7 +1889,7 @@ EAPI Eina_Bool edje_object_part_text_cursor_coord_set(Evas_Object *obj, const ch * * @ingroup Edje_Object_Part */ -EAPI void edje_object_part_text_cursor_line_begin_set(Evas_Object *obj, const char *part, Edje_Cursor cur); +EDJE_API void edje_object_part_text_cursor_line_begin_set(Evas_Object *obj, const char *part, Edje_Cursor cur); /** * @brief Moves the cursor to the end of the line. @ref @@ -1900,7 +1900,7 @@ EAPI void edje_object_part_text_cursor_line_begin_set(Evas_Object *obj, const ch * * @ingroup Edje_Object_Part */ -EAPI void edje_object_part_text_cursor_line_end_set(Evas_Object *obj, const char *part, Edje_Cursor cur); +EDJE_API void edje_object_part_text_cursor_line_end_set(Evas_Object *obj, const char *part, Edje_Cursor cur); /** * @brief Moves the cursor to the previous char @ref @@ -1913,7 +1913,7 @@ EAPI void edje_object_part_text_cursor_line_end_set(Evas_Object *obj, const char * * @ingroup Edje_Object_Part */ -EAPI Eina_Bool edje_object_part_text_cursor_prev(Evas_Object *obj, const char *part, Edje_Cursor cur); +EDJE_API Eina_Bool edje_object_part_text_cursor_prev(Evas_Object *obj, const char *part, Edje_Cursor cur); /** * @brief Advances the cursor to the next cursor position. @ref @@ -1926,7 +1926,7 @@ EAPI Eina_Bool edje_object_part_text_cursor_prev(Evas_Object *obj, const char *p * * @ingroup Edje_Object_Part */ -EAPI Eina_Bool edje_object_part_text_cursor_next(Evas_Object *obj, const char *part, Edje_Cursor cur); +EDJE_API Eina_Bool edje_object_part_text_cursor_next(Evas_Object *obj, const char *part, Edje_Cursor cur); /** * @brief Moves the cursor to the char above the current cursor position. @@ -1938,7 +1938,7 @@ EAPI Eina_Bool edje_object_part_text_cursor_next(Evas_Object *obj, const char *p * * @ingroup Edje_Object_Part */ -EAPI Eina_Bool edje_object_part_text_cursor_up(Evas_Object *obj, const char *part, Edje_Cursor cur); +EDJE_API Eina_Bool edje_object_part_text_cursor_up(Evas_Object *obj, const char *part, Edje_Cursor cur); /** * @brief Moves the cursor to the char below the current cursor position. @@ -1950,7 +1950,7 @@ EAPI Eina_Bool edje_object_part_text_cursor_up(Evas_Object *obj, const char *par * * @ingroup Edje_Object_Part */ -EAPI Eina_Bool edje_object_part_text_cursor_down(Evas_Object *obj, const char *part, Edje_Cursor cur); +EDJE_API Eina_Bool edje_object_part_text_cursor_down(Evas_Object *obj, const char *part, Edje_Cursor cur); /** * @brief Copies the cursor to another cursor. @@ -1961,7 +1961,7 @@ EAPI Eina_Bool edje_object_part_text_cursor_down(Evas_Object *obj, const char *p * * @ingroup Edje_Object_Part */ -EAPI void edje_object_part_text_cursor_copy(Evas_Object *obj, const char *part, Edje_Cursor src, Edje_Cursor dst); +EDJE_API void edje_object_part_text_cursor_copy(Evas_Object *obj, const char *part, Edje_Cursor src, Edje_Cursor dst); /** * @brief Returns the content (char) at the cursor position. @ref @@ -1977,7 +1977,7 @@ EAPI void edje_object_part_text_cursor_copy(Evas_Object *obj, const char *part, * * @ingroup Edje_Object_Part */ -EAPI char *edje_object_part_text_cursor_content_get(const Evas_Object *obj, const char * part, Edje_Cursor cur); +EDJE_API char *edje_object_part_text_cursor_content_get(const Evas_Object *obj, const char * part, Edje_Cursor cur); /** * @brief Returns the cursor geometry of the part relative to the edje object. @@ -1990,7 +1990,7 @@ EAPI char *edje_object_part_text_cursor_content_get(const Evas_Object *obj, cons * * @ingroup Edje_Object_Part */ -EAPI void edje_object_part_text_cursor_geometry_get(const Evas_Object *obj, const char * part, int *x, int *y, int *w, int *h); +EDJE_API void edje_object_part_text_cursor_geometry_get(const Evas_Object *obj, const char * part, int *x, int *y, int *w, int *h); /** * @brief Hides visible last character for password mode. @@ -2004,7 +2004,7 @@ EAPI void edje_object_part_text_cursor_geometry_get(const Evas_Object *obj, cons * * @ingroup Edje_Object_Part */ -EAPI Eina_Bool edje_object_part_text_hide_visible_password(Evas_Object *obj, const char *part); +EDJE_API Eina_Bool edje_object_part_text_hide_visible_password(Evas_Object *obj, const char *part); /** * @brief Returns whether the cursor points to a format. @ref @@ -2017,7 +2017,7 @@ EAPI Eina_Bool edje_object_part_text_hide_visible_password(Evas_Object *obj, con * * @ingroup Edje_Object_Part */ -EAPI Eina_Bool edje_object_part_text_cursor_is_format_get(const Evas_Object *obj, const char * part, Edje_Cursor cur); +EDJE_API Eina_Bool edje_object_part_text_cursor_is_format_get(const Evas_Object *obj, const char * part, Edje_Cursor cur); /** * @brief Returns @c true if the cursor points to a visible format For example @@ -2031,7 +2031,7 @@ EAPI Eina_Bool edje_object_part_text_cursor_is_format_get(const Evas_Object *obj * * @ingroup Edje_Object_Part */ -EAPI Eina_Bool edje_object_part_text_cursor_is_visible_format_get(const Evas_Object *obj, const char * part, Edje_Cursor cur); +EDJE_API Eina_Bool edje_object_part_text_cursor_is_visible_format_get(const Evas_Object *obj, const char * part, Edje_Cursor cur); /** * @brief Returns a list of Evas_Textblock_Rectangle anchor rectangles. @@ -2046,7 +2046,7 @@ EAPI Eina_Bool edje_object_part_text_cursor_is_visible_format_get(const Evas_Obj * * @ingroup Edje_Object_Part */ -EAPI const Eina_List *edje_object_part_text_anchor_geometry_get(const Evas_Object *obj, const char * part, const char * anchor); +EDJE_API const Eina_List *edje_object_part_text_anchor_geometry_get(const Evas_Object *obj, const char * part, const char * anchor); /** * @brief Returns a list of char anchor names. @@ -2059,7 +2059,7 @@ EAPI const Eina_List *edje_object_part_text_anchor_geometry_get(const Evas_Objec * * @ingroup Edje_Object_Part */ -EAPI const Eina_List *edje_object_part_text_anchor_list_get(const Evas_Object *obj, const char * part); +EDJE_API const Eina_List *edje_object_part_text_anchor_list_get(const Evas_Object *obj, const char * part); /** * @brief Returns the text of the object part. @@ -2074,7 +2074,7 @@ EAPI const Eina_List *edje_object_part_text_anchor_list_get(const Evas_Object *o * * @ingroup Edje_Object_Part */ -EAPI const char *edje_object_part_text_style_user_peek(const Evas_Object *obj, const char *part); +EDJE_API const char *edje_object_part_text_style_user_peek(const Evas_Object *obj, const char *part); /** * @brief Sets the style of the @@ -2088,7 +2088,7 @@ EAPI const char *edje_object_part_text_style_user_peek(const Evas_Object *obj, c * * @ingroup Edje_Object_Part */ -EAPI void edje_object_part_text_style_user_push(Evas_Object *obj, const char *part, const char *style); +EDJE_API void edje_object_part_text_style_user_push(Evas_Object *obj, const char *part, const char *style); /** * @brief Deletes the top style form the user style stack. @@ -2099,7 +2099,7 @@ EAPI void edje_object_part_text_style_user_push(Evas_Object *obj, const char *pa * * @ingroup Edje_Object_Part */ -EAPI void edje_object_part_text_style_user_pop(Evas_Object *obj, const char *part); +EDJE_API void edje_object_part_text_style_user_pop(Evas_Object *obj, const char *part); /** * @brief Returns item geometry. @@ -2117,7 +2117,7 @@ EAPI void edje_object_part_text_style_user_pop(Evas_Object *obj, const char *par * * @ingroup Edje_Object_Part */ -EAPI Eina_Bool edje_object_part_text_item_geometry_get(const Evas_Object *obj, const char * part, const char * item, int *cx, int *cy, int *cw, int *ch); +EDJE_API Eina_Bool edje_object_part_text_item_geometry_get(const Evas_Object *obj, const char * part, const char * item, int *cx, int *cy, int *cw, int *ch); /** * @brief Returns a list of char item names. @@ -2130,7 +2130,7 @@ EAPI Eina_Bool edje_object_part_text_item_geometry_get(const Evas_Object *obj, c * * @ingroup Edje_Object_Part */ -EAPI const Eina_List *edje_object_part_text_item_list_get(const Evas_Object *obj, const char * part); +EDJE_API const Eina_List *edje_object_part_text_item_list_get(const Evas_Object *obj, const char * part); /** * @brief Adds a filter function for newly inserted text. @@ -2165,7 +2165,7 @@ EAPI const Eina_List *edje_object_part_text_item_list_get(const Evas_Object *obj * * @ingroup Edje_Object_Group */ -EAPI void edje_object_text_insert_filter_callback_add(Evas_Object *obj, const char *part, Edje_Text_Filter_Cb func, void *data); +EDJE_API void edje_object_text_insert_filter_callback_add(Evas_Object *obj, const char *part, Edje_Text_Filter_Cb func, void *data); /** * @brief Deletes a function from the filter list. @@ -2183,7 +2183,7 @@ EAPI void edje_object_text_insert_filter_callback_add(Evas_Object *obj, const ch * * @ingroup Edje_Object_Group */ -EAPI void *edje_object_text_insert_filter_callback_del(Evas_Object *obj, const char *part, Edje_Text_Filter_Cb func); +EDJE_API void *edje_object_text_insert_filter_callback_del(Evas_Object *obj, const char *part, Edje_Text_Filter_Cb func); /** * @brief Deletes a function and matching user data from the filter list. @@ -2202,7 +2202,7 @@ EAPI void *edje_object_text_insert_filter_callback_del(Evas_Object *obj, const c * * @ingroup Edje_Object_Group */ -EAPI void *edje_object_text_insert_filter_callback_del_full(Evas_Object *obj, const char *part, Edje_Text_Filter_Cb func, void *data); +EDJE_API void *edje_object_text_insert_filter_callback_del_full(Evas_Object *obj, const char *part, Edje_Text_Filter_Cb func, void *data); /** * @brief Adds a markup filter function for newly inserted text. @@ -2235,7 +2235,7 @@ EAPI void *edje_object_text_insert_filter_callback_del_full(Evas_Object *obj, co * * @ingroup Edje_Object_Group */ -EAPI void edje_object_text_markup_filter_callback_add(Evas_Object *obj, const char *part, Edje_Markup_Filter_Cb func, void *data); +EDJE_API void edje_object_text_markup_filter_callback_add(Evas_Object *obj, const char *part, Edje_Markup_Filter_Cb func, void *data); /** * @brief Deletes a function from the markup filter list. @@ -2255,7 +2255,7 @@ EAPI void edje_object_text_markup_filter_callback_add(Evas_Object *obj, const ch * * @ingroup Edje_Object_Group */ -EAPI void *edje_object_text_markup_filter_callback_del(Evas_Object *obj, const char *part, Edje_Markup_Filter_Cb func); +EDJE_API void *edje_object_text_markup_filter_callback_del(Evas_Object *obj, const char *part, Edje_Markup_Filter_Cb func); /** * @brief Deletes a function and matching user data from the markup filter @@ -2277,7 +2277,7 @@ EAPI void *edje_object_text_markup_filter_callback_del(Evas_Object *obj, const c * * @ingroup Edje_Object_Group */ -EAPI void *edje_object_text_markup_filter_callback_del_full(Evas_Object *obj, const char *part, Edje_Markup_Filter_Cb func, void *data); +EDJE_API void *edje_object_text_markup_filter_callback_del_full(Evas_Object *obj, const char *part, Edje_Markup_Filter_Cb func, void *data); /** * @brief This function inserts text as if the user has inserted it. @@ -2292,7 +2292,7 @@ EAPI void *edje_object_text_markup_filter_callback_del_full(Evas_Object *obj, co * * @ingroup Edje_Object_Part */ -EAPI void edje_object_part_text_user_insert(const Evas_Object *obj, const char *part, const char *text); +EDJE_API void edje_object_part_text_user_insert(const Evas_Object *obj, const char *part, const char *text); /** * @brief Inserts text for an object part. @@ -2307,7 +2307,7 @@ EAPI void edje_object_part_text_user_insert(const Evas_Object *obj, const char * * * @ingroup Edje_Object_Part */ -EAPI void edje_object_part_text_append(Evas_Object *obj, const char *part, const char *text); +EDJE_API void edje_object_part_text_append(Evas_Object *obj, const char *part, const char *text); /** * @brief Sets the text for an object part, but converts HTML escapes to UTF8 @@ -2325,7 +2325,7 @@ EAPI void edje_object_part_text_append(Evas_Object *obj, const char *part, const * * @ingroup Edje_Object_Part */ -EAPI Eina_Bool edje_object_part_text_escaped_set(Evas_Object *obj, const char *part, const char *text); +EDJE_API Eina_Bool edje_object_part_text_escaped_set(Evas_Object *obj, const char *part, const char *text); /** * @brief Sets the raw (non escaped) text for an object part. @@ -2343,7 +2343,7 @@ EAPI Eina_Bool edje_object_part_text_escaped_set(Evas_Object *obj, const char *p * * @ingroup Edje_Object_Part */ -EAPI Eina_Bool edje_object_part_text_unescaped_set(Evas_Object *obj, const char * part, const char *text_to_escape); +EDJE_API Eina_Bool edje_object_part_text_unescaped_set(Evas_Object *obj, const char * part, const char *text_to_escape); /** * @brief Returns the text of the object part, without escaping. @@ -2360,7 +2360,7 @@ EAPI Eina_Bool edje_object_part_text_unescaped_set(Evas_Object *obj, const char * * @ingroup Edje_Object_Part */ -EAPI char *edje_object_part_text_unescaped_get(const Evas_Object *obj, const char * part); +EDJE_API char *edje_object_part_text_unescaped_get(const Evas_Object *obj, const char * part); /** * @brief Inserts text for an object part. @@ -2373,7 +2373,7 @@ EAPI char *edje_object_part_text_unescaped_get(const Evas_Object *obj, const cha * * @ingroup Edje_Object_Part */ -EAPI void edje_object_part_text_insert(Evas_Object *obj, const char *part, const char *text); +EDJE_API void edje_object_part_text_insert(Evas_Object *obj, const char *part, const char *text); /** * @brief Sets the autocapitalization type on the immodule. @@ -2385,7 +2385,7 @@ EAPI void edje_object_part_text_insert(Evas_Object *obj, const char *part, const * * @ingroup Edje_Object_Part */ -EAPI void edje_object_part_text_autocapital_type_set(Evas_Object *obj, const char *part, Edje_Text_Autocapital_Type autocapital_type); +EDJE_API void edje_object_part_text_autocapital_type_set(Evas_Object *obj, const char *part, Edje_Text_Autocapital_Type autocapital_type); /** * @brief Retrieves the autocapitalization type @@ -2398,7 +2398,7 @@ EAPI void edje_object_part_text_autocapital_type_set(Evas_Object *obj, const cha * * @ingroup Edje_Object_Part */ -EAPI Edje_Text_Autocapital_Type edje_object_part_text_autocapital_type_get(const Evas_Object *obj, const char *part); +EDJE_API Edje_Text_Autocapital_Type edje_object_part_text_autocapital_type_get(const Evas_Object *obj, const char *part); /** * @brief Sets whether the prediction is allowed or not. @@ -2410,7 +2410,7 @@ EAPI Edje_Text_Autocapital_Type edje_object_part_text_autocapital_type_get(const * * @ingroup Edje_Object_Part */ -EAPI void edje_object_part_text_prediction_allow_set(Evas_Object *obj, const char *part, Eina_Bool prediction); +EDJE_API void edje_object_part_text_prediction_allow_set(Evas_Object *obj, const char *part, Eina_Bool prediction); /** * @brief Gets whether the prediction is allowed or not. @@ -2423,7 +2423,7 @@ EAPI void edje_object_part_text_prediction_allow_set(Evas_Object *obj, const cha * * @ingroup Edje_Object_Part */ -EAPI Eina_Bool edje_object_part_text_prediction_allow_get(const Evas_Object *obj, const char *part); +EDJE_API Eina_Bool edje_object_part_text_prediction_allow_get(const Evas_Object *obj, const char *part); /** * @brief Gets the input method context in entry. @@ -2439,7 +2439,7 @@ EAPI Eina_Bool edje_object_part_text_prediction_allow_get(const Evas_Object *obj * * @ingroup Edje_Object_Part */ -EAPI void *edje_object_part_text_imf_context_get(const Evas_Object *obj, const char *part); +EDJE_API void *edje_object_part_text_imf_context_get(const Evas_Object *obj, const char *part); /** * @brief Resets the input method context if needed. @@ -2453,7 +2453,7 @@ EAPI void *edje_object_part_text_imf_context_get(const Evas_Object *obj, const c * * @ingroup Edje_Object_Part */ -EAPI void edje_object_part_text_imf_context_reset(const Evas_Object *obj, const char *part); +EDJE_API void edje_object_part_text_imf_context_reset(const Evas_Object *obj, const char *part); /** * @brief Sets the input hint which allows input methods to fine-tune their @@ -2466,7 +2466,7 @@ EAPI void edje_object_part_text_imf_context_reset(const Evas_Object *obj, const * * @ingroup Edje_Object_Part */ -EAPI void edje_object_part_text_input_hint_set(Evas_Object *obj, const char *part, Edje_Input_Hints input_hints); +EDJE_API void edje_object_part_text_input_hint_set(Evas_Object *obj, const char *part, Edje_Input_Hints input_hints); /** * @brief Gets the value of input hint @@ -2479,7 +2479,7 @@ EAPI void edje_object_part_text_input_hint_set(Evas_Object *obj, const char *par * * @ingroup Edje_Object_Part */ -EAPI Edje_Input_Hints edje_object_part_text_input_hint_get(const Evas_Object *obj, const char *part); +EDJE_API Edje_Input_Hints edje_object_part_text_input_hint_get(const Evas_Object *obj, const char *part); /** * @brief Shows the input panel (virtual keyboard) based on the input panel @@ -2495,7 +2495,7 @@ EAPI Edje_Input_Hints edje_object_part_text_input_hint_get(const Evas_Object *ob * * @ingroup Edje_Object_Part */ -EAPI void edje_object_part_text_input_panel_show(const Evas_Object *obj, const char *part); +EDJE_API void edje_object_part_text_input_panel_show(const Evas_Object *obj, const char *part); /** * @brief Hides the input panel (virtual keyboard). See also @@ -2511,7 +2511,7 @@ EAPI void edje_object_part_text_input_panel_show(const Evas_Object *obj, const c * * @ingroup Edje_Object_Part */ -EAPI void edje_object_part_text_input_panel_hide(const Evas_Object *obj, const char *part); +EDJE_API void edje_object_part_text_input_panel_hide(const Evas_Object *obj, const char *part); /** * @brief Sets the input panel-specific data to deliver to the input panel. @@ -2528,7 +2528,7 @@ EAPI void edje_object_part_text_input_panel_hide(const Evas_Object *obj, const c * * @ingroup Edje_Object_Part */ -EAPI void edje_object_part_text_input_panel_imdata_set(Evas_Object *obj, const char *part, const void *data, int len); +EDJE_API void edje_object_part_text_input_panel_imdata_set(Evas_Object *obj, const char *part, const void *data, int len); /** * @brief Gets the specific data of the current active input panel. @@ -2543,7 +2543,7 @@ EAPI void edje_object_part_text_input_panel_imdata_set(Evas_Object *obj, const c * * @ingroup Edje_Object_Part */ -EAPI void edje_object_part_text_input_panel_imdata_get(const Evas_Object *obj, const char *part, void *data, int *len); +EDJE_API void edje_object_part_text_input_panel_imdata_get(const Evas_Object *obj, const char *part, void *data, int *len); /** * @brief Sets the layout of the input panel. @@ -2560,7 +2560,7 @@ EAPI void edje_object_part_text_input_panel_imdata_get(const Evas_Object *obj, c * * @ingroup Edje_Object_Part */ -EAPI void edje_object_part_text_input_panel_layout_set(Evas_Object *obj, const char *part, Edje_Input_Panel_Layout layout); +EDJE_API void edje_object_part_text_input_panel_layout_set(Evas_Object *obj, const char *part, Edje_Input_Panel_Layout layout); /** * @brief Gets the layout of the input panel. @@ -2575,7 +2575,7 @@ EAPI void edje_object_part_text_input_panel_layout_set(Evas_Object *obj, const c * * @ingroup Edje_Object_Part */ -EAPI Edje_Input_Panel_Layout edje_object_part_text_input_panel_layout_get(const Evas_Object *obj, const char *part); +EDJE_API Edje_Input_Panel_Layout edje_object_part_text_input_panel_layout_get(const Evas_Object *obj, const char *part); /** * @brief Sets the language mode of the input panel. @@ -2589,7 +2589,7 @@ EAPI Edje_Input_Panel_Layout edje_object_part_text_input_panel_layout_get(const * * @ingroup Edje_Object_Part */ -EAPI void edje_object_part_text_input_panel_language_set(Evas_Object *obj, const char *part, Edje_Input_Panel_Lang lang); +EDJE_API void edje_object_part_text_input_panel_language_set(Evas_Object *obj, const char *part, Edje_Input_Panel_Lang lang); /** * @brief Gets the language mode of the input panel. @@ -2605,7 +2605,7 @@ EAPI void edje_object_part_text_input_panel_language_set(Evas_Object *obj, const * * @ingroup Edje_Object_Part */ -EAPI Edje_Input_Panel_Lang edje_object_part_text_input_panel_language_get(const Evas_Object *obj, const char *part); +EDJE_API Edje_Input_Panel_Lang edje_object_part_text_input_panel_language_get(const Evas_Object *obj, const char *part); /** * @brief Sets the layout variation of the input panel. @@ -2622,7 +2622,7 @@ EAPI Edje_Input_Panel_Lang edje_object_part_text_input_panel_language_get(const * * @ingroup Edje_Object_Part */ -EAPI void edje_object_part_text_input_panel_layout_variation_set(Evas_Object *obj, const char *part, int variation); +EDJE_API void edje_object_part_text_input_panel_layout_variation_set(Evas_Object *obj, const char *part, int variation); /** * @brief Gets the layout variation of the input panel. @@ -2637,7 +2637,7 @@ EAPI void edje_object_part_text_input_panel_layout_variation_set(Evas_Object *ob * * @ingroup Edje_Object_Part */ -EAPI int edje_object_part_text_input_panel_layout_variation_get(const Evas_Object *obj, const char *part); +EDJE_API int edje_object_part_text_input_panel_layout_variation_get(const Evas_Object *obj, const char *part); /** * @brief Sets the attribute to show the input panel automatically. @@ -2650,7 +2650,7 @@ EAPI int edje_object_part_text_input_panel_layout_variation_get(const Evas_Objec * * @ingroup Edje_Object_Part */ -EAPI void edje_object_part_text_input_panel_enabled_set(Evas_Object *obj, const char *part, Eina_Bool enabled); +EDJE_API void edje_object_part_text_input_panel_enabled_set(Evas_Object *obj, const char *part, Eina_Bool enabled); /** * @brief Retrieves the attribute to show the input panel automatically. See @@ -2665,7 +2665,7 @@ EAPI void edje_object_part_text_input_panel_enabled_set(Evas_Object *obj, const * * @ingroup Edje_Object_Part */ -EAPI Eina_Bool edje_object_part_text_input_panel_enabled_get(const Evas_Object *obj, const char *part); +EDJE_API Eina_Bool edje_object_part_text_input_panel_enabled_get(const Evas_Object *obj, const char *part); /** * @brief Sets the return key on the input panel to be disabled. @@ -2677,7 +2677,7 @@ EAPI Eina_Bool edje_object_part_text_input_panel_enabled_get(const Evas_Object * * * @ingroup Edje_Object_Part */ -EAPI void edje_object_part_text_input_panel_return_key_disabled_set(Evas_Object *obj, const char *part, Eina_Bool disabled); +EDJE_API void edje_object_part_text_input_panel_return_key_disabled_set(Evas_Object *obj, const char *part, Eina_Bool disabled); /** * @brief Gets whether the return key on the input panel should be disabled or @@ -2691,7 +2691,7 @@ EAPI void edje_object_part_text_input_panel_return_key_disabled_set(Evas_Object * * @ingroup Edje_Object_Part */ -EAPI Eina_Bool edje_object_part_text_input_panel_return_key_disabled_get(const Evas_Object *obj, const char *part); +EDJE_API Eina_Bool edje_object_part_text_input_panel_return_key_disabled_get(const Evas_Object *obj, const char *part); /** * @brief Sets the "return" key type. This type is used to set string or icon @@ -2706,7 +2706,7 @@ EAPI Eina_Bool edje_object_part_text_input_panel_return_key_disabled_get(const E * * @ingroup Edje_Object_Part */ -EAPI void edje_object_part_text_input_panel_return_key_type_set(Evas_Object *obj, const char *part, Edje_Input_Panel_Return_Key_Type return_key_type); +EDJE_API void edje_object_part_text_input_panel_return_key_type_set(Evas_Object *obj, const char *part, Edje_Input_Panel_Return_Key_Type return_key_type); /** * @brief Gets the "return" key type. @@ -2722,7 +2722,7 @@ EAPI void edje_object_part_text_input_panel_return_key_type_set(Evas_Object *obj * * @ingroup Edje_Object_Part */ -EAPI Edje_Input_Panel_Return_Key_Type edje_object_part_text_input_panel_return_key_type_get(const Evas_Object *obj, const char *part); +EDJE_API Edje_Input_Panel_Return_Key_Type edje_object_part_text_input_panel_return_key_type_get(const Evas_Object *obj, const char *part); /** * @brief Sets the attribute to show the input panel in case of only a user's @@ -2737,7 +2737,7 @@ EAPI Edje_Input_Panel_Return_Key_Type edje_object_part_text_input_panel_return_k * * @ingroup Edje_Object_Part */ -EAPI void edje_object_part_text_input_panel_show_on_demand_set(Evas_Object *obj, const char *part, Eina_Bool ondemand); +EDJE_API void edje_object_part_text_input_panel_show_on_demand_set(Evas_Object *obj, const char *part, Eina_Bool ondemand); /** * @brief Gets the attribute to show the input panel in case of only a user's @@ -2752,7 +2752,7 @@ EAPI void edje_object_part_text_input_panel_show_on_demand_set(Evas_Object *obj, * * @ingroup Edje_Object_Part */ -EAPI Eina_Bool edje_object_part_text_input_panel_show_on_demand_get(const Evas_Object *obj, const char *part); +EDJE_API Eina_Bool edje_object_part_text_input_panel_show_on_demand_get(const Evas_Object *obj, const char *part); /** * @brief Sets the prediction hint to use an intelligent reply suggestion @@ -2765,7 +2765,7 @@ EAPI Eina_Bool edje_object_part_text_input_panel_show_on_demand_get(const Evas_O * * @ingroup Edje_Object_Part */ -EAPI void edje_object_part_text_prediction_hint_set(Evas_Object *obj, const char *part, const char *prediction_hint); +EDJE_API void edje_object_part_text_prediction_hint_set(Evas_Object *obj, const char *part, const char *prediction_hint); /** * @brief Sets the prediction hint data at the specified key. @@ -2780,7 +2780,7 @@ EAPI void edje_object_part_text_prediction_hint_set(Evas_Object *obj, const char * * @ingroup Edje_Object_Part */ -EAPI Eina_Bool edje_object_part_text_prediction_hint_hash_set(Evas_Object *obj, const char *part, const char *key, const char *value); +EDJE_API Eina_Bool edje_object_part_text_prediction_hint_hash_set(Evas_Object *obj, const char *part, const char *key, const char *value); /** * @brief Removes the prediction hint data identified by a key @@ -2794,7 +2794,7 @@ EAPI Eina_Bool edje_object_part_text_prediction_hint_hash_set(Evas_Object *obj, * * @ingroup Edje_Object_Part */ -EAPI Eina_Bool edje_object_part_text_prediction_hint_hash_del(Evas_Object *obj, const char *part, const char *key); +EDJE_API Eina_Bool edje_object_part_text_prediction_hint_hash_del(Evas_Object *obj, const char *part, const char *key); /** * @brief Starts selecting at current cursor position @@ -2803,7 +2803,7 @@ EAPI Eina_Bool edje_object_part_text_prediction_hint_hash_del(Evas_Object *obj, * * @ingroup Edje_Object_Part */ -EAPI void edje_object_part_text_select_begin(const Evas_Object *obj, const char *part); +EDJE_API void edje_object_part_text_select_begin(const Evas_Object *obj, const char *part); /** * @brief Aborts any selection action on a part. @@ -2812,7 +2812,7 @@ EAPI void edje_object_part_text_select_begin(const Evas_Object *obj, const char * * @ingroup Edje_Object_Part */ -EAPI void edje_object_part_text_select_abort(const Evas_Object *obj, const char *part); +EDJE_API void edje_object_part_text_select_abort(const Evas_Object *obj, const char *part); /** * @brief Extends the current selection to the current cursor position @@ -2821,7 +2821,7 @@ EAPI void edje_object_part_text_select_abort(const Evas_Object *obj, const char * * @ingroup Edje_Object_Part */ -EAPI void edje_object_part_text_select_extend(const Evas_Object *obj, const char *part); +EDJE_API void edje_object_part_text_select_extend(const Evas_Object *obj, const char *part); /** * @brief Sets the selection to be everything. @@ -2832,7 +2832,7 @@ EAPI void edje_object_part_text_select_extend(const Evas_Object *obj, const char * * @ingroup Edje_Object_Part */ -EAPI void edje_object_part_text_select_all(const Evas_Object *obj, const char *part); +EDJE_API void edje_object_part_text_select_all(const Evas_Object *obj, const char *part); /** * @brief Sets the selection to be none. @@ -2843,7 +2843,7 @@ EAPI void edje_object_part_text_select_all(const Evas_Object *obj, const char *p * * @ingroup Edje_Object_Part */ -EAPI void edje_object_part_text_select_none(const Evas_Object *obj, const char *part); +EDJE_API void edje_object_part_text_select_none(const Evas_Object *obj, const char *part); /** * @brief Returns the selection text of the object part. @@ -2859,7 +2859,7 @@ EAPI void edje_object_part_text_select_none(const Evas_Object *obj, const char * * * @ingroup Edje_Object_Part */ -EAPI const char *edje_object_part_text_selection_get(const Evas_Object *obj, const char *part); +EDJE_API const char *edje_object_part_text_selection_get(const Evas_Object *obj, const char *part); /** * @brief Whether this object is playing or not. @@ -2881,7 +2881,7 @@ EAPI const char *edje_object_part_text_selection_get(const Evas_Object *obj, con * * @ingroup Edje_Object_Group */ -EAPI void edje_object_play_set(Evas_Object *obj, Eina_Bool play); +EDJE_API void edje_object_play_set(Evas_Object *obj, Eina_Bool play); /** * @brief Whether this object is playing or not. @@ -2903,7 +2903,7 @@ EAPI void edje_object_play_set(Evas_Object *obj, Eina_Bool play); * * @ingroup Edje_Object_Group */ -EAPI Eina_Bool edje_object_play_get(const Evas_Object *obj); +EDJE_API Eina_Bool edje_object_play_get(const Evas_Object *obj); /** * @brief Transition duration factor. @@ -2918,7 +2918,7 @@ EAPI Eina_Bool edje_object_play_get(const Evas_Object *obj); * * @ingroup Edje_Object_Group */ -EAPI void edje_object_transition_duration_factor_set(Evas_Object *obj, double scale); +EDJE_API void edje_object_transition_duration_factor_set(Evas_Object *obj, double scale); /** * @brief Transition duration factor. @@ -2933,7 +2933,7 @@ EAPI void edje_object_transition_duration_factor_set(Evas_Object *obj, double sc * * @ingroup Edje_Object_Group */ -EAPI double edje_object_transition_duration_factor_get(const Evas_Object *obj); +EDJE_API double edje_object_transition_duration_factor_get(const Evas_Object *obj); /** * @brief Gets the minimum size specified -- as an EDC property -- for a given @@ -2955,7 +2955,7 @@ EAPI double edje_object_transition_duration_factor_get(const Evas_Object *obj); * * @ingroup Edje_Object_Group */ -EAPI void edje_object_size_min_get(const Evas_Object *obj, int *minw, int *minh); +EDJE_API void edje_object_size_min_get(const Evas_Object *obj, int *minw, int *minh); /** * @brief Gets the maximum size specified -- as an EDC property -- for a given @@ -2977,7 +2977,7 @@ EAPI void edje_object_size_min_get(const Evas_Object *obj, int *minw, int *minh) * * @ingroup Edje_Object_Group */ -EAPI void edje_object_size_max_get(const Evas_Object *obj, int *maxw, int *maxh); +EDJE_API void edje_object_size_max_get(const Evas_Object *obj, int *maxw, int *maxh); /** * @brief Checks if a part exists in a given Edje object's group definition. @@ -2995,7 +2995,7 @@ EAPI void edje_object_size_max_get(const Evas_Object *obj, int *maxw, int *maxh) * * @ingroup Edje_Object_Part */ -EAPI Eina_Bool edje_object_part_exists(const Evas_Object *obj, const char *part); +EDJE_API Eina_Bool edje_object_part_exists(const Evas_Object *obj, const char *part); /** * @brief Sets the function that provides item objects for named items in an @@ -3011,7 +3011,7 @@ EAPI Eina_Bool edje_object_part_exists(const Evas_Object *obj, const char *part) * * @ingroup Edje_Object_Group */ -EAPI void edje_object_item_provider_set(Edje_Object *obj, Edje_Item_Provider_Cb func, void *data); +EDJE_API void edje_object_item_provider_set(Edje_Object *obj, Edje_Item_Provider_Cb func, void *data); /** @@ -3025,7 +3025,7 @@ EAPI void edje_object_item_provider_set(Edje_Object *obj, Edje_Item_Provider_Cb * * @ingroup Edje_Object_Color_Class */ -EAPI const char *edje_object_color_class_description_get(const Edje_Object *obj, const char * color_class); +EDJE_API const char *edje_object_color_class_description_get(const Edje_Object *obj, const char * color_class); /** * @defgroup Edje_Perspective Edje Perspective @@ -3048,7 +3048,7 @@ EAPI const char *edje_object_color_class_description_get(const Edje_Object *obj, * @see edje_perspective_set() * @see edje_perspective_free() */ -EAPI Edje_Perspective *edje_perspective_new (Evas *e); +EDJE_API Edje_Perspective *edje_perspective_new (Evas *e); /** * @brief Deletes the given perspective object. * @@ -3060,7 +3060,7 @@ EAPI Edje_Perspective *edje_perspective_new (Evas *e); * * @see edje_perspective_new() */ -EAPI void edje_perspective_free (Edje_Perspective *ps); +EDJE_API void edje_perspective_free (Edje_Perspective *ps); /** * @brief Sets up the transform for this perspective object. * @@ -3083,7 +3083,7 @@ EAPI void edje_perspective_free (Edje_Perspective * * @param z0 The "0" z plane value * @param foc The focal distance */ -EAPI void edje_perspective_set (Edje_Perspective *ps, Evas_Coord px, Evas_Coord py, Evas_Coord z0, Evas_Coord foc); +EDJE_API void edje_perspective_set (Edje_Perspective *ps, Evas_Coord px, Evas_Coord py, Evas_Coord z0, Evas_Coord foc); /** * @brief Makes this perspective object be global for its canvas. * @@ -3107,7 +3107,7 @@ EAPI void edje_perspective_set (Edje_Perspective * * @see edje_perspective_global_get() * @see edje_perspective_new() */ -EAPI void edje_perspective_global_set (Edje_Perspective *ps, Eina_Bool global); +EDJE_API void edje_perspective_global_set (Edje_Perspective *ps, Eina_Bool global); /** * @brief Gets whether the given perspective object is global or not. * @@ -3117,7 +3117,7 @@ EAPI void edje_perspective_global_set (Edje_Perspective * * * @see edje_perspective_global_set() */ -EAPI Eina_Bool edje_perspective_global_get (const Edje_Perspective *ps); +EDJE_API Eina_Bool edje_perspective_global_get (const Edje_Perspective *ps); /** * @brief Gets the global perspective object set for this canvas. * @@ -3131,7 +3131,7 @@ EAPI Eina_Bool edje_perspective_global_get (const Edje_Perspec * @see edje_perspective_global_set() * @see edje_perspective_global_get() */ -EAPI const Edje_Perspective *edje_evas_global_perspective_get(const Evas *e); +EDJE_API const Edje_Perspective *edje_evas_global_perspective_get(const Evas *e); /** * @brief Sets the given perspective object on this Edje object. @@ -3151,7 +3151,7 @@ EAPI const Edje_Perspective *edje_evas_global_perspective_get(const Evas *e); * @param[in] obj The object. * @param[in] ps The perspective object that will be used. */ -EAPI void edje_object_perspective_set(Evas_Object *obj, Edje_Perspective *ps); +EDJE_API void edje_object_perspective_set(Evas_Object *obj, Edje_Perspective *ps); /** * @brief Gets the current perspective used on this Edje object. @@ -3162,7 +3162,7 @@ EAPI void edje_object_perspective_set(Evas_Object *obj, Edje_Perspective *ps); * * @return The perspective object that will be used. */ -EAPI const Edje_Perspective *edje_object_perspective_get(const Evas_Object *obj); +EDJE_API const Edje_Perspective *edje_object_perspective_get(const Evas_Object *obj); /** * @} @@ -3184,7 +3184,7 @@ EAPI const Edje_Perspective *edje_object_perspective_get(const Evas_Object *obj) * @ingroup Edje_Object_Text_Class * */ -EAPI Eina_Bool edje_file_text_class_set(const char *file, const char *text_class, const char *font, Evas_Font_Size size); +EDJE_API Eina_Bool edje_file_text_class_set(const char *file, const char *text_class, const char *font, Evas_Font_Size size); /** * @brief Delete the file text class. @@ -3197,7 +3197,7 @@ EAPI Eina_Bool edje_file_text_class_set(const char *file, const char *text_class * @ingroup Edje_Object_Text_Class * */ -EAPI Eina_Bool edje_file_text_class_del(const char *file, const char *text_class); +EDJE_API Eina_Bool edje_file_text_class_del(const char *file, const char *text_class); /** * @brief Gets font and font size from edje file if loaded. @@ -3213,7 +3213,7 @@ EAPI Eina_Bool edje_file_text_class_del(const char *file, const char *text_class * @ingroup Edje_Object_Text_Class * */ -EAPI Eina_Bool edje_file_text_class_get(const char *file, const char * text_class, const char **font, Evas_Font_Size *size); +EDJE_API Eina_Bool edje_file_text_class_get(const char *file, const char * text_class, const char **font, Evas_Font_Size *size); /** diff --git a/src/lib/edje/Efl_Layout.h b/src/lib/edje/Efl_Layout.h index 6bc6696b69..e86454aa2b 100644 --- a/src/lib/edje/Efl_Layout.h +++ b/src/lib/edje/Efl_Layout.h @@ -11,35 +11,7 @@ #include <Efl_Canvas.h> -#ifdef EAPI -# undef EAPI -#endif - -#ifdef _WIN32 -# ifdef EFL_BUILD -# ifdef DLL_EXPORT -# define EAPI __declspec(dllexport) -# else -# define EAPI -# endif -# else -# define EAPI __declspec(dllimport) -# endif -# define EAPI_WEAK -#else -# ifdef __GNUC__ -# if __GNUC__ >= 4 -# define EAPI __attribute__ ((visibility("default"))) -# define EAPI_WEAK __attribute__ ((weak)) -# else -# define EAPI -# define EAPI_WEAK -# endif -# else -# define EAPI -# define EAPI_WEAK -# endif -#endif +#include <edje_api.h> #ifdef __cplusplus extern "C" { @@ -64,6 +36,4 @@ extern "C" { } #endif -#undef EAPI - #endif diff --git a/src/lib/edje/edje_api.h b/src/lib/edje/edje_api.h new file mode 100644 index 0000000000..180c4588c0 --- /dev/null +++ b/src/lib/edje/edje_api.h @@ -0,0 +1,34 @@ +#ifndef _EFL_EDJE_API_H +#define _EFL_EDJE_API_H + +#ifdef EDJE_API +#error EDJE_API should not be already defined +#endif + +#ifdef _WIN32 +# ifndef EDJE_STATIC +# ifdef EDJE_BUILD +# define EDJE_API __declspec(dllexport) +# else +# define EDJE_API __declspec(dllimport) +# endif +# else +# define EDJE_API +# endif +# define EDJE_API_WEAK +#else +# ifdef __GNUC__ +# if __GNUC__ >= 4 +# define EDJE_API __attribute__ ((visibility("default"))) +# define EDJE_API_WEAK __attribute__ ((weak)) +# else +# define EDJE_API +# define EDJE_API_WEAK +# endif +# else +# define EDJE_API +# define EDJE_API_WEAK +# endif +#endif + +#endif diff --git a/src/lib/edje/edje_cache.c b/src/lib/edje/edje_cache.c index 8afe284e7a..9cfa52729a 100644 --- a/src/lib/edje/edje_cache.c +++ b/src/lib/edje/edje_cache.c @@ -9,7 +9,7 @@ static Eina_List *_edje_file_cache = NULL; static int _edje_collection_cache_size = 16; -EAPI void +EDJE_API void edje_cache_emp_alloc(Edje_Part_Collection_Directory_Entry *ce) { /* Init Eina Mempools this is also used in edje_pick.c */ @@ -44,7 +44,7 @@ edje_cache_emp_alloc(Edje_Part_Collection_Directory_Entry *ce) INIT_EMP(part, Edje_Part, ce); } -EAPI void +EDJE_API void edje_cache_emp_free(Edje_Part_Collection_Directory_Entry *ce) { /* Free Eina Mempools this is also used in edje_pick.c */ /* Destroy all part and description. */ @@ -850,7 +850,7 @@ _edje_cache_file_clean(void) } } -EAPI void +EDJE_API void _edje_cache_file_unref(Edje_File *edf) { edf->references--; @@ -915,7 +915,7 @@ _edje_file_cache_shutdown(void) * API * *============================================================================*/ -EAPI void +EDJE_API void edje_file_cache_set(int count) { if (count < 0) count = 0; @@ -923,13 +923,13 @@ edje_file_cache_set(int count) _edje_cache_file_clean(); } -EAPI int +EDJE_API int edje_file_cache_get(void) { return _edje_file_cache_size; } -EAPI void +EDJE_API void edje_file_cache_flush(void) { int ps; @@ -940,7 +940,7 @@ edje_file_cache_flush(void) _edje_file_cache_size = ps; } -EAPI void +EDJE_API void edje_collection_cache_set(int count) { Eina_List *l; @@ -953,13 +953,13 @@ edje_collection_cache_set(int count) /* FIXME: freach in file hash too! */ } -EAPI int +EDJE_API int edje_collection_cache_get(void) { return _edje_collection_cache_size; } -EAPI void +EDJE_API void edje_collection_cache_flush(void) { int ps; diff --git a/src/lib/edje/edje_data.c b/src/lib/edje/edje_data.c index a4b3f90a94..020393246d 100644 --- a/src/lib/edje/edje_data.c +++ b/src/lib/edje/edje_data.c @@ -1,7 +1,7 @@ #include "edje_private.h" -EAPI Eet_Data_Descriptor * _edje_edd_edje_file = NULL; -EAPI Eet_Data_Descriptor * _edje_edd_edje_part_collection = NULL; +EDJE_API Eet_Data_Descriptor * _edje_edd_edje_file = NULL; +EDJE_API Eet_Data_Descriptor * _edje_edd_edje_part_collection = NULL; Eet_Data_Descriptor *_edje_edd_edje_string = NULL; Eet_Data_Descriptor *_edje_edd_edje_style = NULL; @@ -86,7 +86,7 @@ Eet_Data_Descriptor *_edje_edd_edje_part_description_vector_pointer = NULL; * edje files. */ #define EMP(Type, Minus) \ - EAPI Eina_Mempool *_emp_##Type = NULL; \ + EDJE_API Eina_Mempool *_emp_##Type = NULL; \ \ static void * \ mem_alloc_##Minus(size_t size) \ @@ -122,7 +122,7 @@ EMP(SNAPSHOT, snapshot) EMP(VECTOR, vector) #undef EMP -EAPI Eina_Mempool *_emp_part = NULL; +EDJE_API Eina_Mempool *_emp_part = NULL; static void * mem_alloc_part(size_t size) @@ -227,8 +227,8 @@ _edje_eina_hash_add_alloc(Eina_Hash *hash, return hash; } -// FIXME: remove EAPI when edje_convert goes -EAPI void +// FIXME: remove EDJE_API when edje_convert goes +EDJE_API void _edje_edd_shutdown(void) { FREED(_edje_edd_edje_string); @@ -326,8 +326,8 @@ _edje_edd_shutdown(void) EET_DATA_DESCRIPTOR_ADD_SUB(_edje_edd_edje_##Name##_pointer, Edje_##Type##_Pointer, "pointer", pointer, _edje_edd_edje_##Name); \ } -// FIXME: remove EAPI when edje_convert goes -EAPI void +// FIXME: remove EDJE_API when edje_convert goes +EDJE_API void _edje_edd_init(void) { Eet_Data_Descriptor_Class eddc; @@ -1318,7 +1318,7 @@ _edje_edd_init(void) EET_DATA_DESCRIPTOR_ADD_BASIC(_edje_edd_edje_part_collection, Edje_Part_Collection, "use_custom_seat_names", use_custom_seat_names, EET_T_UCHAR); } -EAPI void +EDJE_API void _edje_data_font_list_desc_make(Eet_Data_Descriptor **_font_list_edd, Eet_Data_Descriptor **_font_edd) { /* User have to free: _font_list_edd, _font_edd */ diff --git a/src/lib/edje/edje_edit.c b/src/lib/edje/edje_edit.c index 4ee1f03580..cbac30cbb4 100644 --- a/src/lib/edje/edje_edit.c +++ b/src/lib/edje/edje_edit.c @@ -27,9 +27,9 @@ #define MY_CLASS EDJE_EDIT_CLASS -EAPI Eina_Error EDJE_EDIT_ERROR_GROUP_CURRENTLY_USED = 0; -EAPI Eina_Error EDJE_EDIT_ERROR_GROUP_REFERENCED = 0; -EAPI Eina_Error EDJE_EDIT_ERROR_GROUP_DOES_NOT_EXIST = 0; +EDJE_API Eina_Error EDJE_EDIT_ERROR_GROUP_CURRENTLY_USED = 0; +EDJE_API Eina_Error EDJE_EDIT_ERROR_GROUP_REFERENCED = 0; +EDJE_API Eina_Error EDJE_EDIT_ERROR_GROUP_DOES_NOT_EXIST = 0; /* Get eed(Edje_Edit*) from obj(Evas_Object*) */ #define GET_EED_OR_RETURN(RET) \ @@ -276,7 +276,7 @@ _edje_edit_efl_file_unload(Eo *obj, Edje_Edit *eed) _edje_edit_data_clean(eed); } -EAPI Evas_Object * +EDJE_API Evas_Object * edje_edit_object_add(Evas *evas) { evas = evas_find(evas); @@ -1052,7 +1052,7 @@ _edje_edit_flag_script_dirty(Edje_Edit *eed, Eina_Bool all) /* GENERAL API */ /*****************/ -EAPI void +EDJE_API void edje_edit_string_list_free(Eina_List *lst) { //printf("FREE LIST: \n"); @@ -1064,13 +1064,13 @@ edje_edit_string_list_free(Eina_List *lst) } } -EAPI void +EDJE_API void edje_edit_string_free(const char *str) { if (str) eina_stringshare_del(str); } -EAPI const char * +EDJE_API const char * edje_edit_compiler_get(Evas_Object *obj) { GET_ED_OR_RETURN(0); @@ -1081,7 +1081,7 @@ edje_edit_compiler_get(Evas_Object *obj) /* SOUNDS API */ /****************/ -EAPI Eina_List * +EDJE_API Eina_List * edje_edit_sound_samples_list_get(Evas_Object *obj) { Eina_List *sounds_samples = NULL; @@ -1099,7 +1099,7 @@ edje_edit_sound_samples_list_get(Evas_Object *obj) return sounds_samples; } -EAPI Eina_List * +EDJE_API Eina_List * edje_edit_sound_tones_list_get(Evas_Object *obj) { Eina_List *sounds_tones = NULL; @@ -1214,7 +1214,7 @@ _initialize_sound_dir(Edje *ed) if (i == ed->file->sound_dir->tones_count) _tone_p = NULL; \ } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_sound_sample_add(Evas_Object *obj, const char *name, const char *snd_src) { if (!name) return EINA_FALSE; @@ -1273,7 +1273,7 @@ edje_edit_sound_sample_add(Evas_Object *obj, const char *name, const char *snd_s return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_sound_sample_del(Evas_Object *obj, const char *name) { Edje_Sound_Sample *sound_sample = NULL; @@ -1357,7 +1357,7 @@ edje_edit_sound_sample_del(Evas_Object *obj, const char *name) return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_sound_tone_add(Evas_Object *obj, const char *name, int frequency) { if (!name) return EINA_FALSE; @@ -1401,7 +1401,7 @@ edje_edit_sound_tone_add(Evas_Object *obj, const char *name, int frequency) return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_sound_tone_del(Evas_Object *obj, const char *name) { GET_ED_OR_RETURN(EINA_FALSE); @@ -1467,7 +1467,7 @@ edje_edit_sound_tone_del(Evas_Object *obj, const char *name) return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_sound_tone_frequency_set(Evas_Object *obj, const char *name, int frequency) { Edje_Sound_Tone *tone; @@ -1482,7 +1482,7 @@ edje_edit_sound_tone_frequency_set(Evas_Object *obj, const char *name, int frequ return EINA_FALSE; } -EAPI int +EDJE_API int edje_edit_sound_tone_frequency_get(Evas_Object *obj, const char *name) { Edje_Sound_Tone *tone; @@ -1493,7 +1493,7 @@ edje_edit_sound_tone_frequency_get(Evas_Object *obj, const char *name) return -1; } -EAPI double +EDJE_API double edje_edit_sound_compression_rate_get(Evas_Object *obj, const char *sound) { Edje_Sound_Sample *ss = NULL; @@ -1517,7 +1517,7 @@ edje_edit_sound_compression_rate_get(Evas_Object *obj, const char *sound) return ss->quality; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_sound_compression_rate_set(Evas_Object *obj, const char *sound, double rate) { Edje_Sound_Sample *ss = NULL; @@ -1544,7 +1544,7 @@ edje_edit_sound_compression_rate_set(Evas_Object *obj, const char *sound, double #undef GET_TONE_BY_NAME -EAPI Edje_Edit_Sound_Comp +EDJE_API Edje_Edit_Sound_Comp edje_edit_sound_compression_type_get(Evas_Object *obj, const char *sound) { Edje_Sound_Sample *ss = NULL; @@ -1568,7 +1568,7 @@ edje_edit_sound_compression_type_get(Evas_Object *obj, const char *sound) return (Edje_Edit_Sound_Comp)ss->compression; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_sound_compression_type_set(Evas_Object *obj, const char *sound, Edje_Edit_Sound_Comp sc) { Edje_Sound_Sample *ss = NULL; @@ -1596,7 +1596,7 @@ edje_edit_sound_compression_type_set(Evas_Object *obj, const char *sound, Edje_E return EINA_TRUE; } -EAPI Eina_Binbuf * +EDJE_API Eina_Binbuf * edje_edit_sound_samplebuffer_get(Evas_Object *obj, const char *sample_name) { Eet_File *ef; @@ -1639,7 +1639,7 @@ edje_edit_sound_samplebuffer_get(Evas_Object *obj, const char *sample_name) return NULL; } -EAPI const char * +EDJE_API const char * edje_edit_sound_samplesource_get(Evas_Object *obj, const char *sample_name) { Edje_Sound_Sample *sample; @@ -1709,7 +1709,7 @@ _mempools_add(Edje_Part_Collection_Directory_Entry *de) EDIT_EMNP(SNAPSHOT, Edje_Part_Description_Snapshot, de); } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_group_copy(Evas_Object *obj, const char *group_name, const char *copy_name) { Edje_Part_Collection_Directory_Entry *e; @@ -1830,7 +1830,7 @@ edje_edit_group_copy(Evas_Object *obj, const char *group_name, const char *copy_ return save_status; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_group_add(Evas_Object *obj, const char *name) { Edje_Part_Collection_Directory_Entry *de; @@ -1911,7 +1911,7 @@ edje_edit_group_add(Evas_Object *obj, const char *name) return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_group_del(Evas_Object *obj, const char *group_name) { Edje_Part_Collection_Directory_Entry *e, *e_del; @@ -1990,7 +1990,7 @@ edje_edit_group_del(Evas_Object *obj, const char *group_name) return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_group_exist(Evas_Object *obj, const char *group) { GET_ED_OR_RETURN(EINA_FALSE); @@ -2000,7 +2000,7 @@ edje_edit_group_exist(Evas_Object *obj, const char *group) return EINA_FALSE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_group_name_set(Evas_Object *obj, const char *new_name) { Edje_Part_Collection_Directory_Entry *pce; @@ -2034,14 +2034,14 @@ edje_edit_group_name_set(Evas_Object *obj, const char *new_name) } #define FUNC_GROUP_ACCESSOR(Class, Value) \ - EAPI int \ + EDJE_API int \ edje_edit_group_##Class##_##Value##_get(Evas_Object * obj) \ { \ GET_ED_OR_RETURN(-1); \ if (!ed->collection) return -1; \ return ed->collection->prop.Class.Value; \ } \ - EAPI Eina_Bool \ + EDJE_API Eina_Bool \ edje_edit_group_##Class##_##Value##_set(Evas_Object * obj, int v) \ { \ GET_ED_OR_RETURN(EINA_FALSE); \ @@ -2056,7 +2056,7 @@ FUNC_GROUP_ACCESSOR(min, h); FUNC_GROUP_ACCESSOR(max, w); FUNC_GROUP_ACCESSOR(max, h); -EAPI unsigned char +EDJE_API unsigned char edje_edit_group_orientation_get(Evas_Object *obj) { GET_ED_OR_RETURN(-1); @@ -2064,7 +2064,7 @@ edje_edit_group_orientation_get(Evas_Object *obj) return ed->collection->prop.orientation; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_group_orientation_set(Evas_Object *obj, unsigned char orient) { GET_ED_OR_RETURN(EINA_FALSE); @@ -2074,7 +2074,7 @@ edje_edit_group_orientation_set(Evas_Object *obj, unsigned char orient) return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_group_broadcast_signal_get(Evas_Object *obj) { GET_ED_OR_RETURN(EINA_TRUE); @@ -2082,7 +2082,7 @@ edje_edit_group_broadcast_signal_get(Evas_Object *obj) return ed->collection->broadcast_signal; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_group_broadcast_signal_set(Evas_Object *obj, Eina_Bool bs) { GET_ED_OR_RETURN(EINA_FALSE); @@ -2092,7 +2092,7 @@ edje_edit_group_broadcast_signal_set(Evas_Object *obj, Eina_Bool bs) } #define LIMITS(TYPE) \ - EAPI Eina_List * \ + EDJE_API Eina_List * \ edje_edit_group_limits_##TYPE##_list_get(Evas_Object * obj) \ { \ Eina_List *limits = NULL; \ @@ -2114,7 +2114,7 @@ edje_edit_group_broadcast_signal_set(Evas_Object *obj, Eina_Bool bs) return limits; \ } \ \ - EAPI Eina_Bool \ + EDJE_API Eina_Bool \ edje_edit_group_limits_##TYPE##_del(Evas_Object * obj, const char *name, int value) \ { \ unsigned int i; \ @@ -2147,7 +2147,7 @@ edje_edit_group_broadcast_signal_set(Evas_Object *obj, Eina_Bool bs) return EINA_FALSE; \ } \ \ - EAPI Eina_Bool \ + EDJE_API Eina_Bool \ edje_edit_group_limits_##TYPE##_add(Evas_Object * obj, const char *name, int value) \ { \ unsigned int i; \ @@ -2176,7 +2176,7 @@ edje_edit_group_broadcast_signal_set(Evas_Object *obj, Eina_Bool bs) LIMITS(vertical); LIMITS(horizontal); -EAPI void +EDJE_API void edje_edit_limits_list_free(Eina_List *list) { Edje_Edit_Limit *lim = eina_list_data_get(list); @@ -2190,7 +2190,7 @@ edje_edit_limits_list_free(Eina_List *list) /* ALIAS API */ /****************/ -EAPI Eina_List * +EDJE_API Eina_List * edje_edit_group_aliases_get(Evas_Object *obj, const char *group_name) { Eina_Iterator *i; @@ -2216,7 +2216,7 @@ edje_edit_group_aliases_get(Evas_Object *obj, const char *group_name) return alias_list; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_group_alias_is(Evas_Object *obj, const char *alias_name) { Edje_Part_Collection_Directory_Entry *e; @@ -2231,7 +2231,7 @@ edje_edit_group_alias_is(Evas_Object *obj, const char *alias_name) return e->group_alias; } -EAPI const char * +EDJE_API const char * edje_edit_group_aliased_get(Evas_Object *obj, const char *alias_name) { Eina_Iterator *i; @@ -2261,7 +2261,7 @@ edje_edit_group_aliased_get(Evas_Object *obj, const char *alias_name) return eina_stringshare_add(group_name); } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_group_alias_add(Evas_Object *obj, const char *group_name, const char *alias_name) { Edje_Part_Collection_Directory_Entry *e; @@ -2302,7 +2302,7 @@ edje_edit_group_alias_add(Evas_Object *obj, const char *group_name, const char * /* DATA API */ /***************/ -EAPI Eina_List * +EDJE_API Eina_List * edje_edit_group_data_list_get(Evas_Object *obj) { Eina_Iterator *it; @@ -2325,7 +2325,7 @@ edje_edit_group_data_list_get(Evas_Object *obj) return datas; } -EAPI Eina_List * +EDJE_API Eina_List * edje_edit_data_list_get(Evas_Object *obj) { Eina_Iterator *i; @@ -2347,7 +2347,7 @@ edje_edit_data_list_get(Evas_Object *obj) return datas; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_group_data_add(Evas_Object *obj, const char *key, const char *value) { Edje_String *es; @@ -2377,7 +2377,7 @@ edje_edit_group_data_add(Evas_Object *obj, const char *key, const char *value) return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_data_add(Evas_Object *obj, const char *itemname, const char *value) { Edje_String *es; @@ -2407,7 +2407,7 @@ edje_edit_data_add(Evas_Object *obj, const char *itemname, const char *value) return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_group_data_del(Evas_Object *obj, const char *key) { Edje_String *value; @@ -2427,7 +2427,7 @@ edje_edit_group_data_del(Evas_Object *obj, const char *key) return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_data_del(Evas_Object *obj, const char *itemname) { Edje_String *value; @@ -2448,7 +2448,7 @@ edje_edit_data_del(Evas_Object *obj, const char *itemname) return EINA_TRUE; } -EAPI const char * +EDJE_API const char * edje_edit_group_data_value_get(Evas_Object *obj, const char *key) { Edje_String *value; @@ -2465,7 +2465,7 @@ edje_edit_group_data_value_get(Evas_Object *obj, const char *key) return eina_stringshare_add(edje_string_get(value)); } -EAPI const char * +EDJE_API const char * edje_edit_data_value_get(Evas_Object *obj, const char *itemname) { Edje_String *value; @@ -2482,7 +2482,7 @@ edje_edit_data_value_get(Evas_Object *obj, const char *itemname) return eina_stringshare_add(edje_string_get(value)); } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_group_data_value_set(Evas_Object *obj, const char *key, const char *value) { Edje_String *es; @@ -2503,7 +2503,7 @@ edje_edit_group_data_value_set(Evas_Object *obj, const char *key, const char *va return EINA_FALSE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_data_value_set(Evas_Object *obj, const char *itemname, const char *value) { Edje_String *es; @@ -2523,7 +2523,7 @@ edje_edit_data_value_set(Evas_Object *obj, const char *itemname, const char *val return EINA_FALSE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_group_data_name_set(Evas_Object *obj, const char *key, const char *new_key) { GET_ED_OR_RETURN(EINA_FALSE); @@ -2536,7 +2536,7 @@ edje_edit_group_data_name_set(Evas_Object *obj, const char *key, const char *new return eina_hash_move(ed->collection->data, key, new_key); } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_data_name_set(Evas_Object *obj, const char *itemname, const char *newname) { GET_ED_OR_RETURN(EINA_FALSE); @@ -2551,7 +2551,7 @@ edje_edit_data_name_set(Evas_Object *obj, const char *itemname, const char *newn /* COLOR CLASSES API */ /***********************/ -EAPI Eina_List * +EDJE_API Eina_List * edje_edit_color_classes_list_get(Evas_Object *obj) { Eina_List *classes = NULL; @@ -2569,7 +2569,7 @@ edje_edit_color_classes_list_get(Evas_Object *obj) return classes; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_color_class_colors_get(Evas_Object *obj, const char *class_name, int *r, int *g, int *b, int *a, int *r2, int *g2, int *b2, int *a2, int *r3, int *g3, int *b3, int *a3) { Eina_List *l; @@ -2603,7 +2603,7 @@ edje_edit_color_class_colors_get(Evas_Object *obj, const char *class_name, int * return EINA_FALSE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_color_class_colors_set(Evas_Object *obj, const char *class_name, int r, int g, int b, int a, int r2, int g2, int b2, int a2, int r3, int g3, int b3, int a3) { Eina_List *l; @@ -2637,7 +2637,7 @@ edje_edit_color_class_colors_set(Evas_Object *obj, const char *class_name, int r return EINA_FALSE; } -EAPI Eina_Stringshare * +EDJE_API Eina_Stringshare * edje_edit_color_class_description_get(Evas_Object *obj, const char *class_name) { Eina_List *l; @@ -2654,7 +2654,7 @@ edje_edit_color_class_description_get(Evas_Object *obj, const char *class_name) return NULL; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_color_class_description_set(Evas_Object *obj, const char *class_name, const char *desc) { Eina_List *l; @@ -2674,7 +2674,7 @@ edje_edit_color_class_description_set(Evas_Object *obj, const char *class_name, return EINA_FALSE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_color_class_add(Evas_Object *obj, const char *name) { Eina_List *l; @@ -2703,7 +2703,7 @@ edje_edit_color_class_add(Evas_Object *obj, const char *name) return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_color_class_del(Evas_Object *obj, const char *name) { Eina_List *l; @@ -2725,7 +2725,7 @@ edje_edit_color_class_del(Evas_Object *obj, const char *name) return EINA_FALSE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_color_class_name_set(Evas_Object *obj, const char *name, const char *newname) { Eina_List *l; @@ -2750,7 +2750,7 @@ edje_edit_color_class_name_set(Evas_Object *obj, const char *name, const char *n /* TEXT STYLES API */ /*********************/ -EAPI Eina_List * +EDJE_API Eina_List * edje_edit_styles_list_get(Evas_Object *obj) { Eina_List *styles = NULL; @@ -2768,7 +2768,7 @@ edje_edit_styles_list_get(Evas_Object *obj) return styles; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_style_add(Evas_Object *obj, const char *style) { Edje_Style *s; @@ -2789,7 +2789,7 @@ edje_edit_style_add(Evas_Object *obj, const char *style) return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_style_del(Evas_Object *obj, const char *style) { Edje_Style *s; @@ -2820,7 +2820,7 @@ edje_edit_style_del(Evas_Object *obj, const char *style) return EINA_TRUE; } -EAPI Eina_List * +EDJE_API Eina_List * edje_edit_style_tags_list_get(Evas_Object *obj, const char *style) { Eina_List *tags = NULL; @@ -2841,7 +2841,7 @@ edje_edit_style_tags_list_get(Evas_Object *obj, const char *style) return tags; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_style_tag_name_set(Evas_Object *obj, const char *style, const char *tag, const char *new_name) { Edje_Style_Tag *t; @@ -2857,7 +2857,7 @@ edje_edit_style_tag_name_set(Evas_Object *obj, const char *style, const char *ta return EINA_TRUE; } -EAPI const char * +EDJE_API const char * edje_edit_style_tag_value_get(Evas_Object *obj, const char *style, const char *tag) { Edje_Style_Tag *t; @@ -2875,7 +2875,7 @@ edje_edit_style_tag_value_get(Evas_Object *obj, const char *style, const char *t return NULL; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_style_tag_value_set(Evas_Object *obj, const char *style, const char *tag, const char *new_value) { Edje_Style_Tag *t; @@ -2891,7 +2891,7 @@ edje_edit_style_tag_value_set(Evas_Object *obj, const char *style, const char *t return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_style_tag_add(Evas_Object *obj, const char *style, const char *tag_name) { Edje_Style *s; @@ -2916,7 +2916,7 @@ edje_edit_style_tag_add(Evas_Object *obj, const char *style, const char *tag_nam return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_style_tag_del(Evas_Object *obj, const char *style, const char *tag) { Edje_Style *s; @@ -2944,7 +2944,7 @@ edje_edit_style_tag_del(Evas_Object *obj, const char *style, const char *tag) /* EXTERNALS API */ /*******************/ -EAPI Eina_List * +EDJE_API Eina_List * edje_edit_externals_list_get(Evas_Object *obj) { Eina_List *externals = NULL; @@ -2962,7 +2962,7 @@ edje_edit_externals_list_get(Evas_Object *obj) return externals; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_external_add(Evas_Object *obj, const char *external) { Edje_External_Directory_Entry *e; @@ -3005,7 +3005,7 @@ edje_edit_external_add(Evas_Object *obj, const char *external) return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_external_del(Evas_Object *obj, const char *external) { Edje_External_Directory_Entry *e; @@ -3025,7 +3025,7 @@ edje_edit_external_del(Evas_Object *obj, const char *external) /* PARTS API */ /***************/ -EAPI Edje_Edit_Select_Mode +EDJE_API Edje_Edit_Select_Mode edje_edit_part_select_mode_get(Evas_Object *obj, const char *part) { GET_RP_OR_RETURN(EINA_FALSE); @@ -3036,7 +3036,7 @@ edje_edit_part_select_mode_get(Evas_Object *obj, const char *part) return (Edje_Edit_Select_Mode)rp->part->select_mode; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_select_mode_set(Evas_Object *obj, const char *part, Edje_Edit_Select_Mode mode) { if (mode > EDJE_EDIT_SELECT_MODE_EXPLICIT) @@ -3050,7 +3050,7 @@ edje_edit_part_select_mode_set(Evas_Object *obj, const char *part, Edje_Edit_Sel return EINA_TRUE; } -EAPI Edje_Edit_Entry_Mode +EDJE_API Edje_Edit_Entry_Mode edje_edit_part_entry_mode_get(Evas_Object *obj, const char *part) { GET_RP_OR_RETURN(EINA_FALSE); @@ -3061,7 +3061,7 @@ edje_edit_part_entry_mode_get(Evas_Object *obj, const char *part) return (Edje_Edit_Entry_Mode)rp->part->entry_mode; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_entry_mode_set(Evas_Object *obj, const char *part, Edje_Edit_Entry_Mode mode) { if (mode > EDJE_EDIT_ENTRY_MODE_PASSWORD) @@ -3075,7 +3075,7 @@ edje_edit_part_entry_mode_set(Evas_Object *obj, const char *part, Edje_Edit_Entr return EINA_TRUE; } -EAPI Eina_List * +EDJE_API Eina_List * edje_edit_parts_list_get(Evas_Object *obj) { Eina_List *parts = NULL; @@ -3097,7 +3097,7 @@ edje_edit_parts_list_get(Evas_Object *obj) return parts; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_name_set(Evas_Object *obj, const char *part, const char *new_name) { GET_EED_OR_RETURN(EINA_FALSE); @@ -3117,13 +3117,13 @@ edje_edit_part_name_set(Evas_Object *obj, const char *part, const char *new_name } #define FUNC_PART_API_STRING(Value) \ - EAPI const char * \ + EDJE_API const char * \ edje_edit_part_api_##Value##_get(Evas_Object * obj, const char *part) \ { \ GET_RP_OR_RETURN(NULL); \ return eina_stringshare_add(rp->part->api.Value); \ } \ - EAPI Eina_Bool \ + EDJE_API Eina_Bool \ edje_edit_part_api_##Value##_set(Evas_Object * obj, const char *part, const char *s) \ { \ GET_RP_OR_RETURN(EINA_FALSE); \ @@ -3326,7 +3326,7 @@ _edje_edit_real_part_add(Evas_Object *obj, const char *name, Edje_Part_Type type return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_add(Evas_Object *obj, const char *name, Edje_Part_Type type) { if (type == EDJE_PART_TYPE_EXTERNAL) @@ -3334,7 +3334,7 @@ edje_edit_part_add(Evas_Object *obj, const char *name, Edje_Part_Type type) return _edje_edit_real_part_add(obj, name, type, NULL); } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_external_add(Evas_Object *obj, const char *name, const char *source) { if (!source) @@ -3342,7 +3342,7 @@ edje_edit_part_external_add(Evas_Object *obj, const char *name, const char *sour return _edje_edit_real_part_add(obj, name, EDJE_PART_TYPE_EXTERNAL, source); } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_del(Evas_Object *obj, const char *part) { Edje_Part_Collection_Directory_Entry *ce; @@ -3459,7 +3459,7 @@ edje_edit_part_del(Evas_Object *obj, const char *part) static Eina_Bool _edje_edit_part_state_copy(Evas_Object *obj, const char *part_from, const char *part_to, const char *from, double val_from, const char *to, double val_to); -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_copy(Evas_Object *obj, const char *part, const char *new_copy) { Edje_Part *ep, *epcopy; @@ -3550,14 +3550,14 @@ edje_edit_part_copy(Evas_Object *obj, const char *part, const char *new_copy) return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_exist(Evas_Object *obj, const char *part) { GET_RP_OR_RETURN(EINA_FALSE); return EINA_TRUE; } -EAPI const char * +EDJE_API const char * edje_edit_part_below_get(Evas_Object *obj, const char *part) { Edje_Real_Part *prev; @@ -3571,7 +3571,7 @@ edje_edit_part_below_get(Evas_Object *obj, const char *part) return eina_stringshare_add(prev->part->name); } -EAPI const char * +EDJE_API const char * edje_edit_part_above_get(Evas_Object *obj, const char *part) { Edje_Real_Part *next; @@ -3585,7 +3585,7 @@ edje_edit_part_above_get(Evas_Object *obj, const char *part) return eina_stringshare_add(next->part->name); } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_restack_below(Evas_Object *obj, const char *part) { Edje_Part_Collection *group; @@ -3619,7 +3619,7 @@ edje_edit_part_restack_below(Evas_Object *obj, const char *part) return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_restack_part_below(Evas_Object *obj, const char *part, const char *below) { Edje_Part_Collection *group; @@ -3657,7 +3657,7 @@ edje_edit_part_restack_part_below(Evas_Object *obj, const char *part, const char return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_restack_above(Evas_Object *obj, const char *part) { Edje_Part_Collection *group; @@ -3693,7 +3693,7 @@ edje_edit_part_restack_above(Evas_Object *obj, const char *part) return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_restack_part_above(Evas_Object *obj, const char *part, const char *above) { Edje_Part_Collection *group; @@ -3731,14 +3731,14 @@ edje_edit_part_restack_part_above(Evas_Object *obj, const char *part, const char return EINA_TRUE; } -EAPI Edje_Part_Type +EDJE_API Edje_Part_Type edje_edit_part_type_get(Evas_Object *obj, const char *part) { GET_RP_OR_RETURN(0); return rp->part->type; } -EAPI const char * +EDJE_API const char * edje_edit_part_selected_state_get(Evas_Object *obj, const char *part, double *value) { GET_RP_OR_RETURN(NULL); @@ -3753,7 +3753,7 @@ edje_edit_part_selected_state_get(Evas_Object *obj, const char *part, double *va return eina_stringshare_add(rp->chosen_description->state.name); } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_selected_state_set(Evas_Object *obj, const char *part, const char *state, double value) { Edje_Part_Description_Common *pd; @@ -3784,7 +3784,7 @@ _edje_part_clip_to_get(Edje *ed, Edje_Real_Part *rp) return eina_stringshare_add(clip->part->name); } -EAPI const char * +EDJE_API const char * edje_edit_part_clip_to_get(Evas_Object *obj, const char *part) { GET_RP_OR_RETURN(NULL); @@ -3792,7 +3792,7 @@ edje_edit_part_clip_to_get(Evas_Object *obj, const char *part) return _edje_part_clip_to_get(ed, rp); } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_clip_to_set(Evas_Object *obj, const char *part, const char *clip_to) { Edje_Real_Part *clip; @@ -3838,14 +3838,14 @@ edje_edit_part_clip_to_set(Evas_Object *obj, const char *part, const char *clip_ return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_mouse_events_get(Evas_Object *obj, const char *part) { GET_RP_OR_RETURN(EINA_FALSE); return rp->part->mouse_events; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_mouse_events_set(Evas_Object *obj, const char *part, Eina_Bool mouse_events) { GET_RP_OR_RETURN(EINA_FALSE); @@ -3867,21 +3867,21 @@ edje_edit_part_mouse_events_set(Evas_Object *obj, const char *part, Eina_Bool mo return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_required_get(Evas_Object *obj, const char *part) { GET_RP_OR_RETURN(EINA_FALSE); return rp->part->required; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_anti_alias_get(Evas_Object *obj, const char *part) { GET_RP_OR_RETURN(EINA_FALSE); return rp->part->anti_alias; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_anti_alias_set(Evas_Object *obj, const char *part, Eina_Bool anti_alias) { GET_RP_OR_RETURN(EINA_FALSE); @@ -3894,14 +3894,14 @@ edje_edit_part_anti_alias_set(Evas_Object *obj, const char *part, Eina_Bool anti return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_repeat_events_get(Evas_Object *obj, const char *part) { GET_RP_OR_RETURN(EINA_FALSE); return rp->part->repeat_events; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_repeat_events_set(Evas_Object *obj, const char *part, Eina_Bool repeat_events) { GET_RP_OR_RETURN(EINA_FALSE); @@ -3918,7 +3918,7 @@ edje_edit_part_repeat_events_set(Evas_Object *obj, const char *part, Eina_Bool r return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_use_alternate_font_metrics_get(Evas_Object *obj, const char *part) { GET_RP_OR_RETURN(0); @@ -3930,7 +3930,7 @@ edje_edit_part_use_alternate_font_metrics_get(Evas_Object *obj, const char *part return rp->part->use_alternate_font_metrics; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_use_alternate_font_metrics_set(Evas_Object *obj, const char *part, Eina_Bool use) { GET_RP_OR_RETURN(EINA_FALSE); @@ -3944,7 +3944,7 @@ edje_edit_part_use_alternate_font_metrics_set(Evas_Object *obj, const char *part return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_multiline_get(Evas_Object *obj, const char *part) { GET_RP_OR_RETURN(0); @@ -3956,7 +3956,7 @@ edje_edit_part_multiline_get(Evas_Object *obj, const char *part) return rp->part->multiline; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_multiline_set(Evas_Object *obj, const char *part, Eina_Bool multiline) { GET_RP_OR_RETURN(EINA_FALSE); @@ -3970,7 +3970,7 @@ edje_edit_part_multiline_set(Evas_Object *obj, const char *part, Eina_Bool multi return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_precise_is_inside_get(Evas_Object *obj, const char *part) { GET_RP_OR_RETURN(0); @@ -3978,7 +3978,7 @@ edje_edit_part_precise_is_inside_get(Evas_Object *obj, const char *part) return rp->part->precise_is_inside; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_precise_is_inside_set(Evas_Object *obj, const char *part, Eina_Bool precise_is_inside) { GET_RP_OR_RETURN(EINA_FALSE); @@ -3989,7 +3989,7 @@ edje_edit_part_precise_is_inside_set(Evas_Object *obj, const char *part, Eina_Bo return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_access_get(Evas_Object *obj, const char *part) { GET_RP_OR_RETURN(0); @@ -3997,7 +3997,7 @@ edje_edit_part_access_get(Evas_Object *obj, const char *part) return rp->part->access; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_access_set(Evas_Object *obj, const char *part, Eina_Bool access_mode) { GET_RP_OR_RETURN(EINA_FALSE); @@ -4008,7 +4008,7 @@ edje_edit_part_access_set(Evas_Object *obj, const char *part, Eina_Bool access_m return EINA_TRUE; } -EAPI Evas_Event_Flags +EDJE_API Evas_Event_Flags edje_edit_part_ignore_flags_get(Evas_Object *obj, const char *part) { GET_RP_OR_RETURN(0); @@ -4016,7 +4016,7 @@ edje_edit_part_ignore_flags_get(Evas_Object *obj, const char *part) return rp->part->ignore_flags; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_ignore_flags_set(Evas_Object *obj, const char *part, Evas_Event_Flags ignore_flags) { GET_RP_OR_RETURN(EINA_FALSE); @@ -4027,7 +4027,7 @@ edje_edit_part_ignore_flags_set(Evas_Object *obj, const char *part, Evas_Event_F return EINA_TRUE; } -EAPI Evas_Event_Flags +EDJE_API Evas_Event_Flags edje_edit_part_mask_flags_get(Evas_Object *obj, const char *part) { GET_RP_OR_RETURN(0); @@ -4035,7 +4035,7 @@ edje_edit_part_mask_flags_get(Evas_Object *obj, const char *part) return rp->part->mask_flags; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_mask_flags_set(Evas_Object *obj, const char *part, Evas_Event_Flags mask_flags) { GET_RP_OR_RETURN(EINA_FALSE); @@ -4046,7 +4046,7 @@ edje_edit_part_mask_flags_set(Evas_Object *obj, const char *part, Evas_Event_Fla return EINA_TRUE; } -EAPI Evas_Object_Pointer_Mode +EDJE_API Evas_Object_Pointer_Mode edje_edit_part_pointer_mode_get(Evas_Object *obj, const char *part) { GET_RP_OR_RETURN(0); @@ -4054,7 +4054,7 @@ edje_edit_part_pointer_mode_get(Evas_Object *obj, const char *part) return rp->part->pointer_mode; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_pointer_mode_set(Evas_Object *obj, const char *part, Evas_Object_Pointer_Mode pointer_mode) { GET_RP_OR_RETURN(EINA_FALSE); @@ -4065,7 +4065,7 @@ edje_edit_part_pointer_mode_set(Evas_Object *obj, const char *part, Evas_Object_ return EINA_TRUE; } -EAPI unsigned char +EDJE_API unsigned char edje_edit_part_cursor_mode_get(Evas_Object *obj, const char *part) { GET_RP_OR_RETURN(0); @@ -4077,7 +4077,7 @@ edje_edit_part_cursor_mode_get(Evas_Object *obj, const char *part) return rp->part->cursor_mode; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_cursor_mode_set(Evas_Object *obj, const char *part, unsigned char cursor_mode) { GET_RP_OR_RETURN(EINA_FALSE); @@ -4091,7 +4091,7 @@ edje_edit_part_cursor_mode_set(Evas_Object *obj, const char *part, unsigned char return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_scale_set(Evas_Object *obj, const char *part, Eina_Bool scale) { GET_RP_OR_RETURN(EINA_FALSE); @@ -4101,7 +4101,7 @@ edje_edit_part_scale_set(Evas_Object *obj, const char *part, Eina_Bool scale) return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_scale_get(Evas_Object *obj, const char *part) { GET_RP_OR_RETURN(EINA_FALSE); @@ -4109,7 +4109,7 @@ edje_edit_part_scale_get(Evas_Object *obj, const char *part) return rp->part->scale; } -EAPI const char * +EDJE_API const char * edje_edit_part_source_get(Evas_Object *obj, const char *part) { GET_RP_OR_RETURN(NULL); @@ -4174,7 +4174,7 @@ end: return no_ref; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_source_set(Evas_Object *obj, const char *part, const char *source) { GET_RP_OR_RETURN(EINA_FALSE); @@ -4219,7 +4219,7 @@ edje_edit_part_source_set(Evas_Object *obj, const char *part, const char *source } #define TEXT_BLOCK_SOURCE_GET(N) \ - EAPI const char * \ + EDJE_API const char * \ edje_edit_part_source ## N ## _get(Evas_Object * obj, const char *part) \ { \ GET_RP_OR_RETURN(NULL); \ @@ -4228,7 +4228,7 @@ edje_edit_part_source_set(Evas_Object *obj, const char *part, const char *source } #define TEXT_BLOCK_SOURCE_SET(N) \ - EAPI Eina_Bool \ + EDJE_API Eina_Bool \ edje_edit_part_source ## N ##_set(Evas_Object * obj, const char *part, const char *source) \ { \ GET_RP_OR_RETURN(EINA_FALSE); \ @@ -4256,14 +4256,14 @@ TEXT_BLOCK_SOURCE_SET(4); TEXT_BLOCK_SOURCE_SET(5); TEXT_BLOCK_SOURCE_SET(6); -EAPI int +EDJE_API int edje_edit_part_drag_x_get(Evas_Object *obj, const char *part) { GET_RP_OR_RETURN(0); return rp->part->dragable.x; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_drag_x_set(Evas_Object *obj, const char *part, int drag) { GET_RP_OR_RETURN(EINA_FALSE); @@ -4286,14 +4286,14 @@ edje_edit_part_drag_x_set(Evas_Object *obj, const char *part, int drag) return EINA_TRUE; } -EAPI int +EDJE_API int edje_edit_part_drag_y_get(Evas_Object *obj, const char *part) { GET_RP_OR_RETURN(0); return rp->part->dragable.y; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_drag_y_set(Evas_Object *obj, const char *part, int drag) { GET_RP_OR_RETURN(EINA_FALSE); @@ -4317,13 +4317,13 @@ edje_edit_part_drag_y_set(Evas_Object *obj, const char *part, int drag) } #define FUNC_PART_DRAG_INT(Class, Value) \ - EAPI int \ + EDJE_API int \ edje_edit_part_drag_##Class##_##Value##_get(Evas_Object * obj, const char *part) \ { \ GET_RP_OR_RETURN(0); \ return rp->part->dragable.Class##_##Value; \ } \ - EAPI Eina_Bool \ + EDJE_API Eina_Bool \ edje_edit_part_drag_##Class##_##Value##_set(Evas_Object * obj, const char *part, int v) \ { \ GET_RP_OR_RETURN(EINA_FALSE); \ @@ -4337,7 +4337,7 @@ FUNC_PART_DRAG_INT(count, x); FUNC_PART_DRAG_INT(count, y); #define FUNC_PART_DRAG_ID(Id) \ - EAPI const char * \ + EDJE_API const char * \ edje_edit_part_drag_##Id##_get(Evas_Object * obj, const char *part) \ { \ Edje_Real_Part *p; \ @@ -4350,7 +4350,7 @@ FUNC_PART_DRAG_INT(count, y); p = ed->table_parts[rp->part->dragable.Id##_id]; \ return eina_stringshare_add(p->part->name); \ } \ - EAPI Eina_Bool \ + EDJE_API Eina_Bool \ edje_edit_part_drag_##Id##_set(Evas_Object * obj, const char *part, const char *e) \ { \ Edje_Real_Part *e_part; \ @@ -4380,7 +4380,7 @@ FUNC_PART_DRAG_ID(threshold); /***************************/ #define FUNC_STATE_BOX_LAYOUT(Layout) \ - EAPI Eina_Stringshare * \ + EDJE_API Eina_Stringshare * \ edje_edit_state_box_##Layout##_get(Evas_Object * obj, const char *part, const char *state, double value) \ { \ GET_PD_OR_RETURN(0) \ @@ -4392,7 +4392,7 @@ FUNC_PART_DRAG_ID(threshold); } \ return NULL; \ } \ - EAPI Eina_Bool \ + EDJE_API Eina_Bool \ edje_edit_state_box_##Layout##_set(Evas_Object * obj, const char *part, const char *state, double value, char *layout) \ { \ GET_PD_OR_RETURN(EINA_FALSE) \ @@ -4414,7 +4414,7 @@ FUNC_STATE_BOX_LAYOUT(alt_layout); /* TABLE API */ /***************************/ -EAPI unsigned char +EDJE_API unsigned char edje_edit_state_table_homogeneous_get(Evas_Object *obj, const char *part, const char *state, double value) { GET_PD_OR_RETURN(0) @@ -4434,7 +4434,7 @@ edje_edit_state_table_homogeneous_get(Evas_Object *obj, const char *part, const return 0; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_table_homogeneous_set(Evas_Object *obj, const char *part, const char *state, double value, unsigned char homogeneous) { GET_PD_OR_RETURN(EINA_FALSE) @@ -4460,7 +4460,7 @@ edje_edit_state_table_homogeneous_set(Evas_Object *obj, const char *part, const /***************************/ #define FUNC_CONTAINER_BOOL(CLASS, VALUE) \ -EAPI Eina_Bool \ +EDJE_API Eina_Bool \ edje_edit_state_container_##CLASS##_##VALUE##_get(Evas_Object *obj, const char *part, const char *state, double value) \ { \ Eina_Bool val; \ @@ -4486,7 +4486,7 @@ edje_edit_state_container_##CLASS##_##VALUE##_get(Evas_Object *obj, const char * } \ return val; \ } \ -EAPI Eina_Bool \ +EDJE_API Eina_Bool \ edje_edit_state_container_##CLASS##_##VALUE##_set(Evas_Object *obj, const char *part, const char *state, double value, Eina_Bool new_val) \ { \ GET_PD_OR_RETURN(EINA_FALSE) \ @@ -4518,7 +4518,7 @@ FUNC_CONTAINER_BOOL(min, h) #undef FUNC_CONTAINER_BOOL #define FUNC_CONTAINER_INT(CLASS, VALUE) \ -EAPI int \ +EDJE_API int \ edje_edit_state_container_##CLASS##_##VALUE##_get(Evas_Object *obj, const char *part, const char *state, double value) \ { \ int val; \ @@ -4544,7 +4544,7 @@ edje_edit_state_container_##CLASS##_##VALUE##_get(Evas_Object *obj, const char * } \ return val; \ } \ -EAPI Eina_Bool \ +EDJE_API Eina_Bool \ edje_edit_state_container_##CLASS##_##VALUE##_set(Evas_Object *obj, const char *part, const char *state, double value, int new_val) \ { \ GET_PD_OR_RETURN(EINA_FALSE) \ @@ -4576,7 +4576,7 @@ FUNC_CONTAINER_INT(padding, y) #undef FUNC_CONTAINER_INT #define FUNC_CONTAINER_DOUBLE(CLASS, VALUE) \ -EAPI double \ +EDJE_API double \ edje_edit_state_container_##CLASS##_##VALUE##_get(Evas_Object *obj, const char *part, const char *state, double value) \ { \ double val; \ @@ -4602,7 +4602,7 @@ edje_edit_state_container_##CLASS##_##VALUE##_get(Evas_Object *obj, const char * } \ return val; \ } \ -EAPI Eina_Bool \ +EDJE_API Eina_Bool \ edje_edit_state_container_##CLASS##_##VALUE##_set(Evas_Object *obj, const char *part, const char *state, double value, double new_val) \ { \ GET_PD_OR_RETURN(EINA_FALSE) \ @@ -4633,7 +4633,7 @@ FUNC_CONTAINER_DOUBLE(align, y) #undef FUNC_CONTAINER_DOUBLE -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_container_align_get(Evas_Object *obj, const char *part, const char *state, double value, double *x, double *y) { GET_PD_OR_RETURN(EINA_FALSE) @@ -4664,7 +4664,7 @@ edje_edit_state_container_align_get(Evas_Object *obj, const char *part, const ch return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_container_align_set(Evas_Object *obj, const char *part, const char *state, double value, double x, double y) { GET_PD_OR_RETURN(EINA_FALSE) @@ -4695,7 +4695,7 @@ edje_edit_state_container_align_set(Evas_Object *obj, const char *part, const ch return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_container_padding_get(Evas_Object *obj, const char *part, const char *state, double value, int *x, int *y) { GET_PD_OR_RETURN(EINA_FALSE) @@ -4727,7 +4727,7 @@ edje_edit_state_container_padding_get(Evas_Object *obj, const char *part, const return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_container_padding_set(Evas_Object *obj, const char *part, const char *state, double value, int x, int y) { GET_PD_OR_RETURN(EINA_FALSE) @@ -4758,7 +4758,7 @@ edje_edit_state_container_padding_set(Evas_Object *obj, const char *part, const return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_container_min_get(Evas_Object *obj, const char *part, const char *state, double value, Eina_Bool *h, Eina_Bool *v) { GET_PD_OR_RETURN(EINA_FALSE) @@ -4790,7 +4790,7 @@ edje_edit_state_container_min_get(Evas_Object *obj, const char *part, const char return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_container_min_set(Evas_Object *obj, const char *part, const char *state, double value, Eina_Bool h, Eina_Bool v) { GET_PD_OR_RETURN(EINA_FALSE) @@ -4868,7 +4868,7 @@ _edje_edit_part_item_insert(Edje_Part *ep, unsigned int item_position, const cha item->spread.h = 1; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_item_append(Evas_Object *obj, const char *part, const char *item_name, const char *source_group) { Edje_Part *ep; @@ -4901,7 +4901,7 @@ edje_edit_part_item_append(Evas_Object *obj, const char *part, const char *item_ } /* deprecated */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_item_insert_before(Evas_Object *obj, const char *part, const char *item_name, const char *item_before, const char *source_group) { Edje_Part *ep; @@ -4938,7 +4938,7 @@ edje_edit_part_item_insert_before(Evas_Object *obj, const char *part, const char return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_item_insert_before_index(Evas_Object *obj, const char *part, const char *item_name, unsigned int index, const char *source_group) { Edje_Part *ep; @@ -4964,7 +4964,7 @@ edje_edit_part_item_insert_before_index(Evas_Object *obj, const char *part, cons } /* deprecated */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_item_insert_after(Evas_Object *obj, const char *part, const char *item_name, const char *item_after, const char *source_group) { Edje_Part *ep; @@ -5002,7 +5002,7 @@ edje_edit_part_item_insert_after(Evas_Object *obj, const char *part, const char return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_item_insert_after_index(Evas_Object *obj, const char *part, const char *item_name, unsigned int index, const char *source_group) { Edje_Part *ep; @@ -5028,7 +5028,7 @@ edje_edit_part_item_insert_after_index(Evas_Object *obj, const char *part, const } /* deprecated */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_item_insert_at(Evas_Object *obj, const char *part, const char *item_name, const char *source_group, unsigned int place) { Edje_Part *ep; @@ -5063,7 +5063,7 @@ edje_edit_part_item_insert_at(Evas_Object *obj, const char *part, const char *it } /* deprecated */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_item_move_below(Evas_Object *obj, const char *part, const char *item_name) { Edje_Part *ep; @@ -5101,7 +5101,7 @@ edje_edit_part_item_move_below(Evas_Object *obj, const char *part, const char *i return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_item_move_below_index(Evas_Object *obj, const char *part, unsigned int index) { Edje_Part *ep; @@ -5126,7 +5126,7 @@ edje_edit_part_item_move_below_index(Evas_Object *obj, const char *part, unsigne } /* deprecated */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_item_move_above(Evas_Object *obj, const char *part, const char *item_name) { Edje_Part *ep; @@ -5164,7 +5164,7 @@ edje_edit_part_item_move_above(Evas_Object *obj, const char *part, const char *i return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_item_move_above_index(Evas_Object *obj, const char *part, unsigned int index) { Edje_Part *ep; @@ -5189,7 +5189,7 @@ edje_edit_part_item_move_above_index(Evas_Object *obj, const char *part, unsigne } /* deprecated */ -EAPI Eina_List * +EDJE_API Eina_List * edje_edit_part_items_list_get(Evas_Object *obj, const char *part) { Edje_Part *ep; @@ -5210,7 +5210,7 @@ edje_edit_part_items_list_get(Evas_Object *obj, const char *part) return items_list; } -EAPI int +EDJE_API int edje_edit_part_items_count_get(Evas_Object *obj, const char *part) { Edje_Part *ep; @@ -5228,7 +5228,7 @@ edje_edit_part_items_count_get(Evas_Object *obj, const char *part) } /* deprecated */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_item_del(Evas_Object *obj, const char *part, const char *name) { Edje_Part *ep; @@ -5285,7 +5285,7 @@ edje_edit_part_item_del(Evas_Object *obj, const char *part, const char *name) return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_item_index_del(Evas_Object *obj, const char *part, unsigned int index) { Edje_Part *ep; @@ -5331,7 +5331,7 @@ edje_edit_part_item_index_del(Evas_Object *obj, const char *part, unsigned int i return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_item_index_name_set(Evas_Object *obj, const char *part, unsigned int index, const char *name) { Edje_Part *ep; @@ -5363,7 +5363,7 @@ edje_edit_part_item_index_name_set(Evas_Object *obj, const char *part, unsigned return EINA_TRUE; } -EAPI const char * +EDJE_API const char * edje_edit_part_item_index_name_get(Evas_Object *obj, const char *part, unsigned int index) { Edje_Part *ep; @@ -5385,7 +5385,7 @@ edje_edit_part_item_index_name_get(Evas_Object *obj, const char *part, unsigned } /* deprecated */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_item_source_set(Evas_Object *obj, const char *part, const char *item_name, const char *source_group) { Edje_Part *ep; @@ -5423,7 +5423,7 @@ edje_edit_part_item_source_set(Evas_Object *obj, const char *part, const char *i return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_item_index_source_set(Evas_Object *obj, const char *part, unsigned int index, const char *source_group) { Edje_Part *ep; @@ -5449,7 +5449,7 @@ edje_edit_part_item_index_source_set(Evas_Object *obj, const char *part, unsigne } EINA_DEPRECATED -EAPI const char * +EDJE_API const char * edje_edit_part_item_source_get(Evas_Object *obj, const char *part, const char *item_name) { Edje_Part *ep; @@ -5481,7 +5481,7 @@ edje_edit_part_item_source_get(Evas_Object *obj, const char *part, const char *i return eina_stringshare_add(item->source); } -EAPI const char * +EDJE_API const char * edje_edit_part_item_index_source_get(Evas_Object *obj, const char *part, unsigned int index) { Edje_Part *ep; @@ -5502,7 +5502,7 @@ edje_edit_part_item_index_source_get(Evas_Object *obj, const char *part, unsigne /* deprecated */ #define FUNC_PART_ITEM_INT(Class, Value, Min) \ - EAPI int \ + EDJE_API int \ edje_edit_part_item_##Class##_##Value##_get(Evas_Object * obj, const char *part, const char *item_name) \ { \ Edje_Part *ep; \ @@ -5523,7 +5523,7 @@ edje_edit_part_item_index_source_get(Evas_Object *obj, const char *part, unsigne if (!item) return Min; \ return item->Class.Value; \ } \ - EAPI Eina_Bool \ + EDJE_API Eina_Bool \ edje_edit_part_item_##Class##_##Value##_set(Evas_Object * obj, const char *part, const char *item_name, int v) \ { \ Edje_Part *ep; \ @@ -5562,7 +5562,7 @@ FUNC_PART_ITEM_INT(spread, w, 0); FUNC_PART_ITEM_INT(spread, h, 0); #define FUNC_PART_ITEM_INDEX_INT(Class, Value, Min) \ - EAPI int \ + EDJE_API int \ edje_edit_part_item_index_##Class##_##Value##_get(Evas_Object * obj, const char *part, unsigned int index) \ { \ Edje_Part *ep; \ @@ -5574,7 +5574,7 @@ FUNC_PART_ITEM_INT(spread, h, 0); return Min; \ return ep->items[index]->Class.Value; \ } \ - EAPI Eina_Bool \ + EDJE_API Eina_Bool \ edje_edit_part_item_index_##Class##_##Value##_set(Evas_Object * obj, const char *part, unsigned int index, int v) \ { \ Edje_Part *ep; \ @@ -5604,7 +5604,7 @@ FUNC_PART_ITEM_INDEX_INT(spread, w, 0); FUNC_PART_ITEM_INDEX_INT(spread, h, 0); /* deprecated */ -EAPI Edje_Aspect_Control +EDJE_API Edje_Aspect_Control edje_edit_part_item_aspect_mode_get(Evas_Object *obj, const char *part, const char *item_name) { Edje_Part *ep; @@ -5631,7 +5631,7 @@ edje_edit_part_item_aspect_mode_get(Evas_Object *obj, const char *part, const ch } /* deprecated */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_item_aspect_mode_set(Evas_Object *obj, const char *part, const char *item_name, Edje_Aspect_Control mode) { Edje_Part *ep; @@ -5664,7 +5664,7 @@ edje_edit_part_item_aspect_mode_set(Evas_Object *obj, const char *part, const ch return EINA_TRUE; } -EAPI Edje_Aspect_Control +EDJE_API Edje_Aspect_Control edje_edit_part_item_index_aspect_mode_get(Evas_Object *obj, const char *part, unsigned int index) { Edje_Part *ep; @@ -5681,7 +5681,7 @@ edje_edit_part_item_index_aspect_mode_get(Evas_Object *obj, const char *part, un return ep->items[index]->aspect.mode; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_item_index_aspect_mode_set(Evas_Object *obj, const char *part, unsigned int index, Edje_Aspect_Control mode) { Edje_Part *ep; @@ -5706,7 +5706,7 @@ edje_edit_part_item_index_aspect_mode_set(Evas_Object *obj, const char *part, un } /* deprecated */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_item_padding_get(Evas_Object *obj, const char *part, const char *item_name, int *l, int *r, int *t, int *b) { Edje_Part *ep; @@ -5738,7 +5738,7 @@ edje_edit_part_item_padding_get(Evas_Object *obj, const char *part, const char * } /* deprecated */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_item_padding_set(Evas_Object *obj, const char *part, const char *item_name, int l, int r, int t, int b) { Edje_Part *ep; @@ -5773,7 +5773,7 @@ edje_edit_part_item_padding_set(Evas_Object *obj, const char *part, const char * return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_item_index_padding_get(Evas_Object *obj, const char *part, unsigned int index, int *l, int *r, int *t, int *b) { Edje_Part *ep; @@ -5792,7 +5792,7 @@ edje_edit_part_item_index_padding_get(Evas_Object *obj, const char *part, unsign return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_item_index_padding_set(Evas_Object *obj, const char *part, unsigned int index, int l, int r, int t, int b) { Edje_Part *ep; @@ -5817,7 +5817,7 @@ edje_edit_part_item_index_padding_set(Evas_Object *obj, const char *part, unsign /* deprecated */ #define FUNC_PART_ITEM_DOUBLE(Name, Value, Min, Max) \ - EAPI double \ + EDJE_API double \ edje_edit_part_item_##Name##_get(Evas_Object * obj, const char *part, const char *item_name) \ { \ Edje_Part *ep; \ @@ -5838,7 +5838,7 @@ edje_edit_part_item_index_padding_set(Evas_Object *obj, const char *part, unsign if (!item) return EINA_FALSE; \ return TO_DOUBLE(item->Value); \ } \ - EAPI Eina_Bool \ + EDJE_API Eina_Bool \ edje_edit_part_item_##Name##_set(Evas_Object * obj, const char *part, const char *item_name, double v) \ { \ Edje_Part *ep; \ @@ -5874,7 +5874,7 @@ FUNC_PART_ITEM_DOUBLE(weight_y, weight.y, 0.0, 99999.990); #undef FUNC_PART_ITEM_DOUBLE #define FUNC_PART_ITEM_INDEX_DOUBLE(Name, Value, Min, Max) \ - EAPI double \ + EDJE_API double \ edje_edit_part_item_index_##Name##_get(Evas_Object * obj, const char *part, unsigned int index) \ { \ Edje_Part *ep; \ @@ -5884,7 +5884,7 @@ FUNC_PART_ITEM_DOUBLE(weight_y, weight.y, 0.0, 99999.990); ep = rp->part; \ return TO_DOUBLE(ep->items[index]->Value); \ } \ - EAPI Eina_Bool \ + EDJE_API Eina_Bool \ edje_edit_part_item_index_##Name##_set(Evas_Object * obj, const char *part, unsigned int index, double v) \ { \ Edje_Part *ep; \ @@ -5909,7 +5909,7 @@ FUNC_PART_ITEM_INDEX_DOUBLE(weight_y, weight.y, 0.0, 99999.990); #undef FUNC_PART_ITEM_INDEX_DOUBLE /* deprecated */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_item_position_get(Evas_Object *obj, const char *part, const char *item_name, unsigned short *col, unsigned short *row) { Edje_Part *ep; @@ -5934,7 +5934,7 @@ edje_edit_part_item_position_get(Evas_Object *obj, const char *part, const char } /* deprecated */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_item_position_set(Evas_Object *obj, const char *part, const char *item_name, unsigned short col, unsigned short row) { Edje_Part *ep; @@ -5961,7 +5961,7 @@ edje_edit_part_item_position_set(Evas_Object *obj, const char *part, const char } #define FUNC_PART_ITEM_USHORT(CLASS, VALUE) \ -EAPI unsigned short \ +EDJE_API unsigned short \ edje_edit_part_item_##CLASS##_##VALUE##_get(Evas_Object *obj, const char *part, const char *item_name) \ { \ Edje_Part *ep; \ @@ -5982,7 +5982,7 @@ edje_edit_part_item_##CLASS##_##VALUE##_get(Evas_Object *obj, const char *part, if (!item) return 0; \ return item->VALUE; \ } \ -EAPI Eina_Bool \ +EDJE_API Eina_Bool \ edje_edit_part_item_##CLASS##_##VALUE##_set(Evas_Object *obj, const char *part, const char *item_name, unsigned short new_val) \ { \ Edje_Part *ep; \ @@ -6011,7 +6011,7 @@ FUNC_PART_ITEM_USHORT(position, row) #undef FUNC_PART_ITEM_USHORT #define FUNC_PART_ITEM_INDEX_USHORT(CLASS, VALUE) \ -EAPI unsigned short \ +EDJE_API unsigned short \ edje_edit_part_item_index_##CLASS##_##VALUE##_get(Evas_Object *obj, const char *part, unsigned int index) \ { \ Edje_Part *ep; \ @@ -6020,7 +6020,7 @@ edje_edit_part_item_index_##CLASS##_##VALUE##_get(Evas_Object *obj, const char * if (ep->type != EDJE_PART_TYPE_TABLE) return 0; \ return ep->items[index]->VALUE; \ } \ -EAPI Eina_Bool \ +EDJE_API Eina_Bool \ edje_edit_part_item_index_##CLASS##_##VALUE##_set(Evas_Object *obj, const char *part, unsigned int index, unsigned short new_val) \ { \ Edje_Part *ep; \ @@ -6037,7 +6037,7 @@ FUNC_PART_ITEM_INDEX_USHORT(position, row) #undef FUNC_PART_ITEM_INDEX_USHORT /* deprecated */ -EAPI void +EDJE_API void edje_edit_part_item_span_get(Evas_Object *obj, const char *part, const char *item_name, unsigned char *col, unsigned char *row) { Edje_Part *ep; @@ -6062,7 +6062,7 @@ edje_edit_part_item_span_get(Evas_Object *obj, const char *part, const char *ite } /* deprecated */ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_item_span_set(Evas_Object *obj, const char *part, const char *item_name, unsigned char col, unsigned char row) { Edje_Part *ep; @@ -6090,7 +6090,7 @@ edje_edit_part_item_span_set(Evas_Object *obj, const char *part, const char *ite } #define FUNC_PART_ITEM_USHORT(CLASS, VALUE, MEMBER) \ -EAPI unsigned short \ +EDJE_API unsigned short \ edje_edit_part_item_##CLASS##_##VALUE##_get(Evas_Object *obj, const char *part, const char *item_name) \ { \ Edje_Part *ep; \ @@ -6111,7 +6111,7 @@ edje_edit_part_item_##CLASS##_##VALUE##_get(Evas_Object *obj, const char *part, if (!item) return 0; \ return item->MEMBER; \ } \ -EAPI Eina_Bool \ +EDJE_API Eina_Bool \ edje_edit_part_item_##CLASS##_##VALUE##_set(Evas_Object *obj, const char *part, const char *item_name, unsigned short new_val) \ { \ Edje_Part *ep; \ @@ -6140,7 +6140,7 @@ FUNC_PART_ITEM_USHORT(span, row, rowspan) #undef FUNC_PART_ITEM_USHORT #define FUNC_PART_ITEM_INDEX_USHORT(CLASS, VALUE, MEMBER) \ -EAPI unsigned short \ +EDJE_API unsigned short \ edje_edit_part_item_index_##CLASS##_##VALUE##_get(Evas_Object *obj, const char *part, unsigned int index) \ { \ Edje_Part *ep; \ @@ -6149,7 +6149,7 @@ edje_edit_part_item_index_##CLASS##_##VALUE##_get(Evas_Object *obj, const char * if (rp->part->type != EDJE_PART_TYPE_TABLE) return EINA_FALSE; \ return ep->items[index]->MEMBER; \ } \ -EAPI Eina_Bool \ +EDJE_API Eina_Bool \ edje_edit_part_item_index_##CLASS##_##VALUE##_set(Evas_Object *obj, const char *part, unsigned int index, unsigned short new_val) \ { \ Edje_Part *ep; \ @@ -6168,7 +6168,7 @@ FUNC_PART_ITEM_INDEX_USHORT(span, row, rowspan) /*********************/ /* PART STATES API */ /*********************/ -EAPI Eina_List * +EDJE_API Eina_List * edje_edit_part_states_list_get(Evas_Object *obj, const char *part) { char state_name[PATH_MAX]; @@ -6203,7 +6203,7 @@ edje_edit_part_states_list_get(Evas_Object *obj, const char *part) return states; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_name_set(Evas_Object *obj, const char *part, const char *state, double value, const char *new_name, double new_value) { int part_id; @@ -6245,7 +6245,7 @@ edje_edit_state_name_set(Evas_Object *obj, const char *part, const char *state, return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_del(Evas_Object *obj, const char *part, const char *state, double value) { Edje_Part_Collection_Directory_Entry *ce; @@ -6347,7 +6347,7 @@ case EDJE_PART_TYPE_##Short: \ return pd; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_add(Evas_Object *obj, const char *part, const char *name, double value) { Edje_Part_Description_Common *pd; @@ -6562,7 +6562,7 @@ edje_edit_state_add(Evas_Object *obj, const char *part, const char *name, double return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_exist(Evas_Object *obj, const char *part, const char *state, double value) { GET_PD_OR_RETURN(EINA_FALSE); @@ -6744,20 +6744,20 @@ _edje_edit_part_state_copy(Evas_Object *obj, const char *part, const char *part_ return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_copy(Evas_Object *obj, const char *part, const char *from, double val_from, const char *to, double val_to) { return _edje_edit_part_state_copy(obj, part, part, from, val_from, to, val_to); } #define FUNC_STATE_RELATIVE_DOUBLE(Sub, Value) \ - EAPI double \ + EDJE_API double \ edje_edit_state_##Sub##_relative_##Value##_get(Evas_Object * obj, const char *part, const char *state, double value) \ { \ GET_PD_OR_RETURN(0); \ return TO_DOUBLE(pd->Sub.relative_##Value); \ } \ - EAPI Eina_Bool \ + EDJE_API Eina_Bool \ edje_edit_state_##Sub##_relative_##Value##_set(Evas_Object * obj, const char *part, const char *state, double value, double v) \ { \ GET_PD_OR_RETURN(EINA_FALSE); \ @@ -6772,13 +6772,13 @@ FUNC_STATE_RELATIVE_DOUBLE(rel2, x); FUNC_STATE_RELATIVE_DOUBLE(rel2, y); #define FUNC_STATE_OFFSET_INT(Sub, Value) \ - EAPI int \ + EDJE_API int \ edje_edit_state_##Sub##_offset_##Value##_get(Evas_Object * obj, const char *part, const char *state, double value) \ { \ GET_PD_OR_RETURN(0); \ return pd->Sub.offset_##Value; \ } \ - EAPI Eina_Bool \ + EDJE_API Eina_Bool \ edje_edit_state_##Sub##_offset_##Value##_set(Evas_Object * obj, const char *part, const char *state, double value, int v) \ { \ GET_PD_OR_RETURN(EINA_FALSE); \ @@ -6793,7 +6793,7 @@ FUNC_STATE_OFFSET_INT(rel2, x); FUNC_STATE_OFFSET_INT(rel2, y); #define FUNC_STATE_REL(Sub, Value) \ - EAPI const char * \ + EDJE_API const char * \ edje_edit_state_##Sub##_to_##Value##_get(Evas_Object * obj, const char *part, const char *state, double value) \ { \ Edje_Real_Part *rel; \ @@ -6803,7 +6803,7 @@ FUNC_STATE_OFFSET_INT(rel2, y); if (rel->part->name) return eina_stringshare_add(rel->part->name); \ return NULL; \ } \ - EAPI Eina_Bool \ + EDJE_API Eina_Bool \ edje_edit_state_##Sub##_to_##Value##_set(Evas_Object * obj, const char *part, const char *state, double value, const char *to) \ { \ Edje_Real_Part *relp; \ @@ -6832,7 +6832,7 @@ FUNC_STATE_REL(rel2, y); //colors #define FUNC_COLOR(Code) \ - EAPI void \ + EDJE_API void \ edje_edit_state_##Code##_get(Evas_Object * obj, const char *part, const char *state, double value, int *r, int *g, int *b, int *a) \ { \ GET_PD_OR_RETURN(); \ @@ -6842,7 +6842,7 @@ FUNC_STATE_REL(rel2, y); if (b) *b = pd->Code.b; \ if (a) *a = pd->Code.a; \ } \ - EAPI Eina_Bool \ + EDJE_API Eina_Bool \ edje_edit_state_##Code##_set(Evas_Object * obj, const char *part, const char *state, double value, int r, int g, int b, int a) \ { \ if ((!obj) || (!part) || (!state)) \ @@ -6865,7 +6865,7 @@ FUNC_STATE_REL(rel2, y); FUNC_COLOR(color); FUNC_COLOR(color2); -EAPI void +EDJE_API void edje_edit_state_color3_get(Evas_Object *obj, const char *part, const char *state, double value, int *r, int *g, int *b, int *a) { Edje_Part_Description_Text *txt; @@ -6890,7 +6890,7 @@ edje_edit_state_color3_get(Evas_Object *obj, const char *part, const char *state if (a) *a = txt->text.color3.a; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_color3_set(Evas_Object *obj, const char *part, const char *state, double value, int r, int g, int b, int a) { Edje_Part_Description_Text *txt; @@ -6919,13 +6919,13 @@ edje_edit_state_color3_set(Evas_Object *obj, const char *part, const char *state } #define FUNC_STATE_DOUBLE(Class, Value) \ - EAPI double \ + EDJE_API double \ edje_edit_state_##Class##_##Value##_get(Evas_Object * obj, const char *part, const char *state, double value) \ { \ GET_PD_OR_RETURN(0); \ return TO_DOUBLE(pd->Class.Value); \ } \ - EAPI Eina_Bool \ + EDJE_API Eina_Bool \ edje_edit_state_##Class##_##Value##_set(Evas_Object * obj, const char *part, const char *state, double value, double v) \ { \ GET_PD_OR_RETURN(EINA_FALSE); \ @@ -6935,13 +6935,13 @@ edje_edit_state_color3_set(Evas_Object *obj, const char *part, const char *state } #define FUNC_STATE_INT(Class, Value, Min) \ - EAPI int \ + EDJE_API int \ edje_edit_state_##Class##_##Value##_get(Evas_Object * obj, const char *part, const char *state, double value) \ { \ GET_PD_OR_RETURN(0); \ return pd->Class.Value; \ } \ - EAPI Eina_Bool \ + EDJE_API Eina_Bool \ edje_edit_state_##Class##_##Value##_set(Evas_Object * obj, const char *part, const char *state, double value, int v) \ { \ if ((!obj) || (!part) || (!state)) \ @@ -6954,13 +6954,13 @@ edje_edit_state_color3_set(Evas_Object *obj, const char *part, const char *state } #define FUNC_STATE_BOOL(Class, Value) \ - EAPI Eina_Bool \ + EDJE_API Eina_Bool \ edje_edit_state_##Class##_##Value##_get(Evas_Object * obj, const char *part, const char *state, double value) \ { \ GET_PD_OR_RETURN(0); \ return pd->Class.Value; \ } \ - EAPI Eina_Bool \ + EDJE_API Eina_Bool \ edje_edit_state_##Class##_##Value##_set(Evas_Object * obj, const char *part, const char *state, double value, Eina_Bool v) \ { \ if ((!obj) || (!part) || (!state)) \ @@ -6984,7 +6984,7 @@ FUNC_STATE_DOUBLE(aspect, max); FUNC_STATE_DOUBLE(minmul, w); FUNC_STATE_DOUBLE(minmul, h); -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_size_class_set(Evas_Object *obj, const char *part, const char *state, double value, const char *size_class) { GET_PD_OR_RETURN(EINA_FALSE); @@ -6994,7 +6994,7 @@ edje_edit_state_size_class_set(Evas_Object *obj, const char *part, const char *s return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_fill_smooth_get(Evas_Object *obj, const char *part, const char *state, double value) { GET_PD_OR_RETURN(EINA_FALSE) @@ -7019,7 +7019,7 @@ edje_edit_state_fill_smooth_get(Evas_Object *obj, const char *part, const char * return EINA_FALSE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_fill_smooth_set(Evas_Object *obj, const char *part, const char *state, double value, Eina_Bool smooth) { GET_PD_OR_RETURN(EINA_FALSE) @@ -7046,7 +7046,7 @@ edje_edit_state_fill_smooth_set(Evas_Object *obj, const char *part, const char * return EINA_FALSE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_fill_type_set(Evas_Object *obj, const char *part, const char *state, double value, unsigned char fill_type) { GET_PD_OR_RETURN(EINA_FALSE) @@ -7075,7 +7075,7 @@ edje_edit_state_fill_type_set(Evas_Object *obj, const char *part, const char *st return EINA_FALSE; } -EAPI unsigned char +EDJE_API unsigned char edje_edit_state_fill_type_get(Evas_Object *obj, const char *part, const char *state, double value) { GET_PD_OR_RETURN(EDJE_FILL_TYPE_LAST) @@ -7101,7 +7101,7 @@ edje_edit_state_fill_type_get(Evas_Object *obj, const char *part, const char *st } #define FUNC_STATE_DOUBLE_FILL(Class, Type, Value) \ - EAPI double \ + EDJE_API double \ edje_edit_state_fill_##Type##_relative_##Value##_get(Evas_Object * obj, const char *part, const char *state, double value) \ { \ GET_PD_OR_RETURN(0); \ @@ -7128,7 +7128,7 @@ edje_edit_state_fill_type_get(Evas_Object *obj, const char *part, const char *st \ return 0; \ } \ - EAPI Eina_Bool \ + EDJE_API Eina_Bool \ edje_edit_state_fill_##Type##_relative_##Value##_set(Evas_Object * obj, const char *part, const char *state, double value, double v) \ { \ GET_PD_OR_RETURN(EINA_FALSE); \ @@ -7164,7 +7164,7 @@ edje_edit_state_fill_type_get(Evas_Object *obj, const char *part, const char *st } #define FUNC_STATE_INT_FILL(Class, Type, Value) \ - EAPI int \ + EDJE_API int \ edje_edit_state_fill_##Type##_offset_##Value##_get(Evas_Object * obj, const char *part, const char *state, double value) \ { \ GET_PD_OR_RETURN(0); \ @@ -7190,7 +7190,7 @@ edje_edit_state_fill_type_get(Evas_Object *obj, const char *part, const char *st } \ return 0; \ } \ - EAPI Eina_Bool \ + EDJE_API Eina_Bool \ edje_edit_state_fill_##Type##_offset_##Value##_set(Evas_Object * obj, const char *part, const char *state, double value, double v) \ { \ GET_PD_OR_RETURN(EINA_FALSE); \ @@ -7233,7 +7233,7 @@ FUNC_STATE_DOUBLE_FILL(, size, y); FUNC_STATE_INT_FILL(, size, x); FUNC_STATE_INT_FILL(, size, y); -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_visible_get(Evas_Object *obj, const char *part, const char *state, double value) { GET_PD_OR_RETURN(EINA_FALSE); @@ -7242,7 +7242,7 @@ edje_edit_state_visible_get(Evas_Object *obj, const char *part, const char *stat return pd->visible; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_visible_set(Evas_Object *obj, const char *part, const char *state, double value, Eina_Bool visible) { if ((!obj) || (!part) || (!state)) @@ -7256,7 +7256,7 @@ edje_edit_state_visible_set(Evas_Object *obj, const char *part, const char *stat return EINA_TRUE; } -EAPI unsigned char +EDJE_API unsigned char edje_edit_state_aspect_pref_get(Evas_Object *obj, const char *part, const char *state, double value) { GET_PD_OR_RETURN(0); @@ -7265,7 +7265,7 @@ edje_edit_state_aspect_pref_get(Evas_Object *obj, const char *part, const char * return pd->aspect.prefer; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_aspect_pref_set(Evas_Object *obj, const char *part, const char *state, double value, unsigned char pref) { GET_PD_OR_RETURN(EINA_FALSE); @@ -7275,7 +7275,7 @@ edje_edit_state_aspect_pref_set(Evas_Object *obj, const char *part, const char * return EINA_TRUE; } -EAPI const char * +EDJE_API const char * edje_edit_state_color_class_get(Evas_Object *obj, const char *part, const char *state, double value) { GET_PD_OR_RETURN(NULL); @@ -7283,7 +7283,7 @@ edje_edit_state_color_class_get(Evas_Object *obj, const char *part, const char * return eina_stringshare_add(pd->color_class); } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_color_class_set(Evas_Object *obj, const char *part, const char *state, double value, const char *color_class) { Eina_List *l; @@ -7312,7 +7312,7 @@ edje_edit_state_color_class_set(Evas_Object *obj, const char *part, const char * return EINA_FALSE; } -EAPI const Eina_List * +EDJE_API const Eina_List * edje_edit_state_external_params_list_get(Evas_Object *obj, const char *part, const char *state, double value) { Edje_Part_Description_External *external; @@ -7327,7 +7327,7 @@ edje_edit_state_external_params_list_get(Evas_Object *obj, const char *part, con return external->external_params; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_external_param_get(Evas_Object *obj, const char *part, const char *state, double value, const char *param, Edje_External_Param_Type *type, void **val) { Edje_Part_Description_External *external; @@ -7374,7 +7374,7 @@ edje_edit_state_external_param_get(Evas_Object *obj, const char *part, const cha return EINA_FALSE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_external_param_int_get(Evas_Object *obj, const char *part, const char *state, double value, const char *param, int *val) { Edje_Part_Description_External *external; @@ -7407,7 +7407,7 @@ edje_edit_state_external_param_int_get(Evas_Object *obj, const char *part, const return EINA_FALSE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_external_param_bool_get(Evas_Object *obj, const char *part, const char *state, double value, const char *param, Eina_Bool *val) { Edje_Part_Description_External *external; @@ -7440,7 +7440,7 @@ edje_edit_state_external_param_bool_get(Evas_Object *obj, const char *part, cons return EINA_FALSE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_external_param_double_get(Evas_Object *obj, const char *part, const char *state, double value, const char *param, double *val) { Edje_Part_Description_External *external; @@ -7473,7 +7473,7 @@ edje_edit_state_external_param_double_get(Evas_Object *obj, const char *part, co return EINA_FALSE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_external_param_string_get(Evas_Object *obj, const char *part, const char *state, double value, const char *param, const char **val) { Edje_Part_Description_External *external; @@ -7506,7 +7506,7 @@ edje_edit_state_external_param_string_get(Evas_Object *obj, const char *part, co return EINA_FALSE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_external_param_choice_get(Evas_Object *obj, const char *part, const char *state, double value, const char *param, const char **val) { Edje_Part_Description_External *external; @@ -7539,7 +7539,7 @@ edje_edit_state_external_param_choice_get(Evas_Object *obj, const char *part, co return EINA_FALSE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_external_param_set(Evas_Object *obj, const char *part, const char *state, double value, const char *param, Edje_External_Param_Type type, ...) { va_list ap; @@ -7647,37 +7647,37 @@ edje_edit_state_external_param_set(Evas_Object *obj, const char *part, const cha return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_external_param_int_set(Evas_Object *obj, const char *part, const char *state, double value, const char *param, int val) { return edje_edit_state_external_param_set(obj, part, state, value, param, EDJE_EXTERNAL_PARAM_TYPE_INT, val); } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_external_param_bool_set(Evas_Object *obj, const char *part, const char *state, double value, const char *param, Eina_Bool val) { return edje_edit_state_external_param_set(obj, part, state, value, param, EDJE_EXTERNAL_PARAM_TYPE_BOOL, (int)val); } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_external_param_double_set(Evas_Object *obj, const char *part, const char *state, double value, const char *param, double val) { return edje_edit_state_external_param_set(obj, part, state, value, param, EDJE_EXTERNAL_PARAM_TYPE_DOUBLE, val); } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_external_param_string_set(Evas_Object *obj, const char *part, const char *state, double value, const char *param, const char *val) { return edje_edit_state_external_param_set(obj, part, state, value, param, EDJE_EXTERNAL_PARAM_TYPE_STRING, val); } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_external_param_choice_set(Evas_Object *obj, const char *part, const char *state, double value, const char *param, const char *val) { return edje_edit_state_external_param_set(obj, part, state, value, param, EDJE_EXTERNAL_PARAM_TYPE_CHOICE, val); } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_step_set(Evas_Object *obj, const char *part, const char *state, double value, int step_x, int step_y) { GET_PD_OR_RETURN(EINA_FALSE); @@ -7686,7 +7686,7 @@ edje_edit_state_step_set(Evas_Object *obj, const char *part, const char *state, return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_step_get(Evas_Object *obj, const char *part, const char *state, double value, int *step_x, int *step_y) { GET_PD_OR_RETURN(EINA_FALSE); @@ -7695,7 +7695,7 @@ edje_edit_state_step_get(Evas_Object *obj, const char *part, const char *state, return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_limit_set(Evas_Object *obj, const char *part, const char *state, double value, unsigned char limit) { GET_PD_OR_RETURN(EINA_FALSE); @@ -7705,7 +7705,7 @@ edje_edit_state_limit_set(Evas_Object *obj, const char *part, const char *state, return EINA_TRUE; } -EAPI unsigned char +EDJE_API unsigned char edje_edit_state_limit_get(Evas_Object *obj, const char *part, const char *state, double value) { GET_PD_OR_RETURN(EDJE_STATE_LIMIT_LAST); @@ -7716,7 +7716,7 @@ edje_edit_state_limit_get(Evas_Object *obj, const char *part, const char *state, /* MAP API */ /**************/ -EAPI const char * +EDJE_API const char * edje_edit_state_map_light_get(Evas_Object *obj, const char *part, const char *state, double value) { Edje_Real_Part *erl; @@ -7732,7 +7732,7 @@ edje_edit_state_map_light_get(Evas_Object *obj, const char *part, const char *st return NULL; } -EAPI const char * +EDJE_API const char * edje_edit_state_map_rotation_center_get(Evas_Object *obj, const char *part, const char *state, double value) { Edje_Real_Part *erl; @@ -7748,7 +7748,7 @@ edje_edit_state_map_rotation_center_get(Evas_Object *obj, const char *part, cons return NULL; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_map_backface_cull_get(Evas_Object *obj, const char *part, const char *state, double value) { GET_PD_OR_RETURN(EINA_FALSE); @@ -7756,7 +7756,7 @@ edje_edit_state_map_backface_cull_get(Evas_Object *obj, const char *part, const return pd->map.backcull; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_map_backface_cull_set(Evas_Object *obj, const char *part, const char *state, double value, Eina_Bool bool) { GET_PD_OR_RETURN(EINA_FALSE); @@ -7767,7 +7767,7 @@ edje_edit_state_map_backface_cull_set(Evas_Object *obj, const char *part, const return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_map_perspective_on_get(Evas_Object *obj, const char *part, const char *state, double value) { GET_PD_OR_RETURN(EINA_FALSE); @@ -7775,7 +7775,7 @@ edje_edit_state_map_perspective_on_get(Evas_Object *obj, const char *part, const return pd->map.persp_on; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_map_perspective_on_set(Evas_Object *obj, const char *part, const char *state, double value, Eina_Bool bool) { GET_PD_OR_RETURN(EINA_FALSE); @@ -7786,7 +7786,7 @@ edje_edit_state_map_perspective_on_set(Evas_Object *obj, const char *part, const return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_map_alpha_get(Evas_Object *obj, const char *part, const char *state, double value) { GET_PD_OR_RETURN(EINA_FALSE); @@ -7794,7 +7794,7 @@ edje_edit_state_map_alpha_get(Evas_Object *obj, const char *part, const char *st return pd->map.alpha; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_map_alpha_set(Evas_Object *obj, const char *part, const char *state, double value, Eina_Bool bool) { GET_PD_OR_RETURN(EINA_FALSE); @@ -7805,7 +7805,7 @@ edje_edit_state_map_alpha_set(Evas_Object *obj, const char *part, const char *st return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_map_smooth_set(Evas_Object *obj, const char *part, const char *state, double value, Eina_Bool bool) { GET_PD_OR_RETURN(EINA_FALSE); @@ -7816,7 +7816,7 @@ edje_edit_state_map_smooth_set(Evas_Object *obj, const char *part, const char *s return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_map_smooth_get(Evas_Object *obj, const char *part, const char *state, double value) { GET_PD_OR_RETURN(EINA_FALSE); @@ -7824,7 +7824,7 @@ edje_edit_state_map_smooth_get(Evas_Object *obj, const char *part, const char *s return pd->map.smooth; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_map_rotation_set(Evas_Object *obj, const char *part, const char *state, double value, double x, double y, double z) { GET_PD_OR_RETURN(EINA_FALSE); @@ -7837,7 +7837,7 @@ edje_edit_state_map_rotation_set(Evas_Object *obj, const char *part, const char return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_map_rotation_get(Evas_Object *obj, const char *part, const char *state, double value, double *x, double *y, double *z) { GET_PD_OR_RETURN(EINA_FALSE); @@ -7849,7 +7849,7 @@ edje_edit_state_map_rotation_get(Evas_Object *obj, const char *part, const char return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_map_zoom_set(Evas_Object *obj, const char *part, const char *state, double value, double x, double y) { GET_PD_OR_RETURN(EINA_FALSE); @@ -7861,7 +7861,7 @@ edje_edit_state_map_zoom_set(Evas_Object *obj, const char *part, const char *sta return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_map_zoom_get(Evas_Object *obj, const char *part, const char *state, double value, double *x, double *y) { GET_PD_OR_RETURN(EINA_FALSE); @@ -7872,7 +7872,7 @@ edje_edit_state_map_zoom_get(Evas_Object *obj, const char *part, const char *sta return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_map_perspective_zplane_set(Evas_Object *obj, const char *part, const char *state, double value, int zplane) { GET_PD_OR_RETURN(EINA_FALSE); @@ -7883,7 +7883,7 @@ edje_edit_state_map_perspective_zplane_set(Evas_Object *obj, const char *part, c return EINA_TRUE; } -EAPI int +EDJE_API int edje_edit_state_map_perspective_zplane_get(Evas_Object *obj, const char *part, const char *state, double value) { GET_PD_OR_RETURN(EINA_FALSE); @@ -7891,7 +7891,7 @@ edje_edit_state_map_perspective_zplane_get(Evas_Object *obj, const char *part, c return pd->persp.zplane; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_map_perspective_focal_set(Evas_Object *obj, const char *part, const char *state, double value, int focal) { GET_PD_OR_RETURN(EINA_FALSE); @@ -7902,7 +7902,7 @@ edje_edit_state_map_perspective_focal_set(Evas_Object *obj, const char *part, co return EINA_TRUE; } -EAPI int +EDJE_API int edje_edit_state_map_perspective_focal_get(Evas_Object *obj, const char *part, const char *state, double value) { GET_PD_OR_RETURN(EINA_FALSE); @@ -7910,7 +7910,7 @@ edje_edit_state_map_perspective_focal_get(Evas_Object *obj, const char *part, co return pd->persp.focal; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_map_light_set(Evas_Object *obj, const char *part, const char *state, double value, const char *source_part) { int src_id = -1; @@ -7926,7 +7926,7 @@ edje_edit_state_map_light_set(Evas_Object *obj, const char *part, const char *st return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_map_rotation_center_set(Evas_Object *obj, const char *part, const char *state, double value, const char *source_part) { int src_id = -1; @@ -7942,7 +7942,7 @@ edje_edit_state_map_rotation_center_set(Evas_Object *obj, const char *part, cons return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_map_point_color_get(Evas_Object *obj, const char *part, const char *state, double value, int idx, int *r, int *g, int *b, int *a) { Edje_Map_Color *color = NULL; @@ -7980,7 +7980,7 @@ edje_edit_state_map_point_color_get(Evas_Object *obj, const char *part, const ch return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_map_point_color_set(Evas_Object *obj, const char *part, const char *state, double value, int idx, int r, int g, int b, int a) { Edje_Map_Color *color = NULL; @@ -8026,7 +8026,7 @@ edje_edit_state_map_point_color_set(Evas_Object *obj, const char *part, const ch return EINA_TRUE; } -EAPI const char * +EDJE_API const char * edje_edit_state_map_perspective_get(Evas_Object *obj, const char *part, const char *state, double value) { Edje_Real_Part *erl; @@ -8042,7 +8042,7 @@ edje_edit_state_map_perspective_get(Evas_Object *obj, const char *part, const ch return NULL; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_map_perspective_set(Evas_Object *obj, const char *part, const char *state, double value, const char *source_part) { int src_id = -1; @@ -8058,7 +8058,7 @@ edje_edit_state_map_perspective_set(Evas_Object *obj, const char *part, const ch return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_map_on_get(Evas_Object *obj, const char *part, const char *state, double value) { GET_PD_OR_RETURN(EINA_FALSE); @@ -8066,7 +8066,7 @@ edje_edit_state_map_on_get(Evas_Object *obj, const char *part, const char *state return pd->map.on; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_map_on_set(Evas_Object *obj, const char *part, const char *state, double value, Eina_Bool on) { GET_PD_OR_RETURN(EINA_FALSE); @@ -8081,7 +8081,7 @@ edje_edit_state_map_on_set(Evas_Object *obj, const char *part, const char *state /* SIZE CLASSES API */ /*********************/ -EAPI Eina_List * +EDJE_API Eina_List * edje_edit_size_classes_list_get(Evas_Object *obj) { Eina_List *classes = NULL; @@ -8098,7 +8098,7 @@ edje_edit_size_classes_list_get(Evas_Object *obj) return classes; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_size_class_add(Evas_Object *obj, const char *name) { Eina_List *l; @@ -8126,7 +8126,7 @@ edje_edit_size_class_add(Evas_Object *obj, const char *name) return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_size_class_del(Evas_Object *obj, const char *name) { Eina_List *l; @@ -8148,7 +8148,7 @@ edje_edit_size_class_del(Evas_Object *obj, const char *name) return EINA_FALSE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_size_class_name_set(Evas_Object *obj, const char *name, const char *newname) { Eina_List *l; @@ -8169,7 +8169,7 @@ edje_edit_size_class_name_set(Evas_Object *obj, const char *name, const char *ne return EINA_FALSE; } #define FUNC_SIZE_CLASS(TYPE, VALUE, MIN) \ -EAPI Evas_Coord \ +EDJE_API Evas_Coord \ edje_edit_size_class_##TYPE##_##VALUE##_get(Evas_Object *obj, const char *class_name) \ { \ Eina_List *l; \ @@ -8186,7 +8186,7 @@ edje_edit_size_class_##TYPE##_##VALUE##_get(Evas_Object *obj, const char *class_ \ return 0; \ } \ -EAPI Eina_Bool \ +EDJE_API Eina_Bool \ edje_edit_size_class_##TYPE##_##VALUE##_set(Evas_Object *obj, const char *class_name, Evas_Coord size)\ { \ Eina_List *l; \ @@ -8217,7 +8217,7 @@ FUNC_SIZE_CLASS(max, h, -1) /* TEXT CLASSES API */ /*********************/ -EAPI Eina_List * +EDJE_API Eina_List * edje_edit_text_classes_list_get(Evas_Object *obj) { Eina_List *classes = NULL; @@ -8234,7 +8234,7 @@ edje_edit_text_classes_list_get(Evas_Object *obj) return classes; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_text_class_add(Evas_Object *obj, const char *name) { Eina_List *l; @@ -8259,7 +8259,7 @@ edje_edit_text_class_add(Evas_Object *obj, const char *name) return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_text_class_del(Evas_Object *obj, const char *name) { Eina_List *l; @@ -8282,7 +8282,7 @@ edje_edit_text_class_del(Evas_Object *obj, const char *name) return EINA_FALSE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_text_class_name_set(Evas_Object *obj, const char *name, const char *newname) { Eina_List *l; @@ -8303,7 +8303,7 @@ edje_edit_text_class_name_set(Evas_Object *obj, const char *name, const char *ne return EINA_FALSE; } -EAPI Eina_Stringshare * +EDJE_API Eina_Stringshare * edje_edit_text_class_font_get(Evas_Object *obj, const char *class_name) { Eina_List *l; @@ -8321,7 +8321,7 @@ edje_edit_text_class_font_get(Evas_Object *obj, const char *class_name) return NULL; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_text_class_font_set(Evas_Object *obj, const char *class_name, const char *font) { Eina_List *l; @@ -8341,7 +8341,7 @@ edje_edit_text_class_font_set(Evas_Object *obj, const char *class_name, const ch return EINA_FALSE; } -EAPI Evas_Font_Size +EDJE_API Evas_Font_Size edje_edit_text_class_size_get(Evas_Object *obj, const char *class_name) { Eina_List *l; @@ -8359,7 +8359,7 @@ edje_edit_text_class_size_get(Evas_Object *obj, const char *class_name) return 0; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_text_class_size_set(Evas_Object *obj, const char *class_name, Evas_Font_Size size) { Eina_List *l; @@ -8386,7 +8386,7 @@ edje_edit_text_class_size_set(Evas_Object *obj, const char *class_name, Evas_Fon /* TEXT API */ /**************/ -EAPI const char * +EDJE_API const char * edje_edit_state_text_get(Evas_Object *obj, const char *part, const char *state, double value) { Edje_Part_Description_Text *txt; @@ -8402,7 +8402,7 @@ edje_edit_state_text_get(Evas_Object *obj, const char *part, const char *state, return eina_stringshare_add(edje_string_get(&txt->text.text)); } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_text_set(Evas_Object *obj, const char *part, const char *state, double value, const char *text) { Edje_Part_Description_Text *txt; @@ -8439,7 +8439,7 @@ edje_edit_state_text_set(Evas_Object *obj, const char *part, const char *state, return EINA_TRUE; } -EAPI int +EDJE_API int edje_edit_state_text_size_get(Evas_Object *obj, const char *part, const char *state, double value) { Edje_Part_Description_Text *txt; @@ -8455,7 +8455,7 @@ edje_edit_state_text_size_get(Evas_Object *obj, const char *part, const char *st return txt->text.size; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_text_size_set(Evas_Object *obj, const char *part, const char *state, double value, int size) { Edje_Part_Description_Text *txt; @@ -8476,7 +8476,7 @@ edje_edit_state_text_size_set(Evas_Object *obj, const char *part, const char *st } #define FUNC_TEXT_DOUBLE(Name, Value, Min) \ - EAPI double \ + EDJE_API double \ edje_edit_state_text_##Name##_get(Evas_Object * obj, const char *part, const char *state, double value) \ { \ Edje_Part_Description_Text *txt; \ @@ -8490,7 +8490,7 @@ edje_edit_state_text_size_set(Evas_Object *obj, const char *part, const char *st txt = (Edje_Part_Description_Text *)pd; \ return TO_DOUBLE(txt->text.Value); \ } \ - EAPI Eina_Bool \ + EDJE_API Eina_Bool \ edje_edit_state_text_##Name##_set(Evas_Object * obj, const char *part, const char *state, double value, double v) \ { \ Edje_Part_Description_Text *txt; \ @@ -8516,7 +8516,7 @@ FUNC_TEXT_DOUBLE(align_y, align.y, 0.0); FUNC_TEXT_DOUBLE(elipsis, ellipsis, -1.0); #define FUNC_TEXT_BOOL(Name, Type) \ - EAPI Eina_Bool \ + EDJE_API Eina_Bool \ edje_edit_state_text_##Name##_##Type##_get(Evas_Object * obj, const char *part, const char *state, double value) \ { \ Edje_Part_Description_Text *txt; \ @@ -8530,7 +8530,7 @@ FUNC_TEXT_DOUBLE(elipsis, ellipsis, -1.0); txt = (Edje_Part_Description_Text *)pd; \ return txt->text.Name##_##Type; \ } \ - EAPI Eina_Bool \ + EDJE_API Eina_Bool \ edje_edit_state_text_##Name##_##Type##_set(Evas_Object * obj, const char *part, const char *state, double value, Eina_Bool v) \ { \ Edje_Part_Description_Text *txt; \ @@ -8555,7 +8555,7 @@ FUNC_TEXT_BOOL(min, y); FUNC_TEXT_BOOL(max, x); FUNC_TEXT_BOOL(max, y); -EAPI const char * +EDJE_API const char * edje_edit_state_text_style_get(Evas_Object *obj, const char *part, const char *state, double value) { Edje_Part_Description_Text *txt; @@ -8573,7 +8573,7 @@ edje_edit_state_text_style_get(Evas_Object *obj, const char *part, const char *s return NULL; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_text_style_set(Evas_Object *obj, const char *part, const char *state, double value, const char *style) { Edje_Part_Description_Text *txt; @@ -8599,7 +8599,7 @@ edje_edit_state_text_style_set(Evas_Object *obj, const char *part, const char *s return EINA_TRUE; } -EAPI Eina_List * +EDJE_API Eina_List * edje_edit_fonts_list_get(Evas_Object *obj) { Eina_Iterator *it; @@ -8621,7 +8621,7 @@ edje_edit_fonts_list_get(Evas_Object *obj) return fonts; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_font_add(Evas_Object *obj, const char *path, const char *alias) { char entry[PATH_MAX]; @@ -8686,7 +8686,7 @@ edje_edit_font_add(Evas_Object *obj, const char *path, const char *alias) return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_font_del(Evas_Object *obj, const char *alias) { Edje_Font_Directory_Entry *fnt; @@ -8739,7 +8739,7 @@ edje_edit_font_del(Evas_Object *obj, const char *alias) return EINA_TRUE; } -EAPI const char * +EDJE_API const char * edje_edit_font_path_get(Evas_Object *obj, const char *alias) { Eina_Iterator *it; @@ -8765,7 +8765,7 @@ edje_edit_font_path_get(Evas_Object *obj, const char *alias) return eina_stringshare_add(str); } -EAPI const char * +EDJE_API const char * edje_edit_state_font_get(Evas_Object *obj, const char *part, const char *state, double value) { Edje_Part_Description_Text *txt; @@ -8781,7 +8781,7 @@ edje_edit_state_font_get(Evas_Object *obj, const char *part, const char *state, return eina_stringshare_add(edje_string_get(&txt->text.font)); } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_font_set(Evas_Object *obj, const char *part, const char *state, double value, const char *font) { Edje_Part_Description_Text *txt; @@ -8801,7 +8801,7 @@ edje_edit_state_font_set(Evas_Object *obj, const char *part, const char *state, return EINA_TRUE; } -EAPI Edje_Text_Effect +EDJE_API Edje_Text_Effect edje_edit_part_effect_get(Evas_Object *obj, const char *part) { GET_RP_OR_RETURN(0); @@ -8810,7 +8810,7 @@ edje_edit_part_effect_get(Evas_Object *obj, const char *part) return rp->part->effect; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_part_effect_set(Evas_Object *obj, const char *part, Edje_Text_Effect effect) { if ((!obj) || (!part)) return EINA_FALSE; @@ -8825,7 +8825,7 @@ edje_edit_part_effect_set(Evas_Object *obj, const char *part, Edje_Text_Effect e return EINA_TRUE; } -EAPI const char * +EDJE_API const char * edje_edit_state_text_text_source_get(Evas_Object *obj, const char *part, const char *state, double value) { Edje_Real_Part *rel; @@ -8845,7 +8845,7 @@ edje_edit_state_text_text_source_get(Evas_Object *obj, const char *part, const c return NULL; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_text_text_source_set(Evas_Object *obj, const char *part, const char *state, double value, const char *source) { Edje_Part_Description_Text *txt; @@ -8878,7 +8878,7 @@ edje_edit_state_text_text_source_set(Evas_Object *obj, const char *part, const c return EINA_TRUE; } -EAPI const char * +EDJE_API const char * edje_edit_state_text_source_get(Evas_Object *obj, const char *part, const char *state, double value) { Edje_Real_Part *rel; @@ -8898,7 +8898,7 @@ edje_edit_state_text_source_get(Evas_Object *obj, const char *part, const char * return NULL; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_text_source_set(Evas_Object *obj, const char *part, const char *state, double value, const char *source) { Edje_Part_Description_Text *txt; @@ -8928,7 +8928,7 @@ edje_edit_state_text_source_set(Evas_Object *obj, const char *part, const char * return EINA_TRUE; } -EAPI const char * +EDJE_API const char * edje_edit_state_text_class_get(Evas_Object *obj, const char *part, const char *state, double value) { Edje_Part_Description_Text *txt; @@ -8942,7 +8942,7 @@ edje_edit_state_text_class_get(Evas_Object *obj, const char *part, const char *s return eina_stringshare_add(txt->text.text_class); } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_text_class_set(Evas_Object *obj, const char *part, const char *state, double value, const char *text_class) { Edje_Part_Description_Text *txt; @@ -8957,7 +8957,7 @@ edje_edit_state_text_class_set(Evas_Object *obj, const char *part, const char *s return EINA_TRUE; } -EAPI const char * +EDJE_API const char * edje_edit_state_text_repch_get(Evas_Object *obj, const char *part, const char *state, double value) { Edje_Part_Description_Text *txt; @@ -8972,7 +8972,7 @@ edje_edit_state_text_repch_get(Evas_Object *obj, const char *part, const char *s return eina_stringshare_add(edje_string_get(&txt->text.repch)); } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_text_repch_set(Evas_Object *obj, const char *part, const char *state, double value, const char *repch) { Edje_Part_Description_Text *txt; @@ -8991,7 +8991,7 @@ edje_edit_state_text_repch_set(Evas_Object *obj, const char *part, const char *s return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_text_size_range_min_max_get(Evas_Object *obj, const char *part, const char *state, double value, int *min, int *max) { Edje_Part_Description_Text *txt; @@ -9007,7 +9007,7 @@ edje_edit_state_text_size_range_min_max_get(Evas_Object *obj, const char *part, return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_text_size_range_min_max_set(Evas_Object *obj, const char *part, const char *state, double value, int min, int max) { Edje_Part_Description_Text *txt; @@ -9024,7 +9024,7 @@ edje_edit_state_text_size_range_min_max_set(Evas_Object *obj, const char *part, return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_proxy_source_set(Evas_Object *obj, const char *part, const char *state, double value, const char *source_name) { GET_PD_OR_RETURN(EINA_FALSE); @@ -9045,7 +9045,7 @@ edje_edit_state_proxy_source_set(Evas_Object *obj, const char *part, const char return EINA_TRUE; } -EAPI Eina_Stringshare * +EDJE_API Eina_Stringshare * edje_edit_state_proxy_source_get(Evas_Object *obj, const char *part, const char *state, double value) { GET_PD_OR_RETURN(NULL); @@ -9059,7 +9059,7 @@ edje_edit_state_proxy_source_get(Evas_Object *obj, const char *part, const char return eina_stringshare_add(source_name); } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_proxy_source_clip_set(Evas_Object *obj, const char *part, const char *state, double value, Eina_Bool clip) { GET_PD_OR_RETURN(EINA_FALSE); @@ -9072,7 +9072,7 @@ edje_edit_state_proxy_source_clip_set(Evas_Object *obj, const char *part, const return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_proxy_source_clip_get(Evas_Object *obj, const char *part, const char *state, double value) { GET_PD_OR_RETURN(EINA_FALSE); @@ -9084,7 +9084,7 @@ edje_edit_state_proxy_source_clip_get(Evas_Object *obj, const char *part, const return proxy_part->proxy.source_clip; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_proxy_source_visible_set(Evas_Object *obj, const char *part, const char *state, double value, Eina_Bool visibility) { GET_PD_OR_RETURN(EINA_FALSE); @@ -9097,7 +9097,7 @@ edje_edit_state_proxy_source_visible_set(Evas_Object *obj, const char *part, con return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_proxy_source_visible_get(Evas_Object *obj, const char *part, const char *state, double value) { GET_PD_OR_RETURN(EINA_FALSE); @@ -9113,7 +9113,7 @@ edje_edit_state_proxy_source_visible_get(Evas_Object *obj, const char *part, con /* IMAGE SET API */ /*****************/ -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_image_set_exists(Evas_Object *obj, const char *image) { Edje_Image_Directory_Set *de; @@ -9135,7 +9135,7 @@ edje_edit_image_set_exists(Evas_Object *obj, const char *image) return EINA_FALSE; } -EAPI int +EDJE_API int edje_edit_image_set_id_get(Evas_Object *obj, const char *image_name) { GET_EED_OR_RETURN(-1); @@ -9143,7 +9143,7 @@ edje_edit_image_set_id_get(Evas_Object *obj, const char *image_name) return _edje_set_id_find(eed, image_name); } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_image_set_rename(Evas_Object *obj, const char *set, const char *new_set) { Edje_Image_Directory_Set *de = NULL; @@ -9169,7 +9169,7 @@ edje_edit_image_set_rename(Evas_Object *obj, const char *set, const char *new_se return EINA_TRUE; } -EAPI Eina_List * +EDJE_API Eina_List * edje_edit_image_set_list_get(Evas_Object *obj) { Eina_List *sets = NULL; @@ -9187,7 +9187,7 @@ edje_edit_image_set_list_get(Evas_Object *obj) return sets; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_image_set_add(Evas_Object *obj, const char *name) { Edje_Image_Directory_Set *de; @@ -9242,7 +9242,7 @@ edje_edit_image_set_add(Evas_Object *obj, const char *name) return EINA_TRUE; } -EAPI Eina_List * +EDJE_API Eina_List * edje_edit_set_usage_list_get(Evas_Object *obj, const char *name, Eina_Bool first_only) { Eina_List *result = NULL; @@ -9320,7 +9320,7 @@ end: return result; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_image_set_del(Evas_Object *obj, const char *name) { Edje_Image_Directory_Set *de = NULL, *de_last = NULL; @@ -9417,7 +9417,7 @@ edje_edit_image_set_del(Evas_Object *obj, const char *name) return EINA_TRUE; } -EAPI Eina_List * +EDJE_API Eina_List * edje_edit_image_set_images_list_get(Evas_Object *obj, const char *name) { Eina_List *images = NULL, *l; @@ -9447,7 +9447,7 @@ edje_edit_image_set_images_list_get(Evas_Object *obj, const char *name) return images; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_image_set_image_add(Evas_Object *obj, const char *set_name, const char *name) { Edje_Image_Directory_Set *de = NULL; @@ -9479,7 +9479,7 @@ edje_edit_image_set_image_add(Evas_Object *obj, const char *set_name, const char return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_image_set_image_del(Evas_Object *obj, const char *set_name, unsigned int place) { Edje_Image_Directory_Set *de = NULL; @@ -9509,7 +9509,7 @@ edje_edit_image_set_image_del(Evas_Object *obj, const char *set_name, unsigned i } #define FUNC_IMAGE_SET_API_SIZE(Value) \ - EAPI Eina_Bool \ + EDJE_API Eina_Bool \ edje_edit_image_set_image_##Value##_get(Evas_Object *obj, const char *set_name, unsigned int place, int *w, int *h) \ { \ Edje_Image_Directory_Set *de = NULL; \ @@ -9531,7 +9531,7 @@ edje_edit_image_set_image_del(Evas_Object *obj, const char *set_name, unsigned i if (h) *h = dim->size.Value.h; \ return EINA_TRUE; \ } \ - EAPI Eina_Bool \ + EDJE_API Eina_Bool \ edje_edit_image_set_image_##Value##_set(Evas_Object *obj, const char *set_name, unsigned int place, int w, int h) \ { \ Edje_Image_Directory_Set *de = NULL; \ @@ -9557,7 +9557,7 @@ edje_edit_image_set_image_del(Evas_Object *obj, const char *set_name, unsigned i FUNC_IMAGE_SET_API_SIZE(min); FUNC_IMAGE_SET_API_SIZE(max); -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_image_set_image_border_get(Evas_Object *obj, const char *set_name, unsigned int place, int *l, int *r, int *t, int *b) { Edje_Image_Directory_Set *de = NULL; @@ -9588,7 +9588,7 @@ edje_edit_image_set_image_border_get(Evas_Object *obj, const char *set_name, uns return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_image_set_image_border_set(Evas_Object *obj, const char *set_name, unsigned int place, int l, int r, int t, int b) { Edje_Image_Directory_Set *de = NULL; @@ -9619,7 +9619,7 @@ edje_edit_image_set_image_border_set(Evas_Object *obj, const char *set_name, uns return EINA_TRUE; } -EAPI double +EDJE_API double edje_edit_image_set_image_border_scale_get(Evas_Object *obj, const char *set_name, unsigned int place) { Edje_Image_Directory_Set *de = NULL; @@ -9645,7 +9645,7 @@ edje_edit_image_set_image_border_scale_get(Evas_Object *obj, const char *set_nam return dim->border.scale_by; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_image_set_image_border_scale_set(Evas_Object *obj, const char *set_name, unsigned int place, double scale_by) { Edje_Image_Directory_Set *de = NULL; @@ -9677,7 +9677,7 @@ edje_edit_image_set_image_border_scale_set(Evas_Object *obj, const char *set_nam /* VECTOR API */ /****************/ -EAPI Eina_List * +EDJE_API Eina_List * edje_edit_vectors_list_get(Evas_Object *obj) { Eina_List *vectors = NULL; @@ -9695,7 +9695,7 @@ edje_edit_vectors_list_get(Evas_Object *obj) return vectors; } -EAPI int +EDJE_API int edje_edit_vector_id_get(Evas_Object *obj, const char *vector_name) { GET_EED_OR_RETURN(-1); @@ -9703,7 +9703,7 @@ edje_edit_vector_id_get(Evas_Object *obj, const char *vector_name) return _edje_vector_id_find(eed, vector_name); } -EAPI Eina_List * +EDJE_API Eina_List * edje_edit_vector_usage_list_get(Evas_Object *obj, const char *name, Eina_Bool first_only) { Eina_List *result = NULL; @@ -9769,7 +9769,7 @@ end: return result; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_vector_del(Evas_Object *obj, const char *name) { Edje_Vector_Directory_Entry *de, *de_last; @@ -9902,7 +9902,7 @@ invalid_image: /* IMAGES API */ /****************/ -EAPI Eina_List * +EDJE_API Eina_List * edje_edit_images_list_get(Evas_Object *obj) { Eina_List *images = NULL; @@ -9921,7 +9921,7 @@ edje_edit_images_list_get(Evas_Object *obj) return images; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_image_add(Evas_Object *obj, const char *path) { Edje_Image_Directory_Entry *de; @@ -9990,7 +9990,7 @@ edje_edit_image_add(Evas_Object *obj, const char *path) return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_image_replace(Evas_Object *obj, const char *name, const char *new_name) { Eina_Iterator *it; @@ -10056,7 +10056,7 @@ edje_edit_image_replace(Evas_Object *obj, const char *name, const char *new_name return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_image_rename(Evas_Object *obj, const char *name, const char *new_name) { Edje_Image_Directory_Entry *de = NULL; @@ -10080,7 +10080,7 @@ edje_edit_image_rename(Evas_Object *obj, const char *name, const char *new_name) return EINA_TRUE; } -EAPI Eina_List * +EDJE_API Eina_List * edje_edit_image_usage_list_get(Evas_Object *obj, const char *name, Eina_Bool first_only) { Eina_List *result = NULL, *l; @@ -10186,7 +10186,7 @@ end: return result; } -EAPI void +EDJE_API void edje_edit_image_usage_list_free(Eina_List *list) { Edje_Part_Image_Use *item; @@ -10199,7 +10199,7 @@ edje_edit_image_usage_list_free(Eina_List *list) } } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_image_del(Evas_Object *obj, const char *name) { Edje_Image_Directory_Entry *de, *de_last; @@ -10334,7 +10334,7 @@ invalid_image: return EINA_FALSE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_image_data_add(Evas_Object *obj, const char *name, int id) { Edje_Image_Directory_Entry *de; @@ -10364,7 +10364,7 @@ edje_edit_image_data_add(Evas_Object *obj, const char *name, int id) return EINA_TRUE; } -EAPI int +EDJE_API int edje_edit_image_id_get(Evas_Object *obj, const char *image_name) { GET_EED_OR_RETURN(-1); @@ -10372,7 +10372,7 @@ edje_edit_image_id_get(Evas_Object *obj, const char *image_name) return _edje_image_id_find(eed, image_name); } -EAPI Edje_Edit_Image_Comp +EDJE_API Edje_Edit_Image_Comp edje_edit_image_compression_type_get(Evas_Object *obj, const char *image) { Edje_Image_Directory_Entry *de = NULL; @@ -10418,7 +10418,7 @@ edje_edit_image_compression_type_get(Evas_Object *obj, const char *image) return -1; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_image_compression_type_set(Evas_Object *obj, const char *image, Edje_Edit_Image_Comp ic) { Edje_Image_Directory_Entry *de = NULL; @@ -10485,7 +10485,7 @@ edje_edit_image_compression_type_set(Evas_Object *obj, const char *image, Edje_E return EINA_FALSE; } -EAPI int +EDJE_API int edje_edit_image_compression_rate_get(Evas_Object *obj, const char *image) { Edje_Image_Directory_Entry *de; @@ -10511,7 +10511,7 @@ edje_edit_image_compression_rate_get(Evas_Object *obj, const char *image) return de->source_param; } -EAPI const char * +EDJE_API const char * edje_edit_state_image_get(Evas_Object *obj, const char *part, const char *state, double value) { Edje_Part_Description_Image *img; @@ -10534,7 +10534,7 @@ edje_edit_state_image_get(Evas_Object *obj, const char *part, const char *state, return eina_stringshare_add(image); } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_image_set(Evas_Object *obj, const char *part, const char *state, double value, const char *image) { Edje_Part_Description_Image *img; @@ -10568,7 +10568,7 @@ edje_edit_state_image_set(Evas_Object *obj, const char *part, const char *state, return EINA_TRUE; } -EAPI const char * +EDJE_API const char * edje_edit_state_vector_get(Evas_Object *obj, const char *part, const char *state, double value) { Edje_Part_Description_Vector *vec; @@ -10588,7 +10588,7 @@ edje_edit_state_vector_get(Evas_Object *obj, const char *part, const char *state return eina_stringshare_add(vector); } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_vector_set(Evas_Object *obj, const char *part, const char *state, double value, const char *vector) { Edje_Part_Description_Vector *vec; @@ -10614,7 +10614,7 @@ edje_edit_state_vector_set(Evas_Object *obj, const char *part, const char *state return EINA_TRUE; } -EAPI Eina_List * +EDJE_API Eina_List * edje_edit_state_tweens_list_get(Evas_Object *obj, const char *part, const char *state, double value) { Edje_Part_Description_Image *img; @@ -10642,7 +10642,7 @@ edje_edit_state_tweens_list_get(Evas_Object *obj, const char *part, const char * return tweens; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_tween_add(Evas_Object *obj, const char *part, const char *state, double value, const char *tween) { Edje_Part_Description_Image *img; @@ -10688,7 +10688,7 @@ edje_edit_state_tween_add(Evas_Object *obj, const char *part, const char *state, return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_tween_insert_at(Evas_Object *obj, const char *part, const char *state, double value, const char *tween, int place) { Edje_Part_Description_Image *img; @@ -10739,7 +10739,7 @@ edje_edit_state_tween_insert_at(Evas_Object *obj, const char *part, const char * return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_tween_del(Evas_Object *obj, const char *part, const char *state, double value, const char *tween) { Edje_Part_Description_Image *img; @@ -10776,7 +10776,7 @@ edje_edit_state_tween_del(Evas_Object *obj, const char *part, const char *state, return EINA_FALSE; } -EAPI void +EDJE_API void edje_edit_state_image_border_get(Evas_Object *obj, const char *part, const char *state, double value, int *l, int *r, int *t, int *b) { Edje_Part_Description_Image *img; @@ -10802,7 +10802,7 @@ edje_edit_state_image_border_get(Evas_Object *obj, const char *part, const char if (b) *b = img->image.border.b; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_image_border_set(Evas_Object *obj, const char *part, const char *state, double value, int l, int r, int t, int b) { Edje_Part_Description_Image *img; @@ -10829,7 +10829,7 @@ edje_edit_state_image_border_set(Evas_Object *obj, const char *part, const char return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_image_border_scale_get(Evas_Object *obj, const char *part, const char *state, double value) { Edje_Part_Description_Image *img; @@ -10844,7 +10844,7 @@ edje_edit_state_image_border_scale_get(Evas_Object *obj, const char *part, const return img->image.border.scale; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_image_border_scale_set(Evas_Object *obj, const char *part, const char *state, double value, Eina_Bool scale) { Edje_Part_Description_Image *img; @@ -10861,7 +10861,7 @@ edje_edit_state_image_border_scale_set(Evas_Object *obj, const char *part, const return EINA_TRUE; } -EAPI double +EDJE_API double edje_edit_state_image_border_scale_by_get(Evas_Object *obj, const char *part, const char *state, double value) { Edje_Part_Description_Image *img; @@ -10876,7 +10876,7 @@ edje_edit_state_image_border_scale_by_get(Evas_Object *obj, const char *part, co return TO_DOUBLE(img->image.border.scale_by); } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_image_border_scale_by_set(Evas_Object *obj, const char *part, const char *state, double value, double border_scale) { Edje_Part_Description_Image *img; @@ -10896,7 +10896,7 @@ edje_edit_state_image_border_scale_by_set(Evas_Object *obj, const char *part, co return EINA_TRUE; } -EAPI unsigned char +EDJE_API unsigned char edje_edit_state_image_border_fill_get(Evas_Object *obj, const char *part, const char *state, double value) { Edje_Part_Description_Image *img; @@ -10914,7 +10914,7 @@ edje_edit_state_image_border_fill_get(Evas_Object *obj, const char *part, const return 0; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_state_image_border_fill_set(Evas_Object *obj, const char *part, const char *state, double value, unsigned char fill) { Edje_Part_Description_Image *img; @@ -10976,7 +10976,7 @@ _edje_program_get_byname(Evas_Object *obj, const char *prog_name) return NULL; } -EAPI Eina_List * +EDJE_API Eina_List * edje_edit_programs_list_get(Evas_Object *obj) { Eina_List *progs = NULL; @@ -11000,7 +11000,7 @@ edje_edit_programs_list_get(Evas_Object *obj) return progs; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_program_add(Evas_Object *obj, const char *name) { Edje_Program *epr; @@ -11063,7 +11063,7 @@ edje_edit_program_add(Evas_Object *obj, const char *name) return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_program_del(Evas_Object *obj, const char *prog) { Eina_List *l, *l_next; @@ -11186,7 +11186,7 @@ edje_edit_program_del(Evas_Object *obj, const char *prog) return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_program_exist(Evas_Object *obj, const char *prog) { GET_EPR_OR_RETURN(EINA_FALSE); @@ -11194,7 +11194,7 @@ edje_edit_program_exist(Evas_Object *obj, const char *prog) return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_program_run(Evas_Object *obj, const char *prog) { GET_ED_OR_RETURN(EINA_FALSE); @@ -11204,7 +11204,7 @@ edje_edit_program_run(Evas_Object *obj, const char *prog) return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_program_stop_all(Evas_Object *obj) { GET_ED_OR_RETURN(EINA_FALSE); @@ -11218,7 +11218,7 @@ edje_edit_program_stop_all(Evas_Object *obj) return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_program_transition_state_set(Evas_Object *obj, const char *prog, double position) { Edje_Program_Target *pt; @@ -11256,7 +11256,7 @@ edje_edit_program_transition_state_set(Evas_Object *obj, const char *prog, doubl return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_program_name_set(Evas_Object *obj, const char *prog, const char *new_name) { GET_EED_OR_RETURN(EINA_FALSE); @@ -11278,7 +11278,7 @@ edje_edit_program_name_set(Evas_Object *obj, const char *prog, const char *new_n return EINA_TRUE; } -EAPI const char * +EDJE_API const char * edje_edit_program_source_get(Evas_Object *obj, const char *prog) { GET_EPR_OR_RETURN(NULL); @@ -11288,7 +11288,7 @@ edje_edit_program_source_get(Evas_Object *obj, const char *prog) return eina_stringshare_add(epr->source); } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_program_source_set(Evas_Object *obj, const char *prog, const char *source) { GET_ED_OR_RETURN(EINA_FALSE); @@ -11308,7 +11308,7 @@ edje_edit_program_source_set(Evas_Object *obj, const char *prog, const char *sou return EINA_TRUE; } -EAPI const char * +EDJE_API const char * edje_edit_program_sample_name_get(Evas_Object *obj, const char *prog) { GET_EPR_OR_RETURN(NULL); @@ -11317,7 +11317,7 @@ edje_edit_program_sample_name_get(Evas_Object *obj, const char *prog) return eina_stringshare_add(epr->sample_name); } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_program_sample_name_set(Evas_Object *obj, const char *prog, const char *name) { GET_ED_OR_RETURN(EINA_FALSE); @@ -11330,7 +11330,7 @@ edje_edit_program_sample_name_set(Evas_Object *obj, const char *prog, const char return EINA_TRUE; } -EAPI const char * +EDJE_API const char * edje_edit_program_tone_name_get(Evas_Object *obj, const char *prog) { GET_EPR_OR_RETURN(NULL); @@ -11339,7 +11339,7 @@ edje_edit_program_tone_name_get(Evas_Object *obj, const char *prog) return eina_stringshare_add(epr->tone_name); } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_program_tone_name_set(Evas_Object *obj, const char *prog, const char *name) { GET_ED_OR_RETURN(EINA_FALSE); @@ -11352,7 +11352,7 @@ edje_edit_program_tone_name_set(Evas_Object *obj, const char *prog, const char * return EINA_TRUE; } -EAPI double +EDJE_API double edje_edit_program_sample_speed_get(Evas_Object *obj, const char *prog) { GET_EPR_OR_RETURN(-1); @@ -11360,7 +11360,7 @@ edje_edit_program_sample_speed_get(Evas_Object *obj, const char *prog) return epr->speed; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_program_sample_speed_set(Evas_Object *obj, const char *prog, double speed) { GET_EPR_OR_RETURN(EINA_FALSE); @@ -11372,7 +11372,7 @@ edje_edit_program_sample_speed_set(Evas_Object *obj, const char *prog, double sp return EINA_TRUE; } -EAPI double +EDJE_API double edje_edit_program_tone_duration_get(Evas_Object *obj, const char *prog) { GET_EPR_OR_RETURN(-1); @@ -11380,7 +11380,7 @@ edje_edit_program_tone_duration_get(Evas_Object *obj, const char *prog) return epr->duration; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_program_tone_duration_set(Evas_Object *obj, const char *prog, double duration) { GET_EPR_OR_RETURN(EINA_FALSE); @@ -11392,7 +11392,7 @@ edje_edit_program_tone_duration_set(Evas_Object *obj, const char *prog, double d return EINA_TRUE; } -EAPI unsigned char +EDJE_API unsigned char edje_edit_program_channel_get(Evas_Object *obj, const char *prog) { GET_EPR_OR_RETURN(0); @@ -11400,7 +11400,7 @@ edje_edit_program_channel_get(Evas_Object *obj, const char *prog) return epr->channel; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_program_channel_set(Evas_Object *obj, const char *prog, Edje_Channel channel) { GET_EPR_OR_RETURN(EINA_FALSE); @@ -11410,7 +11410,7 @@ edje_edit_program_channel_set(Evas_Object *obj, const char *prog, Edje_Channel c return EINA_TRUE; } -EAPI const char * +EDJE_API const char * edje_edit_program_filter_part_get(Evas_Object *obj, const char *prog) { GET_EPR_OR_RETURN(NULL); @@ -11419,7 +11419,7 @@ edje_edit_program_filter_part_get(Evas_Object *obj, const char *prog) return eina_stringshare_add(epr->filter.part); } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_program_filter_part_set(Evas_Object *obj, const char *prog, const char *filter_part) { GET_ED_OR_RETURN(EINA_FALSE); @@ -11430,7 +11430,7 @@ edje_edit_program_filter_part_set(Evas_Object *obj, const char *prog, const char return EINA_TRUE; } -EAPI const char * +EDJE_API const char * edje_edit_program_filter_state_get(Evas_Object *obj, const char *prog) { GET_EPR_OR_RETURN(NULL); @@ -11439,7 +11439,7 @@ edje_edit_program_filter_state_get(Evas_Object *obj, const char *prog) return eina_stringshare_add(epr->filter.state); } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_program_filter_state_set(Evas_Object *obj, const char *prog, const char *filter_state) { GET_ED_OR_RETURN(EINA_FALSE); @@ -11450,7 +11450,7 @@ edje_edit_program_filter_state_set(Evas_Object *obj, const char *prog, const cha return EINA_TRUE; } -EAPI const char * +EDJE_API const char * edje_edit_program_signal_get(Evas_Object *obj, const char *prog) { GET_EPR_OR_RETURN(NULL); @@ -11460,7 +11460,7 @@ edje_edit_program_signal_get(Evas_Object *obj, const char *prog) return eina_stringshare_add(epr->signal); } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_program_signal_set(Evas_Object *obj, const char *prog, const char *sig) { GET_ED_OR_RETURN(EINA_FALSE); @@ -11480,7 +11480,7 @@ edje_edit_program_signal_set(Evas_Object *obj, const char *prog, const char *sig return EINA_TRUE; } -EAPI const char * +EDJE_API const char * edje_edit_program_state_get(Evas_Object *obj, const char *prog) { GET_EPR_OR_RETURN(NULL); @@ -11490,7 +11490,7 @@ edje_edit_program_state_get(Evas_Object *obj, const char *prog) return eina_stringshare_add(epr->state); } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_program_state_set(Evas_Object *obj, const char *prog, const char *state) { GET_ED_OR_RETURN(EINA_FALSE); @@ -11503,7 +11503,7 @@ edje_edit_program_state_set(Evas_Object *obj, const char *prog, const char *stat return EINA_TRUE; } -EAPI const char * +EDJE_API const char * edje_edit_program_state2_get(Evas_Object *obj, const char *prog) { GET_EPR_OR_RETURN(NULL); @@ -11513,7 +11513,7 @@ edje_edit_program_state2_get(Evas_Object *obj, const char *prog) return eina_stringshare_add(epr->state2); } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_program_state2_set(Evas_Object *obj, const char *prog, const char *state2) { GET_ED_OR_RETURN(EINA_FALSE); @@ -11526,7 +11526,7 @@ edje_edit_program_state2_set(Evas_Object *obj, const char *prog, const char *sta return EINA_TRUE; } -EAPI double +EDJE_API double edje_edit_program_value_get(Evas_Object *obj, const char *prog) { GET_EPR_OR_RETURN(-1); @@ -11535,7 +11535,7 @@ edje_edit_program_value_get(Evas_Object *obj, const char *prog) return epr->value; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_program_value_set(Evas_Object *obj, const char *prog, double value) { GET_EPR_OR_RETURN(EINA_FALSE); @@ -11545,7 +11545,7 @@ edje_edit_program_value_set(Evas_Object *obj, const char *prog, double value) return EINA_TRUE; } -EAPI double +EDJE_API double edje_edit_program_value2_get(Evas_Object *obj, const char *prog) { GET_EPR_OR_RETURN(-1); @@ -11554,7 +11554,7 @@ edje_edit_program_value2_get(Evas_Object *obj, const char *prog) return epr->value2; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_program_value2_set(Evas_Object *obj, const char *prog, double value) { GET_EPR_OR_RETURN(EINA_FALSE); @@ -11564,7 +11564,7 @@ edje_edit_program_value2_set(Evas_Object *obj, const char *prog, double value) return EINA_TRUE; } -EAPI double +EDJE_API double edje_edit_program_in_from_get(Evas_Object *obj, const char *prog) { GET_EPR_OR_RETURN(0); @@ -11573,7 +11573,7 @@ edje_edit_program_in_from_get(Evas_Object *obj, const char *prog) return epr->in.from; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_program_in_from_set(Evas_Object *obj, const char *prog, double seconds) { GET_EPR_OR_RETURN(EINA_FALSE); @@ -11583,7 +11583,7 @@ edje_edit_program_in_from_set(Evas_Object *obj, const char *prog, double seconds return EINA_TRUE; } -EAPI double +EDJE_API double edje_edit_program_in_range_get(Evas_Object *obj, const char *prog) { GET_EPR_OR_RETURN(0); @@ -11592,7 +11592,7 @@ edje_edit_program_in_range_get(Evas_Object *obj, const char *prog) return epr->in.range; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_program_in_range_set(Evas_Object *obj, const char *prog, double seconds) { GET_EPR_OR_RETURN(EINA_FALSE); @@ -11602,7 +11602,7 @@ edje_edit_program_in_range_set(Evas_Object *obj, const char *prog, double second return EINA_TRUE; } -EAPI Edje_Tween_Mode +EDJE_API Edje_Tween_Mode edje_edit_program_transition_get(Evas_Object *obj, const char *prog) { GET_EPR_OR_RETURN(-1); @@ -11611,7 +11611,7 @@ edje_edit_program_transition_get(Evas_Object *obj, const char *prog) return epr->tween.mode; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_program_transition_set(Evas_Object *obj, const char *prog, Edje_Tween_Mode transition) { GET_EPR_OR_RETURN(EINA_FALSE); @@ -11622,7 +11622,7 @@ edje_edit_program_transition_set(Evas_Object *obj, const char *prog, Edje_Tween_ } #define FUNC_PROGRAM_TRANSITION_VALUE(Num) \ - EAPI double \ + EDJE_API double \ edje_edit_program_transition_value##Num##_get(Evas_Object * obj, const char *prog) \ { \ eina_error_set(0); \ @@ -11631,7 +11631,7 @@ edje_edit_program_transition_set(Evas_Object *obj, const char *prog, Edje_Tween_ \ return TO_DOUBLE(epr->tween.v##Num); \ } \ - EAPI Eina_Bool \ + EDJE_API Eina_Bool \ edje_edit_program_transition_value##Num##_set(Evas_Object * obj, const char *prog, double value) \ { \ eina_error_set(0); \ @@ -11649,7 +11649,7 @@ FUNC_PROGRAM_TRANSITION_VALUE(4) #undef FUNC_PROGRAM_TRANSITION_VALUE -EAPI double +EDJE_API double edje_edit_program_transition_time_get(Evas_Object *obj, const char *prog) { GET_EPR_OR_RETURN(-1); @@ -11658,7 +11658,7 @@ edje_edit_program_transition_time_get(Evas_Object *obj, const char *prog) return TO_DOUBLE(epr->tween.time); } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_program_transition_time_set(Evas_Object *obj, const char *prog, double seconds) { GET_EPR_OR_RETURN(EINA_FALSE); @@ -11668,7 +11668,7 @@ edje_edit_program_transition_time_set(Evas_Object *obj, const char *prog, double return EINA_TRUE; } -EAPI Edje_Action_Type +EDJE_API Edje_Action_Type edje_edit_program_action_get(Evas_Object *obj, const char *prog) { GET_EPR_OR_RETURN(-1); @@ -11677,7 +11677,7 @@ edje_edit_program_action_get(Evas_Object *obj, const char *prog) return epr->action; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_program_action_set(Evas_Object *obj, const char *prog, Edje_Action_Type action) { Program_Script *ps; @@ -11819,7 +11819,7 @@ _edje_program_targets_get(Evas_Object *obj, Edje_Program *epr) return targets; } -EAPI Eina_List * +EDJE_API Eina_List * edje_edit_program_targets_get(Evas_Object *obj, const char *prog) { GET_EPR_OR_RETURN(NULL); @@ -11827,7 +11827,7 @@ edje_edit_program_targets_get(Evas_Object *obj, const char *prog) return _edje_program_targets_get(obj, epr); } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_program_targets_clear(Evas_Object *obj, const char *prog) { GET_EPR_OR_RETURN(EINA_FALSE); @@ -11885,7 +11885,7 @@ _program_target_id_get(Evas_Object *obj, Edje *ed, Edje_Action_Type action, cons return id; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_program_target_add(Evas_Object *obj, const char *prog, const char *target) { int id; @@ -11906,7 +11906,7 @@ edje_edit_program_target_add(Evas_Object *obj, const char *prog, const char *tar return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_program_target_insert_at(Evas_Object *obj, const char *prog, const char *target, int place) { int id; @@ -11934,7 +11934,7 @@ edje_edit_program_target_insert_at(Evas_Object *obj, const char *prog, const cha return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_program_target_del(Evas_Object *obj, const char *prog, const char *target) { int id; @@ -11979,7 +11979,7 @@ _edje_program_afters_get(Evas_Object *obj, Edje_Program *epr) return afters; } -EAPI Eina_List * +EDJE_API Eina_List * edje_edit_program_afters_get(Evas_Object *obj, const char *prog) { GET_EPR_OR_RETURN(NULL); @@ -11987,7 +11987,7 @@ edje_edit_program_afters_get(Evas_Object *obj, const char *prog) return _edje_program_afters_get(obj, epr); } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_program_afters_clear(Evas_Object *obj, const char *prog) { GET_EPR_OR_RETURN(EINA_FALSE); @@ -12004,7 +12004,7 @@ edje_edit_program_afters_clear(Evas_Object *obj, const char *prog) return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_program_after_add(Evas_Object *obj, const char *prog, const char *after) { Edje_Program *af; @@ -12025,7 +12025,7 @@ edje_edit_program_after_add(Evas_Object *obj, const char *prog, const char *afte return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_program_after_insert_at(Evas_Object *obj, const char *prog, const char *after, int place) { Edje_Program *af; @@ -12056,7 +12056,7 @@ edje_edit_program_after_insert_at(Evas_Object *obj, const char *prog, const char return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_program_after_del(Evas_Object *obj, const char *prog, const char *after) { Edje_Program *af; @@ -12078,7 +12078,7 @@ edje_edit_program_after_del(Evas_Object *obj, const char *prog, const char *afte return EINA_TRUE; } -EAPI const char * +EDJE_API const char * edje_edit_program_api_name_get(Evas_Object *obj, const char *prog) { GET_EPR_OR_RETURN(NULL); @@ -12086,7 +12086,7 @@ edje_edit_program_api_name_get(Evas_Object *obj, const char *prog) return eina_stringshare_add(epr->api.name); } -EAPI const char * +EDJE_API const char * edje_edit_program_api_description_get(Evas_Object *obj, const char *prog) { GET_EPR_OR_RETURN(NULL); @@ -12094,7 +12094,7 @@ edje_edit_program_api_description_get(Evas_Object *obj, const char *prog) return eina_stringshare_add(epr->api.description); } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_program_api_name_set(Evas_Object *obj, const char *prog, const char *name) { GET_ED_OR_RETURN(EINA_FALSE); @@ -12105,7 +12105,7 @@ edje_edit_program_api_name_set(Evas_Object *obj, const char *prog, const char *n return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_program_api_description_set(Evas_Object *obj, const char *prog, const char *description) { GET_ED_OR_RETURN(EINA_FALSE); @@ -12119,7 +12119,7 @@ edje_edit_program_api_description_set(Evas_Object *obj, const char *prog, const /*************************/ /* EMBRYO SCRIPTS API */ /*************************/ -EAPI char * +EDJE_API char * edje_edit_script_get(Evas_Object *obj) { GET_EED_OR_RETURN(NULL); @@ -12131,7 +12131,7 @@ edje_edit_script_get(Evas_Object *obj) return strdup(eed->embryo_source); } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_script_set(Evas_Object *obj, const char *code) { GET_EED_OR_RETURN(EINA_FALSE); @@ -12151,7 +12151,7 @@ edje_edit_script_set(Evas_Object *obj, const char *code) return EINA_TRUE; } -EAPI char * +EDJE_API char * edje_edit_script_program_get(Evas_Object *obj, const char *prog) { Program_Script *ps; @@ -12169,7 +12169,7 @@ edje_edit_script_program_get(Evas_Object *obj, const char *prog) return ps->code ? strdup(ps->code) : NULL; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_script_program_set(Evas_Object *obj, const char *prog, const char *code) { Program_Script *ps; @@ -12630,7 +12630,7 @@ almost_out: return success; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_script_compile(Evas_Object *obj) { GET_EED_OR_RETURN(EINA_FALSE); @@ -12641,7 +12641,7 @@ edje_edit_script_compile(Evas_Object *obj) return _edje_edit_embryo_rebuild(eed); } -EAPI const Eina_List * +EDJE_API const Eina_List * edje_edit_script_error_list_get(Evas_Object *obj) { GET_EED_OR_RETURN(NULL); @@ -13112,19 +13112,19 @@ _edje_edit_source_generate(Evas_Object *obj, Eina_Bool without_global_data) return str; } -EAPI const char * +EDJE_API const char * edje_edit_source_generate(Evas_Object *obj) { return _edje_edit_source_generate(obj, EINA_FALSE); } -EAPI const char * +EDJE_API const char * edje_edit_object_source_generate(Evas_Object *obj) { return _edje_edit_source_generate(obj, EINA_TRUE); } -EAPI const char * +EDJE_API const char * edje_edit_data_source_generate(Evas_Object *obj) { Eina_Strbuf *buf = NULL; @@ -13174,7 +13174,7 @@ edje_edit_data_source_generate(Evas_Object *obj) return str; } -EAPI Eina_List * +EDJE_API Eina_List * edje_edit_object_color_class_list_get(Evas_Object *obj) { Edje_Part_Collection_Directory_Entry *ce; @@ -13208,7 +13208,7 @@ edje_edit_object_color_class_list_get(Evas_Object *obj) return color_classes; } -EAPI const char * +EDJE_API const char * edje_edit_color_classes_source_generate(Evas_Object *obj, Eina_List *color_classes) { Eina_Strbuf *buf; @@ -16264,7 +16264,7 @@ _edje_generate_source(Evas_Object *obj) return buf; } -EAPI char * +EDJE_API char * edje_edit_full_source_generate(Evas_Object *obj) { Eina_Strbuf *code = _edje_generate_source(obj); @@ -16564,7 +16564,7 @@ _edje_edit_internal_save(Evas_Object *obj, int current_only, Eina_Bool generate_ return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_clean_save_as(Evas_Object *obj, const char *new_file_name) { Eet_File *ef, *ef_out; @@ -16650,19 +16650,19 @@ edje_edit_clean_save_as(Evas_Object *obj, const char *new_file_name) return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_save(Evas_Object *obj) { return _edje_edit_internal_save(obj, 1, EINA_TRUE); } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_save_all(Evas_Object *obj) { return _edje_edit_internal_save(obj, 0, EINA_TRUE); } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_edit_without_source_save(Evas_Object *obj, Eina_Bool current_group) { GET_ED_OR_RETURN(EINA_FALSE); @@ -16702,7 +16702,7 @@ edje_edit_without_source_save(Evas_Object *obj, Eina_Bool current_group) return EINA_TRUE; } -EAPI void +EDJE_API void edje_edit_print_internal_status(Evas_Object *obj) { /* diff --git a/src/lib/edje/edje_edit_eo.h b/src/lib/edje/edje_edit_eo.h index c29b6e4da3..1901ab86fd 100644 --- a/src/lib/edje/edje_edit_eo.h +++ b/src/lib/edje/edje_edit_eo.h @@ -23,6 +23,6 @@ typedef Eo Edje_Edit; */ #define EDJE_EDIT_CLASS edje_edit_class_get() -EWAPI const Efl_Class *edje_edit_class_get(void) EINA_CONST; +EDJE_API EDJE_API_WEAK const Efl_Class *edje_edit_class_get(void) EINA_CONST; #endif diff --git a/src/lib/edje/edje_external.c b/src/lib/edje/edje_external.c index 87ef983737..9bbd4d1aae 100644 --- a/src/lib/edje/edje_external.c +++ b/src/lib/edje/edje_external.c @@ -3,7 +3,7 @@ static Eina_Hash *type_registry = NULL; static int init_count = 0; -EAPI const char * +EDJE_API const char * edje_external_param_type_str(Edje_External_Param_Type type) { switch (type) @@ -150,7 +150,7 @@ _edje_object_part_external_param_type_get(Edje *ed, const char *part, const char return EDJE_EXTERNAL_PARAM_TYPE_MAX; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_external_type_register(const char *type_name, const Edje_External_Type *type_info) { if (!type_name) @@ -175,7 +175,7 @@ edje_external_type_register(const char *type_name, const Edje_External_Type *typ return eina_hash_add(type_registry, type_name, type_info); } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_external_type_unregister(const char *type_name) { if (!type_name) @@ -183,7 +183,7 @@ edje_external_type_unregister(const char *type_name) return eina_hash_del_by_key(type_registry, type_name); } -EAPI void +EDJE_API void edje_external_type_array_register(const Edje_External_Type_Info *array) { const Edje_External_Type_Info *itr; @@ -206,7 +206,7 @@ edje_external_type_array_register(const Edje_External_Type_Info *array) } } -EAPI void +EDJE_API void edje_external_type_array_unregister(const Edje_External_Type_Info *array) { const Edje_External_Type_Info *itr; @@ -218,19 +218,19 @@ edje_external_type_array_unregister(const Edje_External_Type_Info *array) eina_hash_del(type_registry, itr->name, itr->info); } -EAPI unsigned int +EDJE_API unsigned int edje_external_type_abi_version_get(void) { return EDJE_EXTERNAL_TYPE_ABI_VERSION; } -EAPI Eina_Iterator * +EDJE_API Eina_Iterator * edje_external_iterator_get(void) { return eina_hash_iterator_tuple_new(type_registry); } -EAPI Edje_External_Param * +EDJE_API Edje_External_Param * edje_external_param_find(const Eina_List *params, const char *key) { const Eina_List *l; @@ -242,7 +242,7 @@ edje_external_param_find(const Eina_List *params, const char *key) return NULL; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_external_param_int_get(const Eina_List *params, const char *key, int *ret) { Edje_External_Param *param; @@ -259,7 +259,7 @@ edje_external_param_int_get(const Eina_List *params, const char *key, int *ret) return EINA_FALSE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_external_param_double_get(const Eina_List *params, const char *key, double *ret) { Edje_External_Param *param; @@ -276,7 +276,7 @@ edje_external_param_double_get(const Eina_List *params, const char *key, double return EINA_FALSE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_external_param_string_get(const Eina_List *params, const char *key, const char **ret) { Edje_External_Param *param; @@ -293,7 +293,7 @@ edje_external_param_string_get(const Eina_List *params, const char *key, const c return EINA_FALSE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_external_param_bool_get(const Eina_List *params, const char *key, Eina_Bool *ret) { Edje_External_Param *param; @@ -310,7 +310,7 @@ edje_external_param_bool_get(const Eina_List *params, const char *key, Eina_Bool return EINA_FALSE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_external_param_choice_get(const Eina_List *params, const char *key, const char **ret) { Edje_External_Param *param; @@ -327,7 +327,7 @@ edje_external_param_choice_get(const Eina_List *params, const char *key, const c return EINA_FALSE; } -EAPI const Edje_External_Param_Info * +EDJE_API const Edje_External_Param_Info * edje_external_param_info_get(const char *type_name) { Edje_External_Type *type; @@ -338,7 +338,7 @@ edje_external_param_info_get(const char *type_name) return type->parameters_info; } -EAPI const Edje_External_Type * +EDJE_API const Edje_External_Type * edje_external_type_get(const char *type_name) { return eina_hash_find(type_registry, type_name); diff --git a/src/lib/edje/edje_legacy.c b/src/lib/edje/edje_legacy.c index 299b61c598..5517bd2d8c 100644 --- a/src/lib/edje/edje_legacy.c +++ b/src/lib/edje/edje_legacy.c @@ -11,7 +11,7 @@ rp = _edje_real_part_recursive_get(&ed, part);\ if (!rp) return x;\ -EAPI Edje_Load_Error +EDJE_API Edje_Load_Error edje_object_load_error_get(const Eo *obj) { Edje *ed; @@ -21,7 +21,7 @@ edje_object_load_error_get(const Eo *obj) return ed->load_error; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_object_part_geometry_get(const Edje_Object *obj, const char *part, int *x, int *y, int *w, int *h) { Edje_Real_Part *rp; @@ -60,7 +60,7 @@ edje_object_part_geometry_get(const Edje_Object *obj, const char *part, int *x, return EINA_TRUE; } -EAPI const char * +EDJE_API const char * edje_object_part_state_get(const Edje_Object *obj, const char * part, double *val_ret) { const char *str = ""; @@ -68,20 +68,20 @@ edje_object_part_state_get(const Edje_Object *obj, const char * part, double *va return str; } -EAPI void +EDJE_API void edje_object_message_signal_process(Edje_Object *obj) { efl_layout_signal_process(obj, EINA_FALSE); } /* since 1.20 */ -EAPI void +EDJE_API void edje_object_message_signal_recursive_process(Edje_Object *obj) { efl_layout_signal_process(obj, EINA_TRUE); } -EAPI void +EDJE_API void edje_object_signal_callback_add(Evas_Object *obj, const char *emission, const char *source, Edje_Signal_Cb func, void *data) { Edje *ed; @@ -91,7 +91,7 @@ edje_object_signal_callback_add(Evas_Object *obj, const char *emission, const ch _edje_object_signal_callback_add(obj, ed, emission, source, func, NULL, NULL, data); } -EAPI void * +EDJE_API void * edje_object_signal_callback_del_full(Evas_Object *obj, const char *emission, const char *source, Edje_Signal_Cb func, void *data) { Edje_Signal_Callback_Group *gp; @@ -135,7 +135,7 @@ edje_object_signal_callback_del_full(Evas_Object *obj, const char *emission, con return NULL; } -EAPI void * +EDJE_API void * edje_object_signal_callback_del(Evas_Object *obj, const char *emission, const char *source, Edje_Signal_Cb func) { // Legacy del_full seems to have been sloppy with NULL data, as that would @@ -143,41 +143,41 @@ edje_object_signal_callback_del(Evas_Object *obj, const char *emission, const ch return edje_object_signal_callback_del_full(obj, emission, source, func, NULL); } -EAPI void +EDJE_API void edje_object_signal_emit(Evas_Object *obj, const char *emission, const char *source) { efl_layout_signal_emit(obj, emission, source); } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_object_part_external_param_set(Eo *obj, const char *part, const Edje_External_Param *param) { Edje *ed = _edje_fetch(obj); return _edje_object_part_external_param_set(ed, part, param); } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_object_part_external_param_get(const Eo *obj, const char *part, Edje_External_Param *param) { Edje *ed = _edje_fetch(obj); return _edje_object_part_external_param_get(ed, part, param); } -EAPI Edje_External_Param_Type +EDJE_API Edje_External_Param_Type edje_object_part_external_param_type_get(const Eo *obj, const char *part, const char *param) { Edje *ed = _edje_fetch(obj); return _edje_object_part_external_param_type_get(ed, part, param); } -EAPI Evas_Object * +EDJE_API Evas_Object * edje_object_part_external_object_get(const Edje_Object *obj, const char *part) { return efl_content_get(efl_part(obj, part)); } /* Legacy only. Shall we deprecate this API? */ -EAPI Evas_Object * +EDJE_API Evas_Object * edje_object_part_external_content_get(const Edje_Object *obj, const char *part, const char *content) { Edje *ed = _edje_fetch(obj); @@ -185,190 +185,190 @@ edje_object_part_external_content_get(const Edje_Object *obj, const char *part, } /* Efl.Ui.I18n APIs */ -EAPI void +EDJE_API void edje_object_mirrored_set(Edje_Object *obj, Eina_Bool rtl) { efl_ui_mirrored_set(obj, rtl); } -EAPI Eina_Bool edje_object_mirrored_get(const Edje_Object *obj) +EDJE_API Eina_Bool edje_object_mirrored_get(const Edje_Object *obj) { return efl_ui_mirrored_get(obj); } -EAPI void edje_object_language_set(Edje_Object *obj, const char *language) +EDJE_API void edje_object_language_set(Edje_Object *obj, const char *language) { efl_ui_language_set(obj, language); } -EAPI const char *edje_object_language_get(const Edje_Object *obj) +EDJE_API const char *edje_object_language_get(const Edje_Object *obj) { return efl_ui_language_get(obj); } -EAPI Eina_Bool edje_object_scale_set(Edje_Object *obj, double scale) +EDJE_API Eina_Bool edje_object_scale_set(Edje_Object *obj, double scale) { efl_gfx_entity_scale_set(obj, scale); return EINA_TRUE; } -EAPI double edje_object_scale_get(const Edje_Object *obj) +EDJE_API double edje_object_scale_get(const Edje_Object *obj) { return efl_gfx_entity_scale_get(obj); } /* Legacy part drag APIs */ -EAPI Edje_Drag_Dir +EDJE_API Edje_Drag_Dir edje_object_part_drag_dir_get(const Evas_Object *obj, const char *part) { return (Edje_Drag_Dir)efl_ui_drag_dir_get(efl_part(obj, part)); } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_object_part_drag_value_set(Evas_Object *obj, const char *part, double dx, double dy) { return efl_ui_drag_value_set(efl_part(obj, part), dx, dy); } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_object_part_drag_value_get(const Evas_Object *obj, const char *part, double *dx, double *dy) { return efl_ui_drag_value_get(efl_part(obj, part), dx, dy); } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_object_part_drag_size_set(Evas_Object *obj, const char *part, double dw, double dh) { return efl_ui_drag_size_set(efl_part(obj, part), dw, dh); } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_object_part_drag_size_get(const Evas_Object *obj, const char *part, double *dw, double *dh) { return efl_ui_drag_size_get(efl_part(obj, part), dw, dh); } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_object_part_drag_step_set(Evas_Object *obj, const char *part, double dx, double dy) { return efl_ui_drag_step_set(efl_part(obj, part), dx, dy); } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_object_part_drag_step_get(const Evas_Object *obj, const char *part, double *dx, double *dy) { return efl_ui_drag_step_get(efl_part(obj, part), dx, dy); } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_object_part_drag_page_set(Evas_Object *obj, const char *part, double dx, double dy) { return efl_ui_drag_page_set(efl_part(obj, part), dx, dy); } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_object_part_drag_page_get(const Evas_Object *obj, const char *part, double *dx, double *dy) { return efl_ui_drag_page_get(efl_part(obj, part), dx, dy); } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_object_part_drag_step(Evas_Object *obj, const char *part, double dx, double dy) { return efl_ui_drag_step_move(efl_part(obj, part), dx, dy); } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_object_part_drag_page(Evas_Object *obj, const char *part, double dx, double dy) { return efl_ui_drag_page_move(efl_part(obj, part), dx, dy); } -EAPI void +EDJE_API void edje_object_part_text_cursor_begin_set(Edje_Object *obj, const char *part EINA_UNUSED, Edje_Cursor cur) { GET_REAL_PART_ON_FAIL_RETURN() _edje_text_cursor_begin(rp, _edje_text_cursor_get(rp, cur)); } -EAPI void +EDJE_API void edje_object_part_text_cursor_end_set(Edje_Object *obj, const char *part EINA_UNUSED, Edje_Cursor cur) { GET_REAL_PART_ON_FAIL_RETURN() _edje_text_cursor_end(rp, _edje_text_cursor_get(rp, cur)); } -EAPI void +EDJE_API void edje_object_part_text_cursor_pos_set(Edje_Object *obj, const char * part EINA_UNUSED, Edje_Cursor cur, int pos) { GET_REAL_PART_ON_FAIL_RETURN() _edje_text_cursor_pos_set(rp, _edje_text_cursor_get(rp, cur), pos); } -EAPI int +EDJE_API int edje_object_part_text_cursor_pos_get(const Edje_Object *obj, const char * part EINA_UNUSED, Edje_Cursor cur) { GET_REAL_PART_ON_FAIL_RETURN(0) return _edje_text_cursor_pos_get(rp, _edje_text_cursor_get(rp, cur)); } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_object_part_text_cursor_coord_set(Edje_Object *obj, const char *part EINA_UNUSED, Edje_Cursor cur, int x, int y) { GET_REAL_PART_ON_FAIL_RETURN(EINA_FALSE) return _edje_text_cursor_coord_set(rp, _edje_text_cursor_get(rp, cur), x, y); } -EAPI void +EDJE_API void edje_object_part_text_cursor_line_begin_set(Edje_Object *obj, const char *part EINA_UNUSED, Edje_Cursor cur) { GET_REAL_PART_ON_FAIL_RETURN() _edje_text_cursor_line_begin(rp, _edje_text_cursor_get(rp, cur)); } -EAPI void +EDJE_API void edje_object_part_text_cursor_line_end_set(Edje_Object *obj, const char *part EINA_UNUSED, Edje_Cursor cur) { GET_REAL_PART_ON_FAIL_RETURN() _edje_text_cursor_line_end(rp, _edje_text_cursor_get(rp, cur)); } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_object_part_text_cursor_prev(Edje_Object *obj, const char *part EINA_UNUSED, Edje_Cursor cur) { GET_REAL_PART_ON_FAIL_RETURN(EINA_FALSE) return _edje_text_cursor_prev(rp, _edje_text_cursor_get(rp, cur)); } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_object_part_text_cursor_next(Edje_Object *obj, const char *part EINA_UNUSED, Edje_Cursor cur) { GET_REAL_PART_ON_FAIL_RETURN(EINA_FALSE) return _edje_text_cursor_next(rp, _edje_text_cursor_get(rp, cur)); } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_object_part_text_cursor_down(Edje_Object *obj, const char *part EINA_UNUSED, Edje_Cursor cur) { GET_REAL_PART_ON_FAIL_RETURN(EINA_FALSE) return _edje_text_cursor_down(rp, _edje_text_cursor_get(rp, cur)); } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_object_part_text_cursor_up(Edje_Object *obj, const char *part EINA_UNUSED, Edje_Cursor cur) { GET_REAL_PART_ON_FAIL_RETURN(EINA_FALSE) return _edje_text_cursor_up(rp, _edje_text_cursor_get(rp, cur)); } -EAPI void +EDJE_API void edje_object_part_text_cursor_copy(Edje_Object *obj, const char *part EINA_UNUSED, Edje_Cursor cur, Edje_Cursor dst) { GET_REAL_PART_ON_FAIL_RETURN() _edje_text_cursor_copy(rp, _edje_text_cursor_get(rp, cur), _edje_text_cursor_get(rp, dst)); } -EAPI char * +EDJE_API char * edje_object_part_text_cursor_content_get(const Edje_Object *obj, const char *part EINA_UNUSED, Edje_Cursor cur) { GET_REAL_PART_ON_FAIL_RETURN(NULL) @@ -380,7 +380,7 @@ edje_object_part_text_cursor_content_get(const Edje_Object *obj, const char *par return NULL; } -EAPI void +EDJE_API void edje_object_part_text_cursor_geometry_get(const Edje_Object *obj, const char * part EINA_UNUSED, int *x, int *y, int *w, int *h) { GET_REAL_PART_ON_FAIL_RETURN() @@ -392,7 +392,7 @@ edje_object_part_text_cursor_geometry_get(const Edje_Object *obj, const char * p } } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_object_part_text_hide_visible_password(Eo *obj, const char *part) { GET_REAL_PART_ON_FAIL_RETURN(EINA_FALSE) @@ -410,7 +410,7 @@ edje_object_part_text_hide_visible_password(Eo *obj, const char *part) return int_ret; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_object_part_text_cursor_is_format_get(const Eo *obj, const char *part, Edje_Cursor cur) { GET_REAL_PART_ON_FAIL_RETURN(EINA_FALSE) @@ -421,7 +421,7 @@ edje_object_part_text_cursor_is_format_get(const Eo *obj, const char *part, Edje return EINA_FALSE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_object_part_text_cursor_is_visible_format_get(const Eo *obj, const char *part, Edje_Cursor cur) { GET_REAL_PART_ON_FAIL_RETURN(EINA_FALSE) @@ -433,7 +433,7 @@ edje_object_part_text_cursor_is_visible_format_get(const Eo *obj, const char *pa return EINA_FALSE; } -EAPI const Eina_List * +EDJE_API const Eina_List * edje_object_part_text_anchor_list_get(const Eo *obj, const char *part) { GET_REAL_PART_ON_FAIL_RETURN(NULL) @@ -443,7 +443,7 @@ edje_object_part_text_anchor_list_get(const Eo *obj, const char *part) return NULL; } -EAPI const Eina_List * +EDJE_API const Eina_List * edje_object_part_text_anchor_geometry_get(const Eo *obj, const char *part, const char *anchor) { GET_REAL_PART_ON_FAIL_RETURN(NULL) @@ -453,7 +453,7 @@ edje_object_part_text_anchor_geometry_get(const Eo *obj, const char *part, const return NULL; } -EAPI void +EDJE_API void edje_object_part_text_style_user_push(Eo *obj, const char *part, const char *style) { Evas_Textblock_Style *ts; @@ -472,7 +472,7 @@ edje_object_part_text_style_user_push(Eo *obj, const char *part, const char *sty _edje_recalc(ed); } -EAPI void +EDJE_API void edje_object_part_text_style_user_pop(Eo *obj, const char *part) { GET_REAL_PART_ON_FAIL_RETURN() @@ -486,7 +486,7 @@ edje_object_part_text_style_user_pop(Eo *obj, const char *part) _edje_recalc(ed); } -EAPI const char * +EDJE_API const char * edje_object_part_text_style_user_peek(const Eo *obj, const char *part) { Edje_Real_Part *rp; @@ -508,7 +508,7 @@ edje_object_part_text_style_user_peek(const Eo *obj, const char *part) return NULL; } -EAPI const Eina_List * +EDJE_API const Eina_List * edje_object_part_text_item_list_get(const Eo *obj, const char *part) { GET_REAL_PART_ON_FAIL_RETURN(NULL) @@ -518,7 +518,7 @@ edje_object_part_text_item_list_get(const Eo *obj, const char *part) return NULL; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_object_part_text_item_geometry_get(const Eo *obj, const char *part, const char *item, Evas_Coord *cx, Evas_Coord *cy, Evas_Coord *cw, Evas_Coord *ch) { GET_REAL_PART_ON_FAIL_RETURN(EINA_FALSE) @@ -530,7 +530,7 @@ edje_object_part_text_item_geometry_get(const Eo *obj, const char *part, const c return EINA_FALSE; } -EAPI void +EDJE_API void edje_object_text_insert_filter_callback_add(Eo *obj, const char *part, Edje_Text_Filter_Cb func, void *data) { Edje_Text_Insert_Filter_Callback *cb; @@ -548,7 +548,7 @@ edje_object_text_insert_filter_callback_add(Eo *obj, const char *part, Edje_Text eina_list_append(ed->text_insert_filter_callbacks, cb); } -EAPI void * +EDJE_API void * edje_object_text_insert_filter_callback_del(Eo *obj, const char *part, Edje_Text_Filter_Cb func) { Edje_Text_Insert_Filter_Callback *cb; @@ -575,7 +575,7 @@ edje_object_text_insert_filter_callback_del(Eo *obj, const char *part, Edje_Text return NULL; } -EAPI void * +EDJE_API void * edje_object_text_insert_filter_callback_del_full(Eo *obj, const char *part, Edje_Text_Filter_Cb func, void *data) { Edje_Text_Insert_Filter_Callback *cb; @@ -603,7 +603,7 @@ edje_object_text_insert_filter_callback_del_full(Eo *obj, const char *part, Edje return NULL; } -EAPI void +EDJE_API void edje_object_text_markup_filter_callback_add(Eo *obj, const char *part, Edje_Markup_Filter_Cb func, void *data) { Edje_Markup_Filter_Callback *cb; @@ -621,7 +621,7 @@ edje_object_text_markup_filter_callback_add(Eo *obj, const char *part, Edje_Mark eina_list_append(ed->markup_filter_callbacks, cb); } -EAPI void * +EDJE_API void * edje_object_text_markup_filter_callback_del(Eo *obj, const char *part, Edje_Markup_Filter_Cb func) { Edje_Markup_Filter_Callback *cb; @@ -648,7 +648,7 @@ edje_object_text_markup_filter_callback_del(Eo *obj, const char *part, Edje_Mark return NULL; } -EAPI void * +EDJE_API void * edje_object_text_markup_filter_callback_del_full(Eo *obj, const char *part, Edje_Markup_Filter_Cb func, void *data) { Edje_Markup_Filter_Callback *cb; @@ -676,7 +676,7 @@ edje_object_text_markup_filter_callback_del_full(Eo *obj, const char *part, Edje return NULL; } -EAPI void +EDJE_API void edje_object_part_text_user_insert(const Eo *obj, const char *part, const char *text) { Edje_Real_Part *rp; @@ -729,7 +729,7 @@ _edje_object_part_text_raw_append(Edje *ed, Evas_Object *obj, Edje_Real_Part *rp return EINA_TRUE; } -EAPI void +EDJE_API void edje_object_part_text_append(Eo *obj, const char *part, const char *text) { Edje_Real_Part *rp; @@ -754,7 +754,7 @@ edje_object_part_text_append(Eo *obj, const char *part, const char *text) ed->text_change.func(ed->text_change.data, obj, part); } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_object_part_text_escaped_set(Eo *obj, const char *part, const char *text) { Edje_Real_Part *rp; @@ -941,7 +941,7 @@ _edje_text_unescape(const char *text) return ret; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_object_part_text_unescaped_set(Eo *obj, const char *part, const char *text_to_escape) { Edje_Real_Part *rp; @@ -970,7 +970,7 @@ edje_object_part_text_unescaped_set(Eo *obj, const char *part, const char *text_ return int_ret; } -EAPI char * +EDJE_API char * edje_object_part_text_unescaped_get(const Eo *obj, const char *part) { Edje_Real_Part *rp; @@ -1025,7 +1025,7 @@ _edje_object_part_text_insert(Edje *ed, Edje_Real_Part *rp, const char *text) _edje_recalc(ed); } -EAPI void +EDJE_API void edje_object_part_text_insert(Eo *obj, const char *part, const char *text) { Edje_Real_Part *rp; @@ -1043,25 +1043,25 @@ edje_object_part_text_insert(Eo *obj, const char *part, const char *text) /* Calc interface APIs */ -EAPI void +EDJE_API void edje_object_update_hints_set(Edje_Object *obj, Eina_Bool update) { efl_layout_calc_auto_update_hints_set(obj, update); } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_object_update_hints_get(const Edje_Object *obj) { return efl_layout_calc_auto_update_hints_get(obj); } -EAPI void +EDJE_API void edje_object_size_min_calc(Edje_Object *obj, int *minw, int *minh) { edje_object_size_min_restricted_calc(obj, minw, minh, 0, 0); } -EAPI void +EDJE_API void edje_object_size_min_restricted_calc(Edje_Object *obj, int *minw, int *minh, int restrictedw, int restrictedh) { Eina_Size2D sz = { restrictedw, restrictedh }; @@ -1079,7 +1079,7 @@ edje_object_size_min_restricted_calc(Edje_Object *obj, int *minw, int *minh, int if (minh) *minh = sz.h; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_object_parts_extends_calc(Edje_Object *obj, int *x, int *y, int *w, int *h) { Eina_Rect r = EINA_RECT_ZERO(); @@ -1094,45 +1094,45 @@ edje_object_parts_extends_calc(Edje_Object *obj, int *x, int *y, int *w, int *h) return (ed != NULL); } -EAPI int +EDJE_API int edje_object_freeze(Edje_Object *obj) { return efl_layout_calc_freeze(obj); } -EAPI int +EDJE_API int edje_object_thaw(Edje_Object *obj) { return efl_layout_calc_thaw(obj); } -EAPI void +EDJE_API void edje_object_calc_force(Edje_Object *obj) { efl_layout_calc_force(obj); } -EAPI void +EDJE_API void edje_object_play_set(Evas_Object *obj, Eina_Bool play) { efl_player_paused_set(obj, !play); } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_object_play_get(const Evas_Object *obj) { if (!efl_isa(obj, EFL_CANVAS_LAYOUT_CLASS)) return EINA_FALSE; return !efl_player_paused_get(obj); } -EAPI void +EDJE_API void edje_object_transition_duration_factor_set(Evas_Object *obj, double scale) { if (scale <= 0.0) return; efl_player_playback_speed_set(obj, 1.0/scale); } -EAPI double +EDJE_API double edje_object_transition_duration_factor_get(const Evas_Object *obj) { double speed = efl_player_playback_speed_get(obj); @@ -1141,7 +1141,7 @@ edje_object_transition_duration_factor_get(const Evas_Object *obj) return 1.0/speed; } -EAPI void +EDJE_API void edje_object_size_min_get(const Edje_Object *obj, int *minw, int *minh) { Eina_Size2D sz; @@ -1150,7 +1150,7 @@ edje_object_size_min_get(const Edje_Object *obj, int *minw, int *minh) if (minh) *minh = sz.h; } -EAPI void +EDJE_API void edje_object_size_max_get(const Edje_Object *obj, int *maxw, int *maxh) { Eina_Size2D sz; @@ -1159,7 +1159,7 @@ edje_object_size_max_get(const Edje_Object *obj, int *maxw, int *maxh) if (maxh) *maxh = sz.h; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_object_part_exists(const Eo *obj, const char *part) { return efl_layout_group_part_exist_get(obj, part); diff --git a/src/lib/edje/edje_load.c b/src/lib/edje/edje_load.c index acf0826b1d..86039e97b0 100644 --- a/src/lib/edje/edje_load.c +++ b/src/lib/edje/edje_load.c @@ -104,7 +104,7 @@ _efl_canvas_layout_layout_load_error_get(const Eo *obj EINA_UNUSED, Edje *ed) return EFL_GFX_IMAGE_LOAD_ERROR_GENERIC; } -EAPI const char * +EDJE_API const char * edje_load_error_str(Edje_Load_Error error) { switch (error) @@ -144,7 +144,7 @@ edje_load_error_str(Edje_Load_Error error) } } -EAPI Eina_List * +EDJE_API Eina_List * edje_mmap_collection_list(Eina_File *f) { Eina_List *lst = NULL; @@ -171,7 +171,7 @@ edje_mmap_collection_list(Eina_File *f) return lst; } -EAPI Eina_List * +EDJE_API Eina_List * edje_file_collection_list(const char *file) { Eina_File *f; @@ -191,7 +191,7 @@ err: return lst; } -EAPI void +EDJE_API void edje_file_collection_list_free(Eina_List *lst) { while (lst) @@ -201,13 +201,13 @@ edje_file_collection_list_free(Eina_List *lst) } } -EAPI void +EDJE_API void edje_mmap_collection_list_free(Eina_List *lst) { edje_file_collection_list_free(lst); } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_mmap_group_exists(Eina_File *f, const char *glob) { Edje_File *edf; @@ -268,7 +268,7 @@ edje_mmap_group_exists(Eina_File *f, const char *glob) return succeed; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_mmap_3d_has(Eina_File *f EINA_UNUSED, const char *group EINA_UNUSED) { return EINA_FALSE; @@ -311,7 +311,7 @@ _edje_file_iterator_free(Eina_Iterator *it) free(et); } -EAPI Eina_Iterator * +EDJE_API Eina_Iterator * edje_file_iterator_new(void) { Edje_File_Iterator *it; @@ -330,7 +330,7 @@ edje_file_iterator_new(void) return &it->iterator; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_file_group_exists(const char *file, const char *glob) { Eina_File *f; @@ -353,7 +353,7 @@ err: return result; } -EAPI char * +EDJE_API char * edje_mmap_data_get(const Eina_File *f, const char *key) { Edje_File *edf; @@ -374,7 +374,7 @@ edje_mmap_data_get(const Eina_File *f, const char *key) return str; } -EAPI char * +EDJE_API char * edje_file_data_get(const char *file, const char *key) { Eina_File *f; diff --git a/src/lib/edje/edje_main.c b/src/lib/edje/edje_main.c index f75ca688ee..79727cd52d 100644 --- a/src/lib/edje/edje_main.c +++ b/src/lib/edje/edje_main.c @@ -1,7 +1,7 @@ #include "edje_private.h" static Edje_Version _version = { VMAJ, VMIN, VMIC, VREV }; -EAPI Edje_Version * edje_version = &_version; +EDJE_API Edje_Version * edje_version = &_version; static int _edje_init_count = 0; static Eina_Bool _need_imf = EINA_FALSE; @@ -31,7 +31,7 @@ static void _edje_ephysics_clear(void); /*============================================================================* * API * *============================================================================*/ -EAPI int +EDJE_API int edje_init(void) { Eina_Strbuf *str; @@ -258,7 +258,7 @@ _edje_lib_unref(void) if (_edje_init_count == 0) _edje_shutdown_core(); } -EAPI int +EDJE_API int edje_shutdown(void) { if (_edje_init_count <= 0) diff --git a/src/lib/edje/edje_message_queue.c b/src/lib/edje/edje_message_queue.c index d92601073b..a4da7ea52d 100644 --- a/src/lib/edje/edje_message_queue.c +++ b/src/lib/edje/edje_message_queue.c @@ -1010,21 +1010,21 @@ _edje_message_del(Edje *ed) } } -/* Legacy EAPI */ +/* Legacy EDJE_API */ -EAPI void +EDJE_API void edje_object_message_send(Eo *obj, Edje_Message_Type type, int id, void *msg) { _edje_object_message_propagate_send(obj, type, id, msg, EINA_FALSE); } -EAPI void +EDJE_API void edje_message_signal_process(void) { _edje_message_queue_process(); } -EAPI void +EDJE_API void edje_object_message_handler_set(Eo *obj, Edje_Message_Handler_Cb func, void *data) { Edje *ed; diff --git a/src/lib/edje/edje_module.c b/src/lib/edje/edje_module.c index 217c1b138e..56c3693ccd 100644 --- a/src/lib/edje/edje_module.c +++ b/src/lib/edje/edje_module.c @@ -11,7 +11,7 @@ Eina_List *_modules_found = NULL; # define EDJE_MODULE_NAME "module.so" #endif -EAPI Eina_Bool +EDJE_API Eina_Bool edje_module_load(const char *module) { if (_edje_module_handle_load(module)) return EINA_TRUE; @@ -145,7 +145,7 @@ _edje_module_shutdown(void) eina_stringshare_del(path); } -EAPI const Eina_List * +EDJE_API const Eina_List * edje_available_modules_get(void) { Eina_File_Direct_Info *info; diff --git a/src/lib/edje/edje_multisense.c b/src/lib/edje/edje_multisense.c index 1bbb457ae3..90368c0be3 100644 --- a/src/lib/edje/edje_multisense.c +++ b/src/lib/edje/edje_multisense.c @@ -112,7 +112,7 @@ _channel_mute(Edje *ed EINA_UNUSED, int channel) #endif -EAPI void +EDJE_API void edje_audio_channel_mute_set(Edje_Channel channel, Eina_Bool mute) { #ifdef ENABLE_MULTISENSE @@ -124,7 +124,7 @@ edje_audio_channel_mute_set(Edje_Channel channel, Eina_Bool mute) #endif } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_audio_channel_mute_get(Edje_Channel channel) { #ifdef ENABLE_MULTISENSE diff --git a/src/lib/edje/edje_part_table.c b/src/lib/edje/edje_part_table.c index d3d27bff23..c488e63ba4 100644 --- a/src/lib/edje/edje_part_table.c +++ b/src/lib/edje/edje_part_table.c @@ -228,49 +228,49 @@ _efl_canvas_layout_part_table_efl_pack_table_table_cell_row_set(Eo *obj, void *_ __box; }) #endif -EAPI Eina_Bool +EDJE_API Eina_Bool edje_object_part_box_append(Edje_Object *obj, const char *part, Evas_Object *child) { Eo *box = PART_BOX_GET(obj, part, EINA_FALSE); return efl_pack_end(box, child); } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_object_part_box_prepend(Edje_Object *obj, const char *part, Evas_Object *child) { Eo *box = PART_BOX_GET(obj, part, EINA_FALSE); return efl_pack_begin(box, child); } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_object_part_box_insert_before(Edje_Object *obj, const char *part, Evas_Object *child, const Evas_Object *reference) { Eo *box = PART_BOX_GET(obj, part, EINA_FALSE); return efl_pack_before(box, child, reference); } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_object_part_box_insert_after(Edje_Object *obj, const char *part, Evas_Object *child, const Evas_Object *reference) { Eo *box = PART_BOX_GET(obj, part, EINA_FALSE); return efl_pack_after(box, child, reference); } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_object_part_box_insert_at(Edje_Object *obj, const char *part, Evas_Object *child, unsigned int pos) { Eo *box = PART_BOX_GET(obj, part, EINA_FALSE); return efl_pack_at(box, child, pos); } -EAPI Evas_Object * +EDJE_API Evas_Object * edje_object_part_box_remove_at(Edje_Object *obj, const char *part, unsigned int pos) { Eo *box = PART_BOX_GET(obj, part, NULL); return efl_pack_unpack_at(box, pos); } -EAPI Evas_Object * +EDJE_API Evas_Object * edje_object_part_box_remove(Edje_Object *obj, const char *part, Evas_Object *child) { Eo *box = PART_BOX_GET(obj, part, NULL); @@ -279,7 +279,7 @@ edje_object_part_box_remove(Edje_Object *obj, const char *part, Evas_Object *chi return NULL; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_object_part_box_remove_all(Edje_Object *obj, const char *part, Eina_Bool clear) { Eo *box = PART_BOX_GET(obj, part, EINA_FALSE); @@ -289,14 +289,14 @@ edje_object_part_box_remove_all(Edje_Object *obj, const char *part, Eina_Bool cl return efl_pack_unpack_all(box); } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_object_part_table_pack(Edje_Object *obj, const char *part, Evas_Object *child_obj, unsigned short col, unsigned short row, unsigned short colspan, unsigned short rowspan) { Eo *table = PART_TABLE_GET(obj, part, EINA_FALSE); return efl_pack_table(table, child_obj, col, row, colspan, rowspan); } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_object_part_table_col_row_size_get(const Edje_Object *obj, const char *part, int *cols, int *rows) { Eo *table = PART_TABLE_GET(obj, part, EINA_FALSE); @@ -304,21 +304,21 @@ edje_object_part_table_col_row_size_get(const Edje_Object *obj, const char *part return EINA_TRUE; } -EAPI Evas_Object * +EDJE_API Evas_Object * edje_object_part_table_child_get(const Edje_Object *obj, const char *part, unsigned int col, unsigned int row) { Eo *table = PART_TABLE_GET(obj, part, NULL); return efl_pack_table_content_get(table, col, row); } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_object_part_table_unpack(Edje_Object *obj, const char *part, Evas_Object *child_obj) { Eo *table = PART_TABLE_GET(obj, part, EINA_FALSE); return efl_pack_unpack(table, child_obj); } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_object_part_table_clear(Edje_Object *obj, const char *part, Eina_Bool clear) { Eo *table = PART_TABLE_GET(obj, part, EINA_FALSE); diff --git a/src/lib/edje/edje_private.h b/src/lib/edje/edje_private.h index 818a62195f..453e3fd105 100644 --- a/src/lib/edje/edje_private.h +++ b/src/lib/edje/edje_private.h @@ -64,39 +64,14 @@ #endif #include "Edje.h" +#include <edje_api.h> #define EFL_INTERNAL_UNSTABLE #include <Evas_Internal.h> -#ifdef EAPI -# undef EAPI -#endif - -#ifdef _WIN32 -# ifdef EFL_BUILD -# ifdef DLL_EXPORT -# define EAPI __declspec(dllexport) -# else -# define EAPI -# endif -# else -# define EAPI __declspec(dllimport) -# endif -#else -# ifdef __GNUC__ -# if __GNUC__ >= 4 -# define EAPI __attribute__ ((visibility("default"))) -# else -# define EAPI -# endif -# else -# define EAPI -# endif -#endif - // This object is internal, only the interface needs to be exposed. #include "edje_global.eo.h" -EAPI extern int _edje_default_log_dom ; +EDJE_API extern int _edje_default_log_dom ; #ifdef EDJE_DEFAULT_LOG_COLOR # undef EDJE_DEFAULT_LOG_COLOR @@ -2318,12 +2293,12 @@ Eina_Bool _edje_object_signal_callback_add(Evas_Object *obj, Edje *ed, Efl_Signal_Cb func_eo, Eina_Free_Cb func_free_cb, void *data); // FIXME remove below 3 eapi decls when edje_convert goes -EAPI void _edje_edd_init(void); -EAPI void _edje_data_font_list_desc_make(Eet_Data_Descriptor **_font_list_edd, Eet_Data_Descriptor **_font_edd); -EAPI void _edje_edd_shutdown(void); +EDJE_API void _edje_edd_init(void); +EDJE_API void _edje_data_font_list_desc_make(Eet_Data_Descriptor **_font_list_edd, Eet_Data_Descriptor **_font_edd); +EDJE_API void _edje_edd_shutdown(void); -EAPI extern Eet_Data_Descriptor *_edje_edd_edje_file; -EAPI extern Eet_Data_Descriptor *_edje_edd_edje_part_collection; +EDJE_API extern Eet_Data_Descriptor *_edje_edd_edje_file; +EDJE_API extern Eet_Data_Descriptor *_edje_edd_edje_part_collection; extern Eina_Inlist *_edje_edjes; @@ -2349,20 +2324,20 @@ extern Eina_Hash *_edje_id_hash; extern const char *_edje_language; extern const char *_edje_cache_path; -EAPI extern Eina_Mempool *_emp_RECTANGLE; -EAPI extern Eina_Mempool *_emp_TEXT; -EAPI extern Eina_Mempool *_emp_IMAGE; -EAPI extern Eina_Mempool *_emp_PROXY; -EAPI extern Eina_Mempool *_emp_SWALLOW; -EAPI extern Eina_Mempool *_emp_TEXTBLOCK; -EAPI extern Eina_Mempool *_emp_GROUP; -EAPI extern Eina_Mempool *_emp_BOX; -EAPI extern Eina_Mempool *_emp_TABLE; -EAPI extern Eina_Mempool *_emp_EXTERNAL; -EAPI extern Eina_Mempool *_emp_SPACER; -EAPI extern Eina_Mempool *_emp_SNAPSHOT; -EAPI extern Eina_Mempool *_emp_part; -EAPI extern Eina_Mempool *_emp_VECTOR; +EDJE_API extern Eina_Mempool *_emp_RECTANGLE; +EDJE_API extern Eina_Mempool *_emp_TEXT; +EDJE_API extern Eina_Mempool *_emp_IMAGE; +EDJE_API extern Eina_Mempool *_emp_PROXY; +EDJE_API extern Eina_Mempool *_emp_SWALLOW; +EDJE_API extern Eina_Mempool *_emp_TEXTBLOCK; +EDJE_API extern Eina_Mempool *_emp_GROUP; +EDJE_API extern Eina_Mempool *_emp_BOX; +EDJE_API extern Eina_Mempool *_emp_TABLE; +EDJE_API extern Eina_Mempool *_emp_EXTERNAL; +EDJE_API extern Eina_Mempool *_emp_SPACER; +EDJE_API extern Eina_Mempool *_emp_SNAPSHOT; +EDJE_API extern Eina_Mempool *_emp_part; +EDJE_API extern Eina_Mempool *_emp_VECTOR; static inline Edje_Global * _edje_global(void) @@ -2443,8 +2418,8 @@ Eina_Bool _edje_signal_callback_disable(Edje_Signal_Callback_Group *cgp, Edje_Signal_Cb func_legacy, EflLayoutSignalCb func, Eina_Free_Cb func_free_cb, void *data); -EAPI void _edje_edd_init(void); -EAPI void _edje_edd_shutdown(void); +EDJE_API void _edje_edd_init(void); +EDJE_API void _edje_edd_shutdown(void); Eina_Error _edje_object_file_set_internal(Evas_Object *obj, const Eina_File *file, const char *group, const char *parent, Eina_List *group_path, Eina_Array *nested); @@ -2666,9 +2641,9 @@ Edje_File *_edje_file_cache_find(const Eina_File *file); void _edje_cache_coll_clean(Edje_File *edf); void _edje_cache_coll_flush(Edje_File *edf); void _edje_cache_coll_unref(Edje_File *edf, Edje_Part_Collection *edc); -EAPI void edje_cache_emp_alloc(Edje_Part_Collection_Directory_Entry *ce); -EAPI void edje_cache_emp_free(Edje_Part_Collection_Directory_Entry *ce); -EAPI void _edje_cache_file_unref(Edje_File *edf); +EDJE_API void edje_cache_emp_alloc(Edje_Part_Collection_Directory_Entry *ce); +EDJE_API void edje_cache_emp_free(Edje_Part_Collection_Directory_Entry *ce); +EDJE_API void _edje_cache_file_unref(Edje_File *edf); void _edje_embryo_globals_init(Edje *ed); @@ -2888,8 +2863,8 @@ void edje_object_propagate_callback_add(Evas_Object *obj, void (*func) (void *da /* used by edje_cc - private still */ -EAPI void _edje_program_insert(Edje_Part_Collection *ed, Edje_Program *p); -EAPI void _edje_program_remove(Edje_Part_Collection *ed, Edje_Program *p); +EDJE_API void _edje_program_insert(Edje_Part_Collection *ed, Edje_Program *p); +EDJE_API void _edje_program_remove(Edje_Part_Collection *ed, Edje_Program *p); void _edje_lua2_error_full(const char *file, const char *fnc, int line, lua_State *L, int err_code); #define _edje_lua2_error(L, err_code) _edje_lua2_error_full(__FILE__, __func__, __LINE__, L, err_code) @@ -3279,7 +3254,4 @@ typedef RemixBase* (*MULTISENSE_SOUND_PLAYER_GET_FUNC) (Edje_Multisense_Env *); #include "efl_canvas_layout_part_invalid.eo.h" -#undef EAPI -#define EAPI - #endif diff --git a/src/lib/edje/edje_program.c b/src/lib/edje/edje_program.c index 2ee0c22204..34b4b5c74c 100644 --- a/src/lib/edje/edje_program.c +++ b/src/lib/edje/edje_program.c @@ -212,25 +212,25 @@ _efl_canvas_layout_seat_get(const Eo *obj EINA_UNUSED, Edje *ed, Eina_Stringshar return _edje_seat_get(ed, name); } -EAPI void +EDJE_API void edje_frametime_set(double t) { ecore_animator_frametime_set(t); } -EAPI double +EDJE_API double edje_frametime_get(void) { return ecore_animator_frametime_get(); } -EAPI double +EDJE_API double edje_transition_duration_factor_get(void) { return _edje_transition_duration_scale; } -EAPI void +EDJE_API void edje_transition_duration_factor_set(double scale) { _edje_transition_duration_scale = FROM_DOUBLE(scale); @@ -1698,14 +1698,14 @@ break_prog: static void *callback_extra_data = NULL; static void *callback_seat_data = NULL; -EAPI void * +EDJE_API void * edje_object_signal_callback_extra_data_get(void) { return callback_extra_data; } #ifdef EFL_BETA_API_SUPPORT -EAPI void * +EDJE_API void * edje_object_signal_callback_seat_data_get(void) { return callback_seat_data; diff --git a/src/lib/edje/edje_smart.c b/src/lib/edje/edje_smart.c index d0d794790b..f7ad19fe02 100644 --- a/src/lib/edje/edje_smart.c +++ b/src/lib/edje/edje_smart.c @@ -18,7 +18,7 @@ Eina_Inlist *_edje_edjes = NULL; /************************** API Routines **************************/ -EAPI Evas_Object * +EDJE_API Evas_Object * edje_object_add(Evas *evas) { evas = evas_find(evas); @@ -457,20 +457,20 @@ _efl_canvas_layout_efl_file_load(Eo *obj, Edje *ed) return err; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_object_mmap_set(Edje_Object *obj, const Eina_File *file, const char *group) { return efl_file_simple_mmap_load(obj, file, group); } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_object_file_set(Edje_Object *obj, const char *file, const char *group) { /* mtime checking of file is handled in efl.file mixin */ return efl_file_simple_load(obj, file, group); } -EAPI void +EDJE_API void edje_object_file_get(const Edje_Object *obj, const char **file, const char **group) { if (file) *file = efl_file_get(obj); diff --git a/src/lib/edje/edje_util.c b/src/lib/edje/edje_util.c index 4d9a9dc369..26abba7d95 100644 --- a/src/lib/edje/edje_util.c +++ b/src/lib/edje/edje_util.c @@ -208,7 +208,7 @@ _edje_user_def_del_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *child EINA_U #define FASTFREEZE 1 -EAPI void +EDJE_API void edje_freeze(void) { #ifdef FASTFREEZE @@ -317,7 +317,7 @@ _efl_canvas_layout_efl_ui_i18n_language_get(const Eo *obj EINA_UNUSED, Edje *ed) return ed->language; } -EAPI void +EDJE_API void edje_language_set(const char *locale) { Edje *ed; @@ -345,7 +345,7 @@ edje_language_set(const char *locale) } } -EAPI void +EDJE_API void edje_thaw(void) { #ifdef FASTFREEZE @@ -369,7 +369,7 @@ edje_thaw(void) #endif } -EAPI void +EDJE_API void edje_fontset_append_set(const char *fonts) { if (_edje_fontset_append) @@ -381,13 +381,13 @@ edje_fontset_append_set(const char *fonts) _edje_fontset_append_escaped = fonts ? eina_str_escape(fonts) : NULL; } -EAPI const char * +EDJE_API const char * edje_fontset_append_get(void) { return _edje_fontset_append; } -EAPI void +EDJE_API void edje_scale_set(double scale) { Edje *ed; @@ -397,20 +397,20 @@ edje_scale_set(double scale) EINA_INLIST_FOREACH(_edje_edjes, ed) edje_object_calc_force(ed->obj); } -EAPI double +EDJE_API double edje_scale_get(void) { return TO_DOUBLE(_edje_scale); } -EAPI void +EDJE_API void edje_password_show_last_set(Eina_Bool password_show_last) { if (_edje_password_show_last == password_show_last) return; _edje_password_show_last = password_show_last; } -EAPI void +EDJE_API void edje_password_show_last_timeout_set(double password_show_last_timeout) { if (EINA_DBL_EQ(_edje_password_show_last_timeout, password_show_last_timeout)) return; @@ -449,7 +449,7 @@ _efl_canvas_layout_efl_gfx_entity_scale_get(const Eo *obj EINA_UNUSED, Edje *ed) return TO_DOUBLE(ed->scale); } -EAPI double +EDJE_API double edje_object_base_scale_get(const Evas_Object *obj) { Edje *ed; @@ -692,7 +692,7 @@ _edje_color_class_get_internal(Edje_Color_Class *cc, Efl_Gfx_Color_Class_Layer l } } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_color_class_set(const char *color_class, int r, int g, int b, int a, int r2, int g2, int b2, int a2, int r3, int g3, int b3, int a3) { Eina_Bool result = EINA_TRUE; @@ -730,7 +730,7 @@ _edje_global_efl_gfx_color_class_color_class_set(Eo *obj EINA_UNUSED, void *pd E return int_ret; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_color_class_get(const char *color_class, int *r, int *g, int *b, int *a, int *r2, int *g2, int *b2, int *a2, int *r3, int *g3, int *b3, int *a3) { Eina_Bool int_ret = EINA_TRUE; @@ -756,7 +756,7 @@ _edje_global_efl_gfx_color_class_color_class_get(const Eo *obj EINA_UNUSED, void return _edje_color_class_get_internal(cc, layer, r, g, b, a); } -EAPI void +EDJE_API void edje_color_class_del(const char *color_class) { efl_gfx_color_class_del(_edje_global(), color_class); @@ -858,7 +858,7 @@ _edje_color_class_active_iterator_free(Eina_Iterator *it) free(et); } -EAPI Eina_Iterator * +EDJE_API Eina_Iterator * edje_color_class_active_iterator_new(void) { Edje_Active_Color_Class_Iterator *it; @@ -888,7 +888,7 @@ _edje_color_class_list_foreach(const Eina_Hash *hash EINA_UNUSED, const void *ke return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_object_color_class_set(Evas_Object *obj, const char *color_class, int r, int g, int b, int a, int r2, int g2, int b2, int a2, int r3, int g3, int b3, int a3) { Eina_Bool int_ret = EINA_TRUE; @@ -936,7 +936,7 @@ _efl_canvas_layout_efl_gfx_color_class_color_class_set(Eo *obj EINA_UNUSED, Edje return int_ret; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_object_color_class_get(const Evas_Object *obj, const char *color_class, int *r, int *g, int *b, int *a, int *r2, int *g2, int *b2, int *a2, int *r3, int *g3, int *b3, int *a3) { Eina_Bool int_ret = EINA_TRUE; @@ -961,7 +961,7 @@ _efl_canvas_layout_efl_gfx_color_class_color_class_get(const Eo *obj EINA_UNUSED return _edje_color_class_get_internal(cc, layer, r, g, b, a); } -EAPI const char * +EDJE_API const char * edje_object_color_class_description_get(const Evas_Object *obj, const char *color_class) { return efl_gfx_color_class_description_get(obj, color_class); @@ -974,7 +974,7 @@ _efl_canvas_layout_efl_gfx_color_class_color_class_description_get(const Eo *obj return cc ? cc->desc : NULL; } -EAPI void +EDJE_API void edje_object_color_class_del(Evas_Object *obj, const char *color_class) { efl_gfx_color_class_del(obj, color_class); @@ -1011,7 +1011,7 @@ _efl_canvas_layout_efl_gfx_color_class_color_class_del(Eo *obj EINA_UNUSED, Edje _edje_emit(ed, "color_class,del", color_class); } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_object_color_class_clear(const Evas_Object *obj) { efl_gfx_color_class_clear((Eo *)obj); @@ -1105,7 +1105,7 @@ _edje_mmap_color_class_iterator_free(Eina_Iterator *it) free(et); } -EAPI Eina_Iterator * +EDJE_API Eina_Iterator * edje_mmap_color_class_iterator_new(Eina_File *f) { Edje_File_Color_Class_Iterator *it; @@ -1134,7 +1134,7 @@ on_error: return NULL; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_text_class_set(const char *text_class, const char *font, Evas_Font_Size size) { return efl_gfx_text_class_set(_edje_global(), text_class, font, (Efl_Font_Size)size); @@ -1185,7 +1185,7 @@ _edje_global_efl_gfx_text_class_text_class_set(Eo *obj EINA_UNUSED, void *pd EIN return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_text_class_get(const char *text_class, const char **font, Evas_Font_Size *size) { return efl_gfx_text_class_get(_edje_global(), text_class, font, (Efl_Font_Size *)size); @@ -1216,7 +1216,7 @@ _edje_global_efl_gfx_text_class_text_class_get(const Eo *obj EINA_UNUSED, void * return EINA_TRUE; } -EAPI void +EDJE_API void edje_text_class_del(const char *text_class) { efl_gfx_text_class_del(_edje_global(), text_class); @@ -1307,7 +1307,7 @@ _edje_text_class_active_iterator_free(Eina_Iterator *it) free(et); } -EAPI Eina_Iterator * +EDJE_API Eina_Iterator * edje_text_class_active_iterator_new(void) { Edje_Active_Text_Class_Iterator *it; @@ -1360,7 +1360,7 @@ _edje_file_find(const char *file) return edf; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_file_text_class_get(const char *file, const char * text_class, const char **font, Evas_Font_Size *size) { Edje_Text_Class *tc = NULL; @@ -1388,7 +1388,7 @@ end: return ret; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_file_text_class_del(const char *file, const char *text_class) { Edje_Text_Class *tc = NULL; @@ -1416,7 +1416,7 @@ end: return ret; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_file_text_class_set(const char *file, const char *text_class, const char *font, Evas_Font_Size size) { Edje_File *edf = NULL; @@ -1471,7 +1471,7 @@ error_end: return ret; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_object_text_class_set(Evas_Object *obj, const char *text_class, const char *font, Evas_Font_Size size) { return efl_gfx_text_class_set(obj, text_class, font, (Efl_Font_Size)size); @@ -1541,7 +1541,7 @@ _efl_canvas_layout_efl_gfx_text_class_text_class_set(Eo *obj EINA_UNUSED, Edje * return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_object_text_class_get(const Evas_Object *obj, const char *text_class, const char **font, Evas_Font_Size *size) { return efl_gfx_text_class_get(obj, text_class, font, (Efl_Font_Size *)size); @@ -1567,7 +1567,7 @@ _efl_canvas_layout_efl_gfx_text_class_text_class_get(const Eo *obj EINA_UNUSED, return EINA_TRUE; } -EAPI void +EDJE_API void edje_object_text_class_del(Evas_Object *obj, const char *text_class) { efl_gfx_text_class_del(obj, text_class); @@ -1643,7 +1643,7 @@ _edje_mmap_text_class_iterator_free(Eina_Iterator *it) free(et); } -EAPI Eina_Iterator * +EDJE_API Eina_Iterator * edje_mmap_text_class_iterator_new(Eina_File *f) { Edje_File_Text_Class_Iterator *it; @@ -1672,7 +1672,7 @@ on_error: return NULL; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_size_class_set(const char *size_class, Evas_Coord minw, Evas_Coord minh, Evas_Coord maxw, Evas_Coord maxh) { return efl_gfx_size_class_set(_edje_global(), size_class, minw, minh, maxw, maxh); @@ -1726,7 +1726,7 @@ _edje_global_efl_gfx_size_class_size_class_set(Eo *obj EINA_UNUSED, void *pd EIN return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_size_class_get(const char *size_class, Evas_Coord *minw, Evas_Coord *minh, Evas_Coord *maxw, Evas_Coord *maxh) { return efl_gfx_size_class_get(_edje_global(), size_class, minw, minh, maxw, maxh); @@ -1761,7 +1761,7 @@ _edje_global_efl_gfx_size_class_size_class_get(const Eo *obj EINA_UNUSED, void * return EINA_TRUE; } -EAPI void +EDJE_API void edje_size_class_del(const char *size_class) { efl_gfx_size_class_del(_edje_global(), size_class); @@ -1851,7 +1851,7 @@ _edje_size_class_active_iterator_free(Eina_Iterator *it) free(et); } -EAPI Eina_Iterator * +EDJE_API Eina_Iterator * edje_size_class_active_iterator_new(void) { Edje_Active_Size_Class_Iterator *it; @@ -1881,7 +1881,7 @@ _edje_size_class_list_foreach(const Eina_Hash *hash EINA_UNUSED, const void *key return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_object_size_class_set(Evas_Object *obj, const char *size_class, Evas_Coord minw, Evas_Coord minh, Evas_Coord maxw, Evas_Coord maxh) { return efl_gfx_size_class_set(obj, size_class, minw, minh, maxw, maxh); @@ -1949,7 +1949,7 @@ _efl_canvas_layout_efl_gfx_size_class_size_class_set(Eo *obj EINA_UNUSED, Edje * return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_object_size_class_get(const Evas_Object *obj, const char *size_class, Evas_Coord *minw, Evas_Coord *minh, Evas_Coord *maxw, Evas_Coord *maxh) { return efl_gfx_size_class_get(obj, size_class, minw, minh, maxw, maxh); @@ -1979,7 +1979,7 @@ _efl_canvas_layout_efl_gfx_size_class_size_class_get(const Eo *obj EINA_UNUSED, return EINA_TRUE; } -EAPI void +EDJE_API void edje_object_size_class_del(Evas_Object *obj, const char *size_class) { efl_gfx_size_class_del(obj, size_class); @@ -2054,7 +2054,7 @@ _edje_mmap_size_class_iterator_free(Eina_Iterator *it) free(et); } -EAPI Eina_Iterator * +EDJE_API Eina_Iterator * edje_mmap_size_class_iterator_new(Eina_File *f) { Edje_File_Size_Class_Iterator *it; @@ -2084,7 +2084,7 @@ on_error: } /* Legacy API: exposes internal object. Easy to abuse. */ -EAPI const Evas_Object * +EDJE_API const Evas_Object * edje_object_part_object_get(const Eo *obj, const char *part) { Edje_Real_Part *rp; @@ -2102,7 +2102,7 @@ edje_object_part_object_get(const Eo *obj, const char *part) return rp->object; } -EAPI void +EDJE_API void edje_object_item_provider_set(Edje_Object *obj, Edje_Item_Provider_Cb func, void *data) { Edje *ed = _edje_fetch(obj); @@ -2111,7 +2111,7 @@ edje_object_item_provider_set(Edje_Object *obj, Edje_Item_Provider_Cb func, void ed->item_provider.data = data; } -EAPI void +EDJE_API void edje_object_text_change_cb_set(Eo *obj, Edje_Text_Change_Cb func, void *data) { unsigned short i; @@ -2367,7 +2367,7 @@ _edje_efl_text_text_get(const Eo *obj EINA_UNUSED, Edje *ed, const char *part, return NULL; } -EAPI const char * +EDJE_API const char * edje_object_part_text_selection_get(const Eo *obj, const char *part) { Edje_Real_Part *rp; @@ -2384,7 +2384,7 @@ edje_object_part_text_selection_get(const Eo *obj, const char *part) return NULL; } -EAPI void +EDJE_API void edje_object_part_text_select_none(const Eo *obj, const char *part) { Edje_Real_Part *rp; @@ -2399,7 +2399,7 @@ edje_object_part_text_select_none(const Eo *obj, const char *part) _edje_entry_select_none(rp); } -EAPI void +EDJE_API void edje_object_part_text_select_all(const Eo *obj, const char *part) { Edje_Real_Part *rp; @@ -2434,7 +2434,7 @@ _efl_canvas_layout_part_text_cursor_geometry_get(Eo *obj EINA_UNUSED, Edje *ed, } } -EAPI void +EDJE_API void edje_object_part_text_select_allow_set(const Eo *obj, const char *part, Eina_Bool allow) { Edje_Real_Part *rp; @@ -2449,7 +2449,7 @@ edje_object_part_text_select_allow_set(const Eo *obj, const char *part, Eina_Boo _edje_entry_select_allow_set(rp, allow); } -EAPI void +EDJE_API void edje_object_part_text_select_abort(const Eo *obj, const char *part) { Edje_Real_Part *rp; @@ -2464,7 +2464,7 @@ edje_object_part_text_select_abort(const Eo *obj, const char *part) _edje_entry_select_abort(rp); } -EAPI void +EDJE_API void edje_object_part_text_select_begin(const Eo *obj, const char *part) { Edje_Real_Part *rp; @@ -2479,7 +2479,7 @@ edje_object_part_text_select_begin(const Eo *obj, const char *part) _edje_entry_select_begin(rp); } -EAPI void +EDJE_API void edje_object_part_text_select_extend(const Eo *obj, const char *part) { Edje_Real_Part *rp; @@ -2676,7 +2676,7 @@ _efl_canvas_layout_part_text_cursor_pos_get(Eo *obj EINA_UNUSED, Edje *ed, const return ret; } -EAPI void * +EDJE_API void * edje_object_part_text_imf_context_get(const Eo *obj, const char *part) { Edje_Real_Part *rp; @@ -2695,7 +2695,7 @@ edje_object_part_text_imf_context_get(const Eo *obj, const char *part) return NULL; } -EAPI void +EDJE_API void edje_object_part_text_imf_context_reset(const Eo *obj, const char *part) { Edje_Real_Part *rp; @@ -2712,7 +2712,7 @@ edje_object_part_text_imf_context_reset(const Eo *obj, const char *part) } } -EAPI void +EDJE_API void edje_object_part_text_input_panel_layout_set(Eo *obj, const char *part, Edje_Input_Panel_Layout layout) { Edje_Real_Part *rp; @@ -2729,7 +2729,7 @@ edje_object_part_text_input_panel_layout_set(Eo *obj, const char *part, Edje_Inp } } -EAPI Edje_Input_Panel_Layout +EDJE_API Edje_Input_Panel_Layout edje_object_part_text_input_panel_layout_get(const Eo *obj, const char *part) { Edje_Input_Panel_Layout ret; @@ -2750,7 +2750,7 @@ edje_object_part_text_input_panel_layout_get(const Eo *obj, const char *part) return ret; } -EAPI void +EDJE_API void edje_object_part_text_input_panel_layout_variation_set(Eo *obj, const char *part, int variation) { Edje_Real_Part *rp; @@ -2767,7 +2767,7 @@ edje_object_part_text_input_panel_layout_variation_set(Eo *obj, const char *part } } -EAPI int +EDJE_API int edje_object_part_text_input_panel_layout_variation_get(const Eo *obj, const char *part) { int r; @@ -2788,7 +2788,7 @@ edje_object_part_text_input_panel_layout_variation_get(const Eo *obj, const char return r; } -EAPI void +EDJE_API void edje_object_part_text_autocapital_type_set(Eo *obj, const char *part, Edje_Text_Autocapital_Type autocapital_type) { Edje_Real_Part *rp; @@ -2804,7 +2804,7 @@ edje_object_part_text_autocapital_type_set(Eo *obj, const char *part, Edje_Text_ } } -EAPI Edje_Text_Autocapital_Type +EDJE_API Edje_Text_Autocapital_Type edje_object_part_text_autocapital_type_get(const Eo *obj, const char *part) { Edje_Text_Autocapital_Type ret; @@ -2825,7 +2825,7 @@ edje_object_part_text_autocapital_type_get(const Eo *obj, const char *part) return ret; } -EAPI void +EDJE_API void edje_object_part_text_prediction_allow_set(Eo *obj, const char *part, Eina_Bool prediction) { Edje_Real_Part *rp; @@ -2842,7 +2842,7 @@ edje_object_part_text_prediction_allow_set(Eo *obj, const char *part, Eina_Bool } } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_object_part_text_prediction_allow_get(const Eo *obj, const char *part) { Eina_Bool ret; @@ -2863,7 +2863,7 @@ edje_object_part_text_prediction_allow_get(const Eo *obj, const char *part) return ret; } -EAPI void +EDJE_API void edje_object_part_text_input_hint_set(Eo *obj, const char *part, Edje_Input_Hints input_hints) { Edje_Real_Part *rp; @@ -2880,7 +2880,7 @@ edje_object_part_text_input_hint_set(Eo *obj, const char *part, Edje_Input_Hints } } -EAPI Edje_Input_Hints +EDJE_API Edje_Input_Hints edje_object_part_text_input_hint_get(const Eo *obj, const char *part) { Edje_Real_Part *rp; @@ -2898,7 +2898,7 @@ edje_object_part_text_input_hint_get(const Eo *obj, const char *part) return EINA_FALSE; } -EAPI void +EDJE_API void edje_object_part_text_input_panel_enabled_set(Eo *obj, const char *part, Eina_Bool enabled) { Edje_Real_Part *rp; @@ -2915,7 +2915,7 @@ edje_object_part_text_input_panel_enabled_set(Eo *obj, const char *part, Eina_Bo } } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_object_part_text_input_panel_enabled_get(const Eo *obj, const char *part) { Eina_Bool ret; @@ -2936,7 +2936,7 @@ edje_object_part_text_input_panel_enabled_get(const Eo *obj, const char *part) return ret; } -EAPI void +EDJE_API void edje_object_part_text_input_panel_show(const Eo *obj, const char *part) { Edje_Real_Part *rp; @@ -2951,7 +2951,7 @@ edje_object_part_text_input_panel_show(const Eo *obj, const char *part) _edje_entry_input_panel_show(rp); } -EAPI void +EDJE_API void edje_object_part_text_input_panel_hide(const Eo *obj, const char *part) { Edje_Real_Part *rp; @@ -2966,7 +2966,7 @@ edje_object_part_text_input_panel_hide(const Eo *obj, const char *part) _edje_entry_input_panel_hide(rp); } -EAPI void +EDJE_API void edje_object_part_text_input_panel_language_set(Eo *obj, const char *part, Edje_Input_Panel_Lang lang) { Edje_Real_Part *rp; @@ -2983,7 +2983,7 @@ edje_object_part_text_input_panel_language_set(Eo *obj, const char *part, Edje_I } } -EAPI Edje_Input_Panel_Lang +EDJE_API Edje_Input_Panel_Lang edje_object_part_text_input_panel_language_get(const Eo *obj, const char *part) { Edje_Input_Panel_Lang ret; @@ -3004,7 +3004,7 @@ edje_object_part_text_input_panel_language_get(const Eo *obj, const char *part) return ret; } -EAPI void +EDJE_API void edje_object_part_text_input_panel_imdata_set(Eo *obj, const char *part, const void *data, int len) { Edje_Real_Part *rp; @@ -3021,7 +3021,7 @@ edje_object_part_text_input_panel_imdata_set(Eo *obj, const char *part, const vo } } -EAPI void +EDJE_API void edje_object_part_text_input_panel_imdata_get(const Eo *obj, const char *part, void *data, int *len) { Edje_Real_Part *rp; @@ -3038,7 +3038,7 @@ edje_object_part_text_input_panel_imdata_get(const Eo *obj, const char *part, vo } } -EAPI void +EDJE_API void edje_object_part_text_input_panel_return_key_type_set(Eo *obj, const char *part, Edje_Input_Panel_Return_Key_Type return_key_type) { Edje_Real_Part *rp; @@ -3055,7 +3055,7 @@ edje_object_part_text_input_panel_return_key_type_set(Eo *obj, const char *part, } } -EAPI Edje_Input_Panel_Return_Key_Type +EDJE_API Edje_Input_Panel_Return_Key_Type edje_object_part_text_input_panel_return_key_type_get(const Eo *obj, const char *part) { Edje_Input_Panel_Return_Key_Type ret; @@ -3076,7 +3076,7 @@ edje_object_part_text_input_panel_return_key_type_get(const Eo *obj, const char return ret; } -EAPI void +EDJE_API void edje_object_part_text_input_panel_return_key_disabled_set(Eo *obj, const char *part, Eina_Bool disabled) { Edje_Real_Part *rp; @@ -3093,7 +3093,7 @@ edje_object_part_text_input_panel_return_key_disabled_set(Eo *obj, const char *p } } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_object_part_text_input_panel_return_key_disabled_get(const Eo *obj, const char *part) { Eina_Bool ret; @@ -3114,7 +3114,7 @@ edje_object_part_text_input_panel_return_key_disabled_get(const Eo *obj, const c return ret; } -EAPI void +EDJE_API void edje_object_part_text_input_panel_show_on_demand_set(Eo *obj, const char *part, Eina_Bool ondemand) { Edje_Real_Part *rp; @@ -3131,7 +3131,7 @@ edje_object_part_text_input_panel_show_on_demand_set(Eo *obj, const char *part, } } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_object_part_text_input_panel_show_on_demand_get(const Eo *obj, const char *part) { Eina_Bool ret; @@ -3152,7 +3152,7 @@ edje_object_part_text_input_panel_show_on_demand_get(const Eo *obj, const char * return ret; } -EAPI void +EDJE_API void edje_object_part_text_prediction_hint_set(Eo *obj, const char *part, const char *prediction_hint) { Edje_Real_Part *rp; @@ -3244,7 +3244,7 @@ _edje_efl_content_content_set(Edje *ed, const char *part, Efl_Gfx_Entity *obj_sw return EINA_TRUE; } -EAPI void +EDJE_API void edje_extern_object_min_size_set(Evas_Object *obj, Evas_Coord minw, Evas_Coord minh) { if (!obj) return; @@ -3252,7 +3252,7 @@ edje_extern_object_min_size_set(Evas_Object *obj, Evas_Coord minw, Evas_Coord mi evas_object_size_hint_min_set(obj, minw, minh); } -EAPI void +EDJE_API void edje_extern_object_max_size_set(Evas_Object *obj, Evas_Coord maxw, Evas_Coord maxh) { if (!obj) return; @@ -3260,7 +3260,7 @@ edje_extern_object_max_size_set(Evas_Object *obj, Evas_Coord maxw, Evas_Coord ma evas_object_size_hint_max_set(obj, maxw, maxh); } -EAPI void +EDJE_API void edje_extern_object_aspect_set(Evas_Object *obj, Edje_Aspect_Control aspect, Evas_Coord aw, Evas_Coord ah) { if (!obj) return; @@ -3361,7 +3361,7 @@ _edje_box_layout_part_external_find(const char *name) NULL); } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_object_part_text_prediction_hint_hash_set(Eo *obj, const char *part, const char *key, const char *value) { Edje_Real_Part *rp; @@ -3380,7 +3380,7 @@ edje_object_part_text_prediction_hint_hash_set(Eo *obj, const char *part, const return EINA_FALSE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_object_part_text_prediction_hint_hash_del(Eo *obj, const char *part, const char *key) { Edje_Real_Part *rp; @@ -3458,7 +3458,7 @@ _edje_box_layout_part_external_new(const char *name, Evas_Object_Box_Layout func return l; } -EAPI void +EDJE_API void edje_box_layout_register(const char *name, Evas_Object_Box_Layout func, void *(*layout_data_get)(void *), void (*layout_data_free)(void *), void (*free_data)(void *), void *data) { Edje_Box_Layout *l; @@ -4856,7 +4856,7 @@ _efl_canvas_layout_access_part_iterate(Eo *obj EINA_UNUSED, Edje *ed) return &it->iterator; } -EAPI Eina_List * +EDJE_API Eina_List * edje_object_access_part_list_get(const Edje_Object *obj) { Eina_List *access_parts = NULL; @@ -5255,7 +5255,7 @@ _edje_perspective_obj_del(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA free(ps); } -EAPI Edje_Perspective * +EDJE_API Edje_Perspective * edje_perspective_new(Evas *e) { Edje_Perspective *ps; @@ -5275,14 +5275,14 @@ edje_perspective_new(Evas *e) return ps; } -EAPI void +EDJE_API void edje_perspective_free(Edje_Perspective *ps) { if (!ps) return; evas_object_del(ps->obj); } -EAPI void +EDJE_API void edje_perspective_set(Edje_Perspective *ps, Evas_Coord px, Evas_Coord py, Evas_Coord z0, Evas_Coord foc) { Eina_List *l; @@ -5323,7 +5323,7 @@ edje_perspective_set(Edje_Perspective *ps, Evas_Coord px, Evas_Coord py, Evas_Co } } -EAPI void +EDJE_API void edje_perspective_global_set(Edje_Perspective *ps, Eina_Bool global) { Edje *ed; @@ -5352,14 +5352,14 @@ edje_perspective_global_set(Edje_Perspective *ps, Eina_Bool global) } } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_perspective_global_get(const Edje_Perspective *ps) { if (!ps) return EINA_FALSE; return ps->global; } -EAPI const Edje_Perspective * +EDJE_API const Edje_Perspective * edje_evas_global_perspective_get(const Evas *e) { Evas_Object *obj; @@ -5370,7 +5370,7 @@ edje_evas_global_perspective_get(const Evas *e) return evas_object_data_get(obj, "_edje_perspective"); } -EAPI void +EDJE_API void edje_object_perspective_set(Eo *obj, Edje_Perspective *ps) { Edje *ed = _edje_fetch(obj); @@ -5388,7 +5388,7 @@ edje_object_perspective_set(Eo *obj, Edje_Perspective *ps) _edje_recalc_do(ed); } -EAPI const Edje_Perspective * +EDJE_API const Edje_Perspective * edje_object_perspective_get(const Eo *obj) { Edje *ed =_edje_fetch(obj); @@ -5399,7 +5399,7 @@ edje_object_perspective_get(const Eo *obj) #define EDJE_PRELOAD_EMISSION "preload,done" #define EDJE_PRELOAD_SOURCE NULL -EAPI Eina_Bool +EDJE_API Eina_Bool edje_object_preload(Eo *obj, Eina_Bool cancel) { unsigned short count; @@ -6420,7 +6420,7 @@ _edje_object_signal_preload_cb(void *data, Evas_Object *obj, const char *emissio * * for edje_cc */ -EAPI void +EDJE_API void _edje_program_remove(Edje_Part_Collection *edc, Edje_Program *p) { Edje_Program ***array; @@ -6470,7 +6470,7 @@ _edje_program_remove(Edje_Part_Collection *edc, Edje_Program *p) * * for edje_cc */ -EAPI void +EDJE_API void _edje_program_insert(Edje_Part_Collection *edc, Edje_Program *p) { Edje_Program ***array, **temp; @@ -6556,7 +6556,7 @@ _edje_subobj_unregister(Edje *ed, Evas_Object *obj) _cb_subobj_del, ed); } -EAPI const char * +EDJE_API const char * edje_object_part_object_name_get(const Evas_Object *obj) { Edje_Real_Part *rp; @@ -6671,7 +6671,7 @@ _edje_part_fetch(const Edje_Object *obj, const char *part, Edje **ped, Edje_Real return EINA_TRUE; } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_object_part_swallow(Edje_Object *obj, const char *part, Evas_Object *obj_swallow) { Edje_Real_Part *rp; @@ -6688,13 +6688,13 @@ edje_object_part_swallow(Edje_Object *obj, const char *part, Evas_Object *obj_sw return efl_content_set(efl_part(obj, part), obj_swallow); } -EAPI void +EDJE_API void edje_object_part_unswallow(Edje_Object *obj, Evas_Object *obj_swallow) { efl_canvas_layout_content_remove(obj, obj_swallow); } -EAPI Evas_Object * +EDJE_API Evas_Object * edje_object_part_swallow_get(const Edje_Object *obj, const char *part) { Edje_Real_Part *rp; @@ -6718,7 +6718,7 @@ edje_object_part_swallow_get(const Edje_Object *obj, const char *part) return efl_content_get(efl_part(obj, part)); } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_object_part_text_set(const Edje_Object *obj, const char *part, const char *text) { Edje *ed; @@ -6728,7 +6728,7 @@ edje_object_part_text_set(const Edje_Object *obj, const char *part, const char * return _edje_efl_text_text_set((Eo *) obj, ed, part, text, EINA_TRUE, EINA_TRUE); } -EAPI const char * +EDJE_API const char * edje_object_part_text_get(const Edje_Object *obj, const char *part) { Edje_Real_Part *rp; diff --git a/src/lib/edje/efl_canvas_layout_eo.legacy.c b/src/lib/edje/efl_canvas_layout_eo.legacy.c index ec6eb8930d..d6b8df6087 100644 --- a/src/lib/edje/efl_canvas_layout_eo.legacy.c +++ b/src/lib/edje/efl_canvas_layout_eo.legacy.c @@ -1,35 +1,35 @@ -EAPI void +EDJE_API void edje_object_animation_set(Efl_Canvas_Layout *obj, Eina_Bool on) { efl_canvas_layout_animated_set(obj, on); } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_object_animation_get(const Efl_Canvas_Layout *obj) { return efl_canvas_layout_animated_get(obj); } -EAPI Efl_Input_Device * +EDJE_API Efl_Input_Device * edje_object_seat_get(const Efl_Canvas_Layout *obj, Eina_Stringshare *name) { return efl_canvas_layout_seat_get(obj, name); } -EAPI Eina_Stringshare * +EDJE_API Eina_Stringshare * edje_object_seat_name_get(const Efl_Canvas_Layout *obj, Efl_Input_Device *device) { return efl_canvas_layout_seat_name_get(obj, device); } -EAPI Eina_Error +EDJE_API Eina_Error edje_object_layout_load_error_get(const Efl_Canvas_Layout *obj) { return efl_canvas_layout_load_error_get(obj); } -EAPI Eina_Bool +EDJE_API Eina_Bool edje_object_content_remove(Efl_Canvas_Layout *obj, Efl_Gfx_Entity *content) { return efl_canvas_layout_content_remove(obj, content); diff --git a/src/lib/edje/efl_canvas_layout_eo.legacy.h b/src/lib/edje/efl_canvas_layout_eo.legacy.h index 057bd77e93..8c4bbefe55 100644 --- a/src/lib/edje/efl_canvas_layout_eo.legacy.h +++ b/src/lib/edje/efl_canvas_layout_eo.legacy.h @@ -31,7 +31,7 @@ typedef Eo Efl_Canvas_Layout; * * @ingroup Edje_Object_Group */ -EAPI void edje_object_animation_set(Efl_Canvas_Layout *obj, Eina_Bool on); +EDJE_API void edje_object_animation_set(Efl_Canvas_Layout *obj, Eina_Bool on); /** * @brief Whether this object is animating or not. @@ -51,7 +51,7 @@ EAPI void edje_object_animation_set(Efl_Canvas_Layout *obj, Eina_Bool on); * * @ingroup Edje_Object_Group */ -EAPI Eina_Bool edje_object_animation_get(const Efl_Canvas_Layout *obj); +EDJE_API Eina_Bool edje_object_animation_get(const Efl_Canvas_Layout *obj); /** * @brief Returns the seat device given its Edje's name. @@ -69,7 +69,7 @@ EAPI Eina_Bool edje_object_animation_get(const Efl_Canvas_Layout *obj); * * @ingroup Edje_Object_Group */ -EAPI Efl_Input_Device *edje_object_seat_get(const Efl_Canvas_Layout *obj, Eina_Stringshare *name); +EDJE_API Efl_Input_Device *edje_object_seat_get(const Efl_Canvas_Layout *obj, Eina_Stringshare *name); /** * @brief Gets the name given to a set by Edje. @@ -87,7 +87,7 @@ EAPI Efl_Input_Device *edje_object_seat_get(const Efl_Canvas_Layout *obj, Eina_S * * @ingroup Edje_Object_Group */ -EAPI Eina_Stringshare *edje_object_seat_name_get(const Efl_Canvas_Layout *obj, Efl_Input_Device *device); +EDJE_API Eina_Stringshare *edje_object_seat_name_get(const Efl_Canvas_Layout *obj, Efl_Input_Device *device); /** * @brief Gets the (last) file loading error for a given object. @@ -98,7 +98,7 @@ EAPI Eina_Stringshare *edje_object_seat_name_get(const Efl_Canvas_Layout *obj, E * * @ingroup Edje_Object_Group */ -EAPI Eina_Error edje_object_layout_load_error_get(const Efl_Canvas_Layout *obj); +EDJE_API Eina_Error edje_object_layout_load_error_get(const Efl_Canvas_Layout *obj); /** * @brief Unswallow an object from this Edje. @@ -110,6 +110,6 @@ EAPI Eina_Error edje_object_layout_load_error_get(const Efl_Canvas_Layout *obj); * * @ingroup Edje_Object_Group */ -EAPI Eina_Bool edje_object_content_remove(Efl_Canvas_Layout *obj, Efl_Gfx_Entity *content); +EDJE_API Eina_Bool edje_object_content_remove(Efl_Canvas_Layout *obj, Efl_Gfx_Entity *content); #endif diff --git a/src/lib/edje/efl_layout_group_eo.legacy.c b/src/lib/edje/efl_layout_group_eo.legacy.c index c68fa2f540..e19640f4c6 100644 --- a/src/lib/edje/efl_layout_group_eo.legacy.c +++ b/src/lib/edje/efl_layout_group_eo.legacy.c @@ -1,5 +1,5 @@ -EAPI const char * +EDJE_API const char * edje_object_data_get(const Efl_Layout_Group *obj, const char *key) { return efl_layout_group_data_get(obj, key); diff --git a/src/lib/edje/efl_layout_group_eo.legacy.h b/src/lib/edje/efl_layout_group_eo.legacy.h index 2dc80c5af8..195daced83 100644 --- a/src/lib/edje/efl_layout_group_eo.legacy.h +++ b/src/lib/edje/efl_layout_group_eo.legacy.h @@ -42,7 +42,7 @@ typedef Eo Efl_Layout_Group; * * @ingroup (null)_Group */ -EAPI const char *edje_object_data_get(const Efl_Layout_Group *obj, const char *key); +EDJE_API const char *edje_object_data_get(const Efl_Layout_Group *obj, const char *key); #endif diff --git a/src/lib/edje/meson.build b/src/lib/edje/meson.build index 8332f9525a..6c812d6923 100644 --- a/src/lib/edje/meson.build +++ b/src/lib/edje/meson.build @@ -51,6 +51,7 @@ foreach eo_file : pub_legacy_eo_files '-o', 'h:' + join_paths(meson.current_build_dir(), eo_file + '.h'), '-o', 'c:' + join_paths(meson.current_build_dir(), eo_file + '.c'), '-o', 'd:' + join_paths(meson.current_build_dir(), eo_file + '.d'), + '-e', 'EDJE_API', '-gchd', '@INPUT@']) endforeach @@ -68,6 +69,7 @@ foreach eo_file : pub_eo_types_files command : eolian_gen + [ '-I', meson.current_source_dir(), eolian_include_directories, '-o', 'h:' + join_paths(meson.current_build_dir(), eo_file + '.h'), '-o', 'd:' + join_paths(meson.current_build_dir(), eo_file + '.d'), + '-e', 'EDJE_API', '-ghd', '@INPUT@']) endforeach @@ -85,6 +87,7 @@ foreach eo_file : priv_eo_files '-o', 'h:' + join_paths(meson.current_build_dir(), eo_file + '.h'), '-o', 'c:' + join_paths(meson.current_build_dir(), eo_file + '.c'), '-o', 'd:' + join_paths(meson.current_build_dir(), eo_file + '.d'), + '-e', 'EDJE_API', '-gchd', '@INPUT@']) endforeach @@ -150,7 +153,7 @@ edje_lib = library('edje', dependencies: edje_pub_deps + edje_deps + edje_ext_deps, include_directories : config_dir + [include_directories('.')], install: true, - c_args : [package_c_args], + c_args : [package_c_args, '-DEDJE_BUILD'], version : meson.project_version() ) |