projects
/
goodguy
/
history.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
proxy images, add beep on proxy auto_load, fix unnest proxy bug, vwin in/out to_clip bug
[goodguy/history.git]
/
cinelerra-5.1
/
guicast
/
filesystem.h
diff --git
a/cinelerra-5.1/guicast/filesystem.h
b/cinelerra-5.1/guicast/filesystem.h
index 7226c11ea91c8fe547619a91843f89a0ee3484a7..c976135b0459739e75ca9bb9e70ca71ff1c4f48d 100644
(file)
--- a/
cinelerra-5.1/guicast/filesystem.h
+++ b/
cinelerra-5.1/guicast/filesystem.h
@@
-30,9
+30,8
@@
class FileItem
{
public:
FileItem();
{
public:
FileItem();
- FileItem(char *path, char *name, int is_dir,
- int64_t size, int month, int day, int year,
- int64_t calendar_time, int item_no=-1);
+ FileItem(const char *path, const char *name, int is_dir,
+ int64_t size, time_t mtime, int item_no=-1);
~FileItem();
int set_path(char *path);
~FileItem();
int set_path(char *path);
@@
-47,10
+46,7
@@
public:
char *name;
int is_dir;
int64_t size;
char *name;
int is_dir;
int64_t size;
- int month;
- int day;
- int year;
- int64_t calendar_time;
+ time_t mtime;
int item_no;
};
int item_no;
};
@@
-100,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
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.
// Array of files and directories in the directory pointed to by current_dir.
// Directories are first.
@@
-148,7
+145,6
@@
private:
int want_directory;
int show_all_files; // shows . files
char current_dir[BCTEXTLEN];
int want_directory;
int show_all_files; // shows . files
char current_dir[BCTEXTLEN];
- char string[BCTEXTLEN], string2[BCTEXTLEN];
int sort_order;
int sort_field;
};
int sort_order;
int sort_field;
};