aboutsummaryrefslogtreecommitdiff
path: root/fiv-io.h
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2023-04-14 03:52:01 +0200
committerPřemysl Eric Janouch <p@janouch.name>2023-04-14 05:24:57 +0200
commit05ac3a065198378653d0b94dc25946c71d4d23a1 (patch)
tree17a33ef7dc107920402e3dc690c5d3e1f3de7aae /fiv-io.h
parent4317c7e581415078c876ad5699d41cbea3c89cb5 (diff)
downloadfiv-05ac3a065198378653d0b94dc25946c71d4d23a1.tar.gz
fiv-05ac3a065198378653d0b94dc25946c71d4d23a1.tar.xz
fiv-05ac3a065198378653d0b94dc25946c71d4d23a1.zip
Check filesize when retrieving thumbnails
In particular, this handles screenshots from Rigol oscilloscopes, which reuse the same name series with the same file modification time.
Diffstat (limited to 'fiv-io.h')
-rw-r--r--fiv-io.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fiv-io.h b/fiv-io.h
index 1c3500e..71917da 100644
--- a/fiv-io.h
+++ b/fiv-io.h
@@ -144,6 +144,7 @@ typedef struct {
gchar *target_uri; ///< GIO URI for any target
gchar *display_name; ///< Label for the file
gchar *collate_key; ///< Collate key for the filename
+ guint64 filesize; ///< Filesize in bytes
gint64 mtime_msec; ///< Modification time in milliseconds
} FivIoModelEntry;