diff options
Diffstat (limited to 'core/qthelper.h')
-rw-r--r-- | core/qthelper.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/core/qthelper.h b/core/qthelper.h index 0594bf7df..b20763a3c 100644 --- a/core/qthelper.h +++ b/core/qthelper.h @@ -27,16 +27,10 @@ QString get_divepoint_gas_string(struct dive *d, const divedatapoint& dp); QString get_taglist_string(struct tag_entry *tag_list); void read_hashes(); void write_hashes(); -void updateHash(struct picture *picture); -QByteArray hashFile(const QString &filename); -QString hashString(const char *filename); QString thumbnailFileName(const QString &filename); -void learnImages(const QStringList &dirNames, int max_recursions); +void learnImages(const QStringList &dirNames, int max_recursions, const QVector<QString> &imageFilenames); void learnPictureFilename(const QString &originalName, const QString &localName); -void hashPicture(QString filename); -extern "C" char *hashstring(const char *filename); QString localFilePath(const QString &originalFilename); -void learnHash(const QString &originalName, const QString &localName, const 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); @@ -109,8 +103,6 @@ void updateWindowTitle(); void subsurface_mkdir(const char *dir); char *get_file_name(const char *fileName); void copy_image_and_overwrite(const char *cfileName, const char *path, const char *cnewName); -char *hashstring(const char *filename); -void register_hash(const char *filename, const char *hash); char *move_away(const char *path); const char *local_file_path(struct picture *picture); char *cloud_url(); |