diff options
Diffstat (limited to 'src/MediaDataRepresentation.vala')
-rw-r--r-- | src/MediaDataRepresentation.vala | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/MediaDataRepresentation.vala b/src/MediaDataRepresentation.vala index 6e6af00..3400577 100644 --- a/src/MediaDataRepresentation.vala +++ b/src/MediaDataRepresentation.vala @@ -7,10 +7,10 @@ public class BackingFileState { public string filepath; public int64 filesize; - public time_t modification_time; + public DateTime modification_time; public string? md5; - public BackingFileState(string filepath, int64 filesize, time_t modification_time, string? md5) { + public BackingFileState(string filepath, int64 filesize, DateTime modification_time, string? md5) { this.filepath = filepath; this.filesize = filesize; this.modification_time = modification_time; @@ -154,7 +154,7 @@ public abstract class MediaSource : ThumbnailSource, Indexable { public abstract File get_master_file(); public abstract uint64 get_master_filesize(); public abstract uint64 get_filesize(); - public abstract time_t get_timestamp(); + public abstract DateTime? get_timestamp(); // Must return at least one, for the master file. public abstract BackingFileState[] get_backing_files_state(); @@ -262,7 +262,7 @@ public abstract class MediaSource : ThumbnailSource, Indexable { controller.commit(); } - public abstract time_t get_exposure_time(); + public abstract DateTime? get_exposure_time(); public abstract ImportID get_import_id(); } |