summaryrefslogtreecommitdiff
path: root/test/jfif/PhotoMetadata-stub.vala
diff options
context:
space:
mode:
Diffstat (limited to 'test/jfif/PhotoMetadata-stub.vala')
-rw-r--r--test/jfif/PhotoMetadata-stub.vala8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/jfif/PhotoMetadata-stub.vala b/test/jfif/PhotoMetadata-stub.vala
new file mode 100644
index 0000000..2d5b364
--- /dev/null
+++ b/test/jfif/PhotoMetadata-stub.vala
@@ -0,0 +1,8 @@
+// stub class for photo metadata needed by the JFIF Support test
+public class PhotoMetadata {
+ public PhotoMetadata() { }
+ public void read_from_file(File file) throws Error { }
+ public void write_to_file(File file) throws Error { }
+ public string? exif_hash() { return null; }
+ public string? thumbnail_hash() { return null; }
+}