// Copyright 2018 Dolphin Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #pragma once #include #include #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& GetPacks(); std::vector GetHigherPriorityPacks(const ResourcePack& pack); std::vector GetLowerPriorityPacks(const ResourcePack& pack); } // namespace ResourcePack