summaryrefslogtreecommitdiff
path: root/src/MediaDataRepresentation.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2023-06-28 21:35:52 +0200
committerJörg Frings-Fürst <debian@jff.email>2023-06-28 21:35:52 +0200
commitb86540b743f1a87a163ffb811c8fe22a01fefa38 (patch)
treeb47cb3bb83c2377234226fb3987ab3320a987dd9 /src/MediaDataRepresentation.vala
parentac6e0b731b9f0b2efd392e3309a5c07e2a66adad (diff)
parente905d8e16eec152d19797937f13ba3cf4b8f8aca (diff)
Merge branch 'release/debian/0.32.1-1'debian/0.32.1-1
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();
}