mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-10 18:18:49 +00:00
Implement resource packs
This commit is contained in:
parent
e6b2758ab4
commit
71d53c922f
20 changed files with 1143 additions and 2 deletions
25
Source/Core/UICommon/ResourcePack/Manager.h
Normal file
25
Source/Core/UICommon/ResourcePack/Manager.h
Normal file
|
@ -0,0 +1,25 @@
|
|||
// Copyright 2018 Dolphin Emulator Project
|
||||
// Licensed under GPLv2+
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "UICommon/ResourcePack/ResourcePack.h"
|
||||
|
||||
namespace ResourcePack
|
||||
{
|
||||
bool Init();
|
||||
|
||||
bool 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
|
Loading…
Add table
Add a link
Reference in a new issue