edje: doxygen doc improvement in edje_file_data_get

This commit is contained in:
Jerome Pinot 2013-03-23 14:10:22 +09:00
parent 1117cb938a
commit 11e12d9a08
1 changed files with 5 additions and 5 deletions

View File

@ -326,10 +326,10 @@ EAPI void edje_fontset_append_set (const char *fonts);
* Get data from the file level data block of an edje file * Get data from the file level data block of an edje file
* @param file The path to the .edj file * @param file The path to the .edj file
* @param key The data key * @param key The data key
* @return The string value of the data. Must be freed by the user when no * @return The string value of the data or NULL if no key is found.
* longer needed. * Must be freed by the user when no longer needed.
* *
* If an edje file is built from the following edc: * If an edje file test.edj is built from the following edc:
* *
* data { * data {
* item: "key1" "value1"; * item: "key1" "value1";
@ -337,14 +337,14 @@ EAPI void edje_fontset_append_set (const char *fonts);
* } * }
* collections { ... } * collections { ... }
* *
* Then, edje_file_data_get("key1") will return "value1" * Then, edje_file_data_get("test.edj", "key1") will return "value1"
*/ */
EAPI char *edje_file_data_get (const char *file, const char *key); EAPI char *edje_file_data_get (const char *file, const char *key);
/** /**
* @brief Load a new module in Edje. * @brief Load a new module in Edje.
* @param module The name of the module that will be added to 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. * @return EINA_TRUE if the module was successfully loaded. Otherwise, EINA_FALSE.
* *
* Modules are used to add functionality to Edje. * Modules are used to add functionality to Edje.
* So, when a module is loaded, its functionality should be available for use. * So, when a module is loaded, its functionality should be available for use.