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