From 4ac0644d28ee4481da9152c4ee484ffda8dc520f Mon Sep 17 00:00:00 2001 From: gastal Date: Mon, 17 Sep 2012 15:00:27 +0000 Subject: [PATCH] edje: inserting module functions to the General Group and adding doc to them git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@76767 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/Edje.h | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/src/lib/Edje.h b/src/lib/Edje.h index e86b7ac..1f846da 100644 --- a/src/lib/Edje.h +++ b/src/lib/Edje.h @@ -443,6 +443,28 @@ EAPI void edje_fontset_append_set (const char *fonts); EAPI char *edje_file_data_get (const char *file, const char *key); /** + * @brief Load a new module in Edje. + * @param module The name of the module that will be added to Edje. + * @return EINA_TRUE if if the module was successfully loaded. Otherwise, EINA_FALSE. + * + * Modules are used to add functionality to Edje. + * So, when a module is loaded, its functionality should be available for use. + * + */ +EAPI Eina_Bool edje_module_load (const char *module); + +/** + * @brief Retrieves all modules that can be loaded. + * @return A list of all loadable modules. + * + * This function retrieves all modules that can be loaded by edje_module_load(). + * + * @see edje_module_load(). + * + */ +EAPI const Eina_List *edje_available_modules_get (void); + +/** * @brief Get the edje append fontset. * * @return The edje append fontset. @@ -4046,9 +4068,6 @@ EAPI const Edje_External_Param_Info *edje_external_param_info_get (const char */ EAPI const Edje_External_Type *edje_external_type_get (const char *type_name); - EAPI Eina_Bool edje_module_load (const char *module); - EAPI const Eina_List *edje_available_modules_get (void); - /* perspective info for maps inside edje objects */ typedef struct _Edje_Perspective Edje_Perspective; -- 2.7.4