Changeset 2309891 in mainline for uspace/lib/ui


Ignore:
Timestamp:
2025-12-14T17:15:57Z (3 months ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master
Children:
79b77ce
Parents:
144fafd
Message:

Copy files (Navigator and command line).

TODO Overwrite query, new I/O error types.

Location:
uspace/lib/ui
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/ui/include/ui/filelist.h

    r144fafd r2309891  
    5050extern void ui_file_list_set_rect(ui_file_list_t *, gfx_rect_t *);
    5151extern errno_t ui_file_list_read_dir(ui_file_list_t *, const char *);
     52extern char *ui_file_list_get_dir(ui_file_list_t *);
    5253extern errno_t ui_file_list_activate(ui_file_list_t *);
    5354extern errno_t ui_file_list_refresh(ui_file_list_t *);
  • uspace/lib/ui/src/filelist.c

    r144fafd r2309891  
    424424}
    425425
     426/** Return path to the current directory.
     427 *
     428 * @return Path to current directory or @c NULL if out of memory
     429 */
     430char *ui_file_list_get_dir(ui_file_list_t *flist)
     431{
     432        return str_dup(flist->dir);
     433}
     434
    426435/** Re-read file list from directory.
    427436 *
Note: See TracChangeset for help on using the changeset viewer.