NOISSUE Flatten gui and logic libraries into MultiMC
This commit is contained in:
		
							
								
								
									
										13
									
								
								launcher/icons/IconUtils.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								launcher/icons/IconUtils.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,13 @@
 | 
			
		||||
#pragma once
 | 
			
		||||
 | 
			
		||||
#include <QString>
 | 
			
		||||
 | 
			
		||||
namespace IconUtils {
 | 
			
		||||
 | 
			
		||||
// Given a folder and an icon key, find 'best' of the icons with the given key in there and return its path
 | 
			
		||||
QString findBestIconIn(const QString &folder, const QString & iconKey);
 | 
			
		||||
 | 
			
		||||
// Get icon file type filter for file browser dialogs
 | 
			
		||||
QString getIconFilter();
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user