summaryrefslogtreecommitdiff
path: root/legacy/efreet/src/lib/efreet_desktop_command.c
diff options
context:
space:
mode:
authorSebastian Dransfeld <sd@tango.flipp.net>2011-01-27 17:49:45 +0000
committerSebastian Dransfeld <sd@tango.flipp.net>2011-01-27 17:49:45 +0000
commit978741a789dd2b52eff6c818b0bcd7a4a1576af0 (patch)
treecdc3feb5ee881dde6d66aa65c20b39832a3c5b15 /legacy/efreet/src/lib/efreet_desktop_command.c
parent3997a22f3a4ce165dda1adb7f5fc1d28a1052a4d (diff)
doc
SVN revision: 56326
Diffstat (limited to 'legacy/efreet/src/lib/efreet_desktop_command.c')
-rw-r--r--legacy/efreet/src/lib/efreet_desktop_command.c38
1 files changed, 19 insertions, 19 deletions
diff --git a/legacy/efreet/src/lib/efreet_desktop_command.c b/legacy/efreet/src/lib/efreet_desktop_command.c
index 5eab031..50432b7 100644
--- a/legacy/efreet/src/lib/efreet_desktop_command.c
+++ b/legacy/efreet/src/lib/efreet_desktop_command.c
@@ -141,9 +141,9 @@ static char *efreet_string_append_char(char *dest, int *size,
141 141
142 142
143/** 143/**
144 * @param desktop: The desktop file to work with 144 * @param desktop The desktop file to work with
145 * @param files: The files to be substituted into the exec line 145 * @param files The files to be substituted into the exec line
146 * @param data: The data pointer to pass 146 * @param data The data pointer to pass
147 * @return Returns the Ecore_Exce for @a desktop 147 * @return Returns the Ecore_Exce for @a desktop
148 * @brief Parses the @a desktop exec line and returns an Ecore_Exe. 148 * @brief Parses the @a desktop exec line and returns an Ecore_Exe.
149 */ 149 */
@@ -154,11 +154,11 @@ efreet_desktop_exec(Efreet_Desktop *desktop, Eina_List *files, void *data)
154} 154}
155 155
156/** 156/**
157 * @param desktop: the desktop entry 157 * @param desktop the desktop entry
158 * @param files: an eina list of file names to execute, as either absolute paths, 158 * @param files an eina list of file names to execute, as either absolute paths,
159 * relative paths, or uris 159 * relative paths, or uris
160 * @param func: a callback to call for each prepared command line 160 * @param func a callback to call for each prepared command line
161 * @param data: user data passed to the callback 161 * @param data user data passed to the callback
162 * @return Returns the return value of @p func on success or NULL on failure 162 * @return Returns the return value of @p func on success or NULL on failure
163 * @brief Get a command to use to execute a desktop entry. 163 * @brief Get a command to use to execute a desktop entry.
164 */ 164 */
@@ -170,8 +170,8 @@ efreet_desktop_command_get(Efreet_Desktop *desktop, Eina_List *files,
170} 170}
171 171
172/** 172/**
173 * @param desktop: the desktop entry 173 * @param desktop the desktop entry
174 * @param files an eina list of local files, as absolute paths, local paths, or file:// uris (or NULL to get exec string with no files appended) 174 * @param files an eina list of local files, as absolute paths, local paths, or file// uris (or NULL to get exec string with no files appended)
175 * @return Returns an eina list of exec strings 175 * @return Returns an eina list of exec strings
176 * @brief Get the command to use to execute a desktop entry 176 * @brief Get the command to use to execute a desktop entry
177 * 177 *
@@ -217,12 +217,12 @@ efreet_desktop_command_local_get(Efreet_Desktop *desktop, Eina_List *files)
217} 217}
218 218
219/** 219/**
220 * @param desktop: the desktop entry 220 * @param desktop the desktop entry
221 * @param files: an eina list of file names to execute, as either absolute paths, 221 * @param files an eina list of file names to execute, as either absolute paths,
222 * relative paths, or uris 222 * relative paths, or uris
223 * @param cb_command: a callback to call for each prepared command line 223 * @param cb_command a callback to call for each prepared command line
224 * @param cb_progress: a callback to get progress for the downloads 224 * @param cb_progress a callback to get progress for the downloads
225 * @param data: user data passed to the callback 225 * @param data user data passed to the callback
226 * @return Returns 1 on success or 0 on failure 226 * @return Returns 1 on success or 0 on failure
227 * @brief Get a command to use to execute a desktop entry, and receive progress 227 * @brief Get a command to use to execute a desktop entry, and receive progress
228 * updates for downloading of remote URI's passed in. 228 * updates for downloading of remote URI's passed in.
@@ -368,7 +368,7 @@ efreet_desktop_command_execs_process(Efreet_Desktop_Command *command, Eina_List
368 * processed filename information. The callback passed in to 368 * processed filename information. The callback passed in to
369 * efreet_desktop_command_get is called for each exec string created. 369 * efreet_desktop_command_get is called for each exec string created.
370 * 370 *
371 * @param command: the command to build 371 * @param command the command to build
372 * @return a list of executable strings 372 * @return a list of executable strings
373 */ 373 */
374static Eina_List * 374static Eina_List *
@@ -653,8 +653,8 @@ efreet_desktop_command_append_icon(char *dest, int *size, int *len,
653} 653}
654 654
655/** 655/**
656 * @param command: the Efreet_Desktop_Comand that this file is for 656 * @param command the Efreet_Desktop_Comand that this file is for
657 * @param file: the filname as either an absolute path, relative path, or URI 657 * @param file the filname as either an absolute path, relative path, or URI
658 */ 658 */
659static Efreet_Desktop_Command_File * 659static Efreet_Desktop_Command_File *
660efreet_desktop_command_file_process(Efreet_Desktop_Command *command, const char *file) 660efreet_desktop_command_file_process(Efreet_Desktop_Command *command, const char *file)
@@ -740,7 +740,7 @@ error:
740 740
741/** 741/**
742 * @brief Find the local path portion of a file uri. 742 * @brief Find the local path portion of a file uri.
743 * @param uri: a uri beginning with "file:" 743 * @param uri a uri beginning with "file"
744 * @return the location of the path portion of the uri, 744 * @return the location of the path portion of the uri,
745 * or NULL if the file is not on this machine 745 * or NULL if the file is not on this machine
746 */ 746 */
@@ -853,7 +853,7 @@ efreet_desktop_cb_download_progress(void *data,
853 853
854/** 854/**
855 * @brief Build an absolute path from an absolute or relative one. 855 * @brief Build an absolute path from an absolute or relative one.
856 * @param path: an absolute or relative path 856 * @param path an absolute or relative path
857 * @return an allocated absolute path (must be freed) 857 * @return an allocated absolute path (must be freed)
858 */ 858 */
859static char * 859static char *