Drag & drop feature:
[blender.git] / source / blender / editors / space_file / filelist.h
index e75a3143817e26e285297f9fd63a17e9846f1897..6ea91746b855b348c1ba812cf02b5e97e8ad457d 100644 (file)
@@ -47,8 +47,8 @@ struct rcti;
 struct ReportList;
 
 struct FileList *      filelist_new(short type);
-void                           filelist_init_icons();
-void                           filelist_free_icons();
+void                           filelist_init_icons(void);
+void                           filelist_free_icons(void);
 int                                    filelist_find(struct FileList* filelist, char *file);
 void                           filelist_free(struct FileList* filelist);
 void                           filelist_sort(struct FileList* filelist, short sort);
@@ -58,6 +58,7 @@ void                          filelist_setdir(struct FileList* filelist, const char *dir);
 struct direntry *      filelist_file(struct FileList* filelist, int index);
 void                           filelist_hidedot(struct FileList* filelist, short hide);
 void                           filelist_setfilter(struct FileList* filelist, unsigned int filter);
+void                           filelist_setfilter_types(struct FileList* filelist, const char *filter_glob);
 void                           filelist_filter(struct FileList* filelist);
 void                           filelist_swapselect(struct FileList* filelist);
 void                           filelist_imgsize(struct FileList* filelist, short w, short h);
@@ -68,7 +69,6 @@ void                          filelist_readdir(struct FileList* filelist);
 
 int                                    filelist_empty(struct FileList* filelist);
 void                           filelist_parent(struct FileList* filelist);
-void                           filelist_setfiletypes(struct FileList* filelist, short has_quicktime);
 
 
 int                                    filelist_islibrary (struct FileList* filelist, char* dir, char* group);
@@ -77,7 +77,7 @@ void                          filelist_from_library(struct FileList* filelist);
 void                           filelist_freelib(struct FileList* filelist);
 void                           filelist_hideparent(struct FileList* filelist, short hide);
 
-struct ListBase *      folderlist_new();
+struct ListBase *      folderlist_new(void);
 void                           folderlist_free(struct ListBase* folderlist);
 struct ListBase        *       folderlist_duplicate(ListBase* folderlist);
 void                           folderlist_popdir(struct ListBase* folderlist, char *dir);
@@ -86,6 +86,7 @@ int                                   folderlist_clear_next(struct SpaceFile* sfile);
 
 void                           thumbnails_stop(struct FileList* filelist, const struct bContext* C);
 void                           thumbnails_start(struct FileList* filelist, const struct bContext* C);
+int                                    thumbnails_running(struct FileList* filelist, const struct bContext* C);
 
 #ifdef __cplusplus
 }