| 
									
										
										
										
											2017-04-27 20:24:53 +02:00
										 |  |  | // SPDX-License-Identifier: GPL-2.0
 | 
					
						
							| 
									
										
										
										
											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-12-20 07:59:50 -08:00
										 |  |  | const char *subsurface_user_agent(); | 
					
						
							| 
									
										
										
										
											2017-01-07 03:01:14 +01:00
										 |  |  | enum deco_mode decoMode(); | 
					
						
							| 
									
										
										
										
											2017-05-07 13:41:09 +03:00
										 |  |  | int parse_seabear_header(const char *filename, char **params, int pnr); | 
					
						
							| 
									
										
										
										
											2017-05-25 12:57:06 +02:00
										 |  |  | extern const char *get_current_date(); | 
					
						
							| 
									
										
										
										
											2017-08-25 23:21:27 +02: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 06:43:38 -08:00
										 |  |  | void print_qt_versions(); | 
					
						
							| 
									
										
										
										
											2017-08-29 11:41:30 +02:00
										 |  |  | void lock_planner(); | 
					
						
							|  |  |  | void unlock_planner(); | 
					
						
							| 
									
										
										
										
											2015-06-12 06:45:56 -07:00
										 |  |  | 
 | 
					
						
							|  |  |  | #endif // QTHELPERFROMC_H
 |