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, unsigned int row,
00018 unsigned int column);
00019 void ewl_filelist_model_data_sort(void *data, unsigned int column,
00020 Ewl_Sort_Direction sort);
00021 int ewl_filelist_model_data_expandable_get(void *data,
00022 unsigned int row);
00023 void *ewl_filelist_model_data_expansion_data_fetch(void *data,
00024 unsigned int parent);
00025 unsigned int ewl_filelist_model_data_unref(void *data);
00026 int ewl_filelist_model_column_sortable(void *data,
00027 unsigned int column);
00028
00029 unsigned int ewl_filelist_model_show_dot_files_set(Ewl_Filelist_Directory *dir,
00030 unsigned int show_dot);
00031 unsigned int ewl_filelist_model_show_dot_files_get(Ewl_Filelist_Directory *dir);
00032
00033 unsigned int ewl_filelist_model_filter_set(Ewl_Filelist_Directory *dir,
00034 Ewl_Filelist_Filter *filter);
00035 Ewl_Filelist_Filter *ewl_filelist_model_filter_get
00036 (Ewl_Filelist_Directory *dir);
00037
00042 #endif
00043