Debian Codegraph @

Source/Core/UICommon/ResourcePack/Manager.h

raw symbols SCIP
1 // Copyright 2018 Dolphin Emulator Project
2 // SPDX-License-Identifier: GPL-2.0-or-later
3
4 #pragma once
5
6 #include <string>
7 #include <vector>
8
9 #include "UICommon/ResourcePack/ResourcePack.h"
10
11 namespace ResourcePack
12 {
13 bool Init();
14
15 ResourcePack* Add(const std::string& path, int offset = -1);
16 bool Remove(ResourcePack& pack);
17 void SetInstalled(const ResourcePack& pack, bool installed);
18 bool IsInstalled(const ResourcePack& pack);
19
20 std::vector<ResourcePack>& GetPacks();
21
22 std::vector<ResourcePack*> GetHigherPriorityPacks(const ResourcePack& pack);
23 std::vector<ResourcePack*> GetLowerPriorityPacks(const ResourcePack& pack);
24 } // namespace ResourcePack