[Windows] Fix driver version detection of AMD RDNA+ GPU on Windows 10
[xbmc.git] / xbmc / music / MusicEmbeddedImageFileLoader.h
blob2bdc080fd65bb2fdfc22e2f1d9e891b7fa905661
1 /*
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.
7 */
9 #pragma once
11 #include "imagefiles/SpecialImageFileLoader.h"
13 namespace MUSIC_INFO
15 /*!
16 * @brief Generates a texture for an image embedded in a music file.
18 class CMusicEmbeddedImageFileLoader : public IMAGE_FILES::ISpecialImageFileLoader
20 public:
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