mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-12-29 09:30:20 +00:00
653d6d059f
There's nothing going on with behavior here that would prevent these from being const qualified. Also better communicates that this function isn't intended to modify the given resource pack.
25 lines
650 B
C++
25 lines
650 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(const ResourcePack& pack);
|
|
std::vector<ResourcePack*> GetLowerPriorityPacks(const ResourcePack& pack);
|
|
} // namespace ResourcePack
|