aboutsummaryrefslogtreecommitdiff
path: root/src/imagestore.h
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.me.uk>2018-04-01 11:08:38 +0200
committerThomas White <taw@bitwiz.me.uk>2018-04-01 11:08:38 +0200
commit6acebfa0b19e106c6dca91eceb31c6d1975828b5 (patch)
treed5e685310c8b2b93ce4246c2b518a259bb78c960 /src/imagestore.h
parentd21213ef38b2027e3ac668d6906d0ff439b1885a (diff)
Use GFile for presentation loading
Diffstat (limited to 'src/imagestore.h')
-rw-r--r--src/imagestore.h16
1 files changed, 5 insertions, 11 deletions
diff --git a/src/imagestore.h b/src/imagestore.h
index 0923da1..0d4df24 100644
--- a/src/imagestore.h
+++ b/src/imagestore.h
@@ -28,22 +28,16 @@
#endif
#include <cairo.h>
-
+#include <gio/gio.h>
typedef struct _imagestore ImageStore;
extern ImageStore *imagestore_new(const char *storename);
-
extern void imagestore_destroy(ImageStore *is);
-
-extern void imagestore_set_presentation_file(ImageStore *is,
- const char *filename);
-
-extern cairo_surface_t *lookup_image(ImageStore *is, const char *filename, int w);
-
-extern int imagestore_get_size(ImageStore *is, const char *filename,
- int *w, int *h);
-
+extern void imagestore_set_parent(ImageStore *is, GFile *parent);
extern void show_imagestore(ImageStore *is);
+extern cairo_surface_t *lookup_image(ImageStore *is, const char *uri, int w);
+extern int imagestore_get_size(ImageStore *is, const char *uri, int *w, int *h);
+
#endif /* IMAGESTORE_H */