diff options
Diffstat (limited to 'subsurface-core/imagedownloader.h')
-rw-r--r-- | subsurface-core/imagedownloader.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/subsurface-core/imagedownloader.h b/subsurface-core/imagedownloader.h index fd6a91158..cd85c9509 100644 --- a/subsurface-core/imagedownloader.h +++ b/subsurface-core/imagedownloader.h @@ -7,11 +7,14 @@ typedef QPair<QString, QByteArray> SHashedFilename; +extern QUrl cloudImageURL(const char *hash); + + class ImageDownloader : public QObject { Q_OBJECT; public: ImageDownloader(struct picture *picture); - void load(); + void load(bool fromHash); private: struct picture *picture; |