Changeset 2309891 in mainline for uspace/lib/ui
- Timestamp:
- 2025-12-14T17:15:57Z (3 months ago)
- Branches:
- master
- Children:
- 79b77ce
- Parents:
- 144fafd
- Location:
- uspace/lib/ui
- Files:
-
- 2 edited
-
include/ui/filelist.h (modified) (1 diff)
-
src/filelist.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ui/include/ui/filelist.h
r144fafd r2309891 50 50 extern void ui_file_list_set_rect(ui_file_list_t *, gfx_rect_t *); 51 51 extern errno_t ui_file_list_read_dir(ui_file_list_t *, const char *); 52 extern char *ui_file_list_get_dir(ui_file_list_t *); 52 53 extern errno_t ui_file_list_activate(ui_file_list_t *); 53 54 extern errno_t ui_file_list_refresh(ui_file_list_t *); -
uspace/lib/ui/src/filelist.c
r144fafd r2309891 424 424 } 425 425 426 /** Return path to the current directory. 427 * 428 * @return Path to current directory or @c NULL if out of memory 429 */ 430 char *ui_file_list_get_dir(ui_file_list_t *flist) 431 { 432 return str_dup(flist->dir); 433 } 434 426 435 /** Re-read file list from directory. 427 436 *
Note:
See TracChangeset
for help on using the changeset viewer.
