summaryrefslogtreecommitdiff
path: root/doc/eio_examples.dox
diff options
context:
space:
mode:
authorYomi <abyomi0@gmail.com>2015-08-03 11:50:10 +0200
committerStefan Schmidt <stefan@osg.samsung.com>2015-08-03 11:59:03 +0200
commitc1f9152f10dc930826e074b394dcf8fd65352edd (patch)
tree6438d1f1ac79d864c4e36e7f3b584b55e367e78a /doc/eio_examples.dox
parenta07c526460d1a3aa0a4e863a33059f1ade32c310 (diff)
eio: grammar and typo fixes in docs.
Summary: Fix a sentence. Changes: src/examples/eio/eio_file_ls.c Reviewers: cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2894
Diffstat (limited to 'doc/eio_examples.dox')
-rw-r--r--doc/eio_examples.dox12
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/eio_examples.dox b/doc/eio_examples.dox
index 4b7c1ed..587cb39 100644
--- a/doc/eio_examples.dox
+++ b/doc/eio_examples.dox
@@ -181,17 +181,17 @@
181 * 181 *
182 * To use eio_file_ls(), you just need to define four callbacks: 182 * To use eio_file_ls(), you just need to define four callbacks:
183 * 183 *
184 * @li The filter callback, which allow or not a file to be seen 184 * @li The filter callback, which allows a file to be seen (or not)
185 * by the main loop handler. This callback run in a separated thread. 185 * by the main loop handler. This callback runs in a separate thread.
186 * @li The main callback, which receive in the main loop all the file 186 * @li The main callback, which receive in the main loop all the file
187 * that are allowed by the filter. If you are updating a user interface 187 * that are allowed by the filter. If you are updating a user interface
188 * it make sense to delay the insertion a little, so you get a chance 188 * it makes sense to delay the insertion a little, so you get a chance
189 * to update the canvas for a bunch of file instead of one by one. 189 * to update the canvas for a bunch of files instead of one by one.
190 * @li The end callback, which is called in the main loop when the 190 * @li The end callback, which is called in the main loop when the
191 * content of the directory has been correctly scanned and all the 191 * content of the directory has been correctly scanned and all the
192 * file notified to the main loop. 192 * file notified to the main loop.
193 * @li The error callback, which is called if an error occurred or 193 * @li The error callback, which is called if an error occurred or
194 * if the listing was cancelled during it's run. You can then retrieve 194 * if the listing was cancelled during its run. You can then retrieve
195 * the error type as an errno error. 195 * the error type as an errno error.
196 * 196 *
197 * Here is a simple example: 197 * Here is a simple example:
@@ -288,7 +288,7 @@
288 * if( type == EIO_MONITOR_FILE_MODIFIED ) 288 * if( type == EIO_MONITOR_FILE_MODIFIED )
289 * printf("is being modified"); 289 * printf("is being modified");
290 * else if( type == EIO_MONITOR_FILE_CLOSED ) 290 * else if( type == EIO_MONITOR_FILE_CLOSED )
291 * printf("is not more being modified"); 291 * printf("is no longer being modified");
292 * else printf("got unexpected changes"); 292 * else printf("got unexpected changes");
293 * printf("\n"); 293 * printf("\n");
294 * } 294 * }