lib/ewl_filelist_model.h
Go to the documentation of this file.00001 #ifndef EWL_FILELIST_MODEL_H
00002 #define EWL_FILELIST_MODEL_H
00003 #include "ewl_filelist.h"
00004
00012 Ewl_Filelist_Directory *ewl_filelist_model_directory_new(const char *path,
00013 unsigned char show_dot,
00014 unsigned int show_dot_dot,
00015 Ewl_Filelist_Filter *filter);
00016 unsigned int ewl_filelist_model_data_count(void *data);
00017 void *ewl_filelist_model_data_fetch(void *data,
00018 unsigned int row,
00019 unsigned int column);
00020 void ewl_filelist_model_data_sort(void *data,
00021 unsigned int column,
00022 Ewl_Sort_Direction sort);
00023 int ewl_filelist_model_data_expandable_get(void *data,
00024 unsigned int row);
00025 void *ewl_filelist_model_data_expansion_data_fetch(void *data,
00026 unsigned int parent);
00027 unsigned int ewl_filelist_model_data_unref(void *data);
00028 int ewl_filelist_model_column_sortable(void *data,
00029 unsigned int column);
00030
00031 unsigned int ewl_filelist_model_show_dot_files_set
00032 (Ewl_Filelist_Directory *dir,
00033 unsigned int show_dot);
00034 unsigned int ewl_filelist_model_show_dot_files_get
00035 (Ewl_Filelist_Directory *dir);
00036
00037 unsigned int ewl_filelist_model_filter_set
00038 (Ewl_Filelist_Directory *dir,
00039 Ewl_Filelist_Filter *filter);
00040 Ewl_Filelist_Filter *ewl_filelist_model_filter_get
00041 (Ewl_Filelist_Directory *dir);
00042
00047 #endif
00048