lv2 fixes, dcraw upgrade, arch/libdv
[goodguy/history.git] / cinelerra-5.1 / guicast / filesystem.h
index 75110c6af9d48341091f7863f5e494897b4691b8..c976135b0459739e75ca9bb9e70ca71ff1c4f48d 100644 (file)
@@ -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;
 };