mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	Add header for Qt helpers used from C functions
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
		
							parent
							
								
									4d06e8f7b5
								
							
						
					
					
						commit
						57f2c81125
					
				
					 2 changed files with 8 additions and 4 deletions
				
			
		|  | @ -13,6 +13,7 @@ | |||
| #include "dive.h" | ||||
| #include "membuffer.h" | ||||
| #include "strndup.h" | ||||
| #include "qthelperfromc.h" | ||||
| 
 | ||||
| /*
 | ||||
|  * The libgit2 people are incompetent at making libraries. They randomly change | ||||
|  | @ -215,10 +216,6 @@ static int check_remote_status(git_repository *repo, git_remote *origin, const c | |||
| 	git_reference_free(remote_ref); | ||||
| } | ||||
| 
 | ||||
| /* from qthelper.cpp */ | ||||
| extern bool getProxyString(char **proxy_string); | ||||
| extern bool canReachCloudServer(); | ||||
| 
 | ||||
| static git_repository *update_local_repo(const char *localdir, const char *remote, const char *branch) | ||||
| { | ||||
| 	int error; | ||||
|  |  | |||
							
								
								
									
										7
									
								
								qthelperfromc.h
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								qthelperfromc.h
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,7 @@ | |||
| #ifndef QTHELPERFROMC_H | ||||
| #define QTHELPERFROMC_H | ||||
| 
 | ||||
| bool getProxyString(char **buffer); | ||||
| bool canReachCloudServer(); | ||||
| 
 | ||||
| #endif // QTHELPERFROMC_H
 | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue