mirror of
				https://github.com/dolphin-emu/dolphin.git
				synced 2025-10-24 17:09:06 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			24 lines
		
	
	
	
		
			638 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
	
		
			638 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| // Copyright 2018 Dolphin Emulator Project
 | |
| // SPDX-License-Identifier: GPL-2.0-or-later
 | |
| 
 | |
| #pragma once
 | |
| 
 | |
| #include <string>
 | |
| #include <vector>
 | |
| 
 | |
| #include "UICommon/ResourcePack/ResourcePack.h"
 | |
| 
 | |
| namespace ResourcePack
 | |
| {
 | |
| bool Init();
 | |
| 
 | |
| ResourcePack* Add(const std::string& path, int offset = -1);
 | |
| bool Remove(ResourcePack& pack);
 | |
| void SetInstalled(const ResourcePack& pack, bool installed);
 | |
| bool IsInstalled(const ResourcePack& pack);
 | |
| 
 | |
| std::vector<ResourcePack>& GetPacks();
 | |
| 
 | |
| std::vector<ResourcePack*> GetHigherPriorityPacks(ResourcePack& pack);
 | |
| std::vector<ResourcePack*> GetLowerPriorityPacks(ResourcePack& pack);
 | |
| }  // namespace ResourcePack
 |