22 |
#define WPT_FILE_MANAGER_H |
#define WPT_FILE_MANAGER_H |
23 |
|
|
24 |
/* File manager commands. */ |
/* File manager commands. */ |
25 |
enum { |
enum fm_cmd_t { |
26 |
FM_NONE = 0, |
FM_NONE = 0, |
27 |
FM_ENCRYPT = 1, |
FM_ENCRYPT = 1, |
28 |
FM_SYMENC = 2, |
FM_SYMENC = 2, |
37 |
}; |
}; |
38 |
|
|
39 |
/* Sort by constants. */ |
/* Sort by constants. */ |
40 |
enum { |
enum fm_sort_t { |
41 |
FM_SORT_NONE = 0, |
FM_SORT_NONE = 0, |
42 |
FM_SORT_STAT = 1, |
FM_SORT_STAT = 1, |
43 |
FM_SORT_NAME = 2, |
FM_SORT_NAME = 2, |
95 |
void fm_delete (listview_ctrl_t lv); |
void fm_delete (listview_ctrl_t lv); |
96 |
int fm_add_dropped_files (listview_ctrl_t lv, HDROP dd_files); |
int fm_add_dropped_files (listview_ctrl_t lv, HDROP dd_files); |
97 |
int fm_add_opened_files (listview_ctrl_t lv, HWND dlg); |
int fm_add_opened_files (listview_ctrl_t lv, HWND dlg); |
|
const char* fm_get_file_type (const char *fname); |
|
98 |
void fm_remove_crit_file_attrs (const char *fname, int force); |
void fm_remove_crit_file_attrs (const char *fname, int force); |
99 |
int fm_get_current_pos (listview_ctrl_t lv); |
int fm_get_current_pos (listview_ctrl_t lv); |
100 |
int fm_sort (listview_ctrl_t lv, int sortby); |
int fm_sort (listview_ctrl_t lv, int sortby); |