mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-31 20:51:12 -06:00 
			
		
		
		
	Delete inline in some functions
This commit is contained in:
		
							parent
							
								
									66435887ea
								
							
						
					
					
						commit
						483684f702
					
				
					 1 changed files with 5 additions and 5 deletions
				
			
		|  | @ -37,7 +37,7 @@ enum TagCheckResult | |||
| 	TagCheckNotCompatible | ||||
| }; | ||||
| // returns if in mode defined by tag
 | ||||
| inline TagCheckResult tag_check_mode(const std::string& tag) | ||||
| TagCheckResult tag_check_mode(const std::string& tag) | ||||
| { | ||||
| 	std::vector<std::string> allowed_tags = {"simple", "advanced", "expert"}; | ||||
| 	if (std::find(allowed_tags.begin(), allowed_tags.end(), tag) != allowed_tags.end()) | ||||
|  | @ -50,7 +50,7 @@ inline TagCheckResult tag_check_mode(const std::string& tag) | |||
| 	return TagCheckNotCompatible; | ||||
| } | ||||
| 
 | ||||
| inline TagCheckResult tag_check_tech(const std::string& tag) | ||||
| TagCheckResult tag_check_tech(const std::string& tag) | ||||
| { | ||||
| 	std::vector<std::string> allowed_tags = { "FFF", "MMU", "SLA" }; | ||||
| 	if (std::find(allowed_tags.begin(), allowed_tags.end(), tag) != allowed_tags.end()) { | ||||
|  | @ -68,7 +68,7 @@ inline TagCheckResult tag_check_tech(const std::string& tag) | |||
| 	return TagCheckNotCompatible; | ||||
| } | ||||
| 
 | ||||
| inline TagCheckResult tag_check_system(const std::string& tag) | ||||
| TagCheckResult tag_check_system(const std::string& tag) | ||||
| { | ||||
| 	std::vector<std::string> allowed_tags = { "Windows", "Linux", "OSX" }; | ||||
| 	if (std::find(allowed_tags.begin(), allowed_tags.end(), tag) != allowed_tags.end()) { | ||||
|  | @ -97,7 +97,7 @@ inline TagCheckResult tag_check_system(const std::string& tag) | |||
| } | ||||
| 
 | ||||
| // return true if NOT in disabled mode.
 | ||||
| inline bool tags_check(const std::string& disabled_tags, const std::string& enabled_tags) | ||||
| bool tags_check(const std::string& disabled_tags, const std::string& enabled_tags) | ||||
| { | ||||
| 	if (disabled_tags.empty() && enabled_tags.empty()) | ||||
| 		return true; | ||||
|  | @ -173,7 +173,7 @@ inline bool tags_check(const std::string& disabled_tags, const std::string& enab | |||
| 	} | ||||
| 	return true; | ||||
| } | ||||
| inline void launch_browser_if_allowed(const std::string& url) | ||||
| void launch_browser_if_allowed(const std::string& url) | ||||
| { | ||||
| 	if (wxGetApp().app_config->get("suppress_hyperlinks") != "1") | ||||
| 		wxLaunchDefaultBrowser(url); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 David Kocik
						David Kocik