summaryrefslogtreecommitdiff
path: root/src/MediaDataRepresentation.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2023-06-14 20:36:37 +0200
committerJörg Frings-Fürst <debian@jff.email>2023-06-14 20:36:37 +0200
commitbb80d3feebdc9acc52e3f4ad24084d8425f043a2 (patch)
tree2084a84c39f159c6aea254775dc0880d52579d45 /src/MediaDataRepresentation.vala
parentb26ff0798252a1a8072dd2c7a67f6205de9fde11 (diff)
parent31804433d72460cbe0a39f9f8ea5e76058d84cda (diff)
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'src/MediaDataRepresentation.vala')
-rw-r--r--src/MediaDataRepresentation.vala8
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();
}