summaryrefslogtreecommitdiff
path: root/apps/gui/list.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gui/list.h')
-rw-r--r--apps/gui/list.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/gui/list.h b/apps/gui/list.h
index 30de784687..8006847806 100644
--- a/apps/gui/list.h
+++ b/apps/gui/list.h
@@ -59,9 +59,11 @@ typedef enum themable_icons list_get_icon(int selected_item, void * data);
59 * (The content of the buffer may not be used by the list, we use 59 * (The content of the buffer may not be used by the list, we use
60 * the return value of the function in all cases to avoid filling 60 * the return value of the function in all cases to avoid filling
61 * a buffer when it's not necessary) 61 * a buffer when it's not necessary)
62 * - buffer_len : length of the buffer
62 * Returns a pointer to a string that contains the text to display 63 * Returns a pointer to a string that contains the text to display
63 */ 64 */
64typedef char * list_get_name(int selected_item, void * data, char * buffer); 65typedef char * list_get_name(int selected_item, void * data,
66 char * buffer, size_t buffer_len);
65/* 67/*
66 * Voice callback 68 * Voice callback
67 * - selected_item : an integer that tells the number of the item to speak 69 * - selected_item : an integer that tells the number of the item to speak