2 * Copyright (C) 2014-2018 Team Kodi
3 * This file is part of Kodi - https://kodi.tv
5 * SPDX-License-Identifier: GPL-2.0-or-later
6 * See LICENSES/README.md for more information.
11 #include "addons/Resource.h"
20 //! \brief A collection of images. The collection can have a type.
21 class CImageResource
: public CResource
24 explicit CImageResource(const AddonInfoPtr
& addonInfo
);
26 void OnPreUnInstall() override
;
28 bool IsAllowed(const std::string
&file
) const override
;
29 std::string
GetFullPath(const std::string
&filePath
) const override
;
31 //! \brief Returns type of image collection
32 const std::string
& GetType() const { return m_type
; }
35 bool HasXbt(CURL
& xbtUrl
) const;
37 std::string m_type
; //!< Type of images
40 } /* namespace ADDON */