2015-06-12 06:45:56 -07:00
|
|
|
#ifndef QTHELPERFROMC_H
|
|
|
|
#define QTHELPERFROMC_H
|
|
|
|
|
|
|
|
bool getProxyString(char **buffer);
|
|
|
|
bool canReachCloudServer();
|
2015-06-12 06:48:51 -07:00
|
|
|
void updateWindowTitle();
|
2015-06-13 09:08:39 -07:00
|
|
|
bool isCloudUrl(const char *filename);
|
2015-06-13 18:25:36 -07:00
|
|
|
void subsurface_mkdir(const char *dir);
|
2015-06-21 06:37:24 -07:00
|
|
|
char *get_file_name(const char *fileName);
|
2015-06-21 11:55:40 -07:00
|
|
|
void copy_image_and_overwrite(const char *cfileName, const char *path, const char *cnewName);
|
2015-06-21 06:37:24 -07:00
|
|
|
char *hashstring(char *filename);
|
2015-06-21 07:43:35 -07:00
|
|
|
bool picture_exists(struct picture *picture);
|
2015-09-23 05:08:35 -07:00
|
|
|
char *move_away(const char *path);
|
2015-06-21 10:29:02 -07:00
|
|
|
const char *local_file_path(struct picture *picture);
|
2015-06-21 07:43:35 -07:00
|
|
|
void savePictureLocal(struct picture *picture, const char *data, int len);
|
2015-09-17 16:56:58 +02:00
|
|
|
void cache_picture(struct picture *picture);
|
2015-09-23 11:13:07 +02:00
|
|
|
char *cloud_url();
|
|
|
|
char *hashfile_name_string();
|
|
|
|
char *picturedir_string();
|
2015-06-12 06:45:56 -07:00
|
|
|
|
|
|
|
#endif // QTHELPERFROMC_H
|