diff options
Diffstat (limited to 'core/qthelper.h')
-rw-r--r-- | core/qthelper.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/qthelper.h b/core/qthelper.h index f84c74d2b..a71960c86 100644 --- a/core/qthelper.h +++ b/core/qthelper.h @@ -37,9 +37,10 @@ QByteArray hashFile(const QString filename); void learnImages(const QDir dir, int max_recursions); void add_hash(const QString filename, QByteArray hash); void hashPicture(struct picture *picture); +extern "C" char *hashstring(const char *filename); QString localFilePath(const QString originalFilename); QString fileFromHash(const char *hash); -void learnHash(struct picture *picture, QByteArray hash); +void learnHash(const struct picture *picture, QByteArray hash); weight_t string_to_weight(const char *str); depth_t string_to_depth(const char *str); pressure_t string_to_pressure(const char *str); |