2017-04-27 18:24:53 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0
|
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();
|
2017-05-07 10:41:09 +00:00
|
|
|
int parse_seabear_header(const char *filename, char **params, int pnr);
|
2017-05-25 10:57:06 +00:00
|
|
|
extern const char *get_current_date();
|
2017-08-25 21:21:27 +00:00
|
|
|
enum inertgas {N2, HE};
|
|
|
|
double cache_value(int tissue, int timestep, enum inertgas gas);
|
|
|
|
void cache_insert(int tissue, int timestep, enum inertgas gas, double value);
|
2017-11-09 14:43:38 +00:00
|
|
|
void print_qt_versions();
|
2017-08-29 09:41:30 +00:00
|
|
|
void lock_planner();
|
|
|
|
void unlock_planner();
|
2015-06-12 13:45:56 +00:00
|
|
|
|
|
|
|
#endif // QTHELPERFROMC_H
|