X-Git-Url: http://git.cinelerra-gg.org/git/?p=goodguy%2Fhistory.git;a=blobdiff_plain;f=cinelerra-5.1%2Fguicast%2Ffilesystem.h;h=c976135b0459739e75ca9bb9e70ca71ff1c4f48d;hp=75110c6af9d48341091f7863f5e494897b4691b8;hb=cb73d14fe59acbe8eba0a62f4af26a23072201fa;hpb=1baa507d5e5bff7918b9b579f018fd74636797fe diff --git a/cinelerra-5.1/guicast/filesystem.h b/cinelerra-5.1/guicast/filesystem.h index 75110c6a..c976135b 100644 --- a/cinelerra-5.1/guicast/filesystem.h +++ b/cinelerra-5.1/guicast/filesystem.h @@ -30,7 +30,7 @@ class FileItem { public: FileItem(); - FileItem(char *path, char *name, int is_dir, + FileItem(const char *path, const char *name, int is_dir, int64_t size, time_t mtime, int item_no=-1); ~FileItem(); @@ -96,6 +96,7 @@ public: int parse_directories(char *new_dir); // add directories int parse_dots(char *new_dir); // move up directory tree after expanding tildas static char *basepath(const char *path); // collapse ".", "..", "//" elements + static int test_filter(const char *url, const char *filter); // returns 0 if url matches filter // Array of files and directories in the directory pointed to by current_dir. // Directories are first. @@ -144,7 +145,6 @@ private: int want_directory; int show_all_files; // shows . files char current_dir[BCTEXTLEN]; - char string[BCTEXTLEN], string2[BCTEXTLEN]; int sort_order; int sort_field; };