projects
/
goodguy
/
history.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
filebox changes, mts fix, dvd/bd create changes, motionwindow layout
[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 40a0b7f688b6f7127c2806e20d3e91147708d107..14fe9ef597835f36f61c8ca5965b5d8f73732b29 100644
(file)
--- a/
cinelerra-5.1/guicast/filesystem.h
+++ b/
cinelerra-5.1/guicast/filesystem.h
@@
-30,14
+30,9
@@
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);
+ 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();
int set_path(char *path);
~FileItem();
int set_path(char *path);
@@
-55,6
+50,7
@@
public:
int day;
int year;
int64_t calendar_time;
int day;
int year;
int64_t calendar_time;
+ int item_no;
};
class FileSystem
};
class FileSystem
@@
-67,7
+63,9
@@
public:
// Load the new directory and change current_dir to it.
// This does not complete the dir path.
// If any of the files failed to stat, it returns nonzero.
// Load the new directory and change current_dir to it.
// This does not complete the dir path.
// If any of the files failed to stat, it returns nonzero.
+ int scan_directory(const char*);
int update(const char *new_dir = 0);
int update(const char *new_dir = 0);
+ int update_sort();
// Complete the path in the string and change to the directory in the string.
// Does not change new_dir
// Complete the path in the string and change to the directory in the string.
// Does not change new_dir