2 * Copyright (C) 2023 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 "imagefiles/SpecialImageFileLoader.h"
16 * @brief Generates a texture for an image embedded in a music file.
18 class CMusicEmbeddedImageFileLoader
: public IMAGE_FILES::ISpecialImageFileLoader
21 CMusicEmbeddedImageFileLoader() = default;
22 ~CMusicEmbeddedImageFileLoader() override
= default;
24 bool CanLoad(const std::string
& specialType
) const override
;
25 std::unique_ptr
<CTexture
> Load(const std::string
& specialType
,
26 const std::string
& filePath
,
27 unsigned int preferredWidth
,
28 unsigned int preferredHeight
) const override
;
30 } // namespace MUSIC_INFO