[cosmetic] AddVideoAsset function cleanup
[xbmc.git] / xbmc / video / VideoEmbeddedImageFileLoader.h
blob983b3266d1e790f3ac20ac0e2ddaaee4cd89b15b
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 KODI::VIDEO
15 /*!
16 * @brief Generates a texture for an image embedded in a video file.
18 class CVideoEmbeddedImageFileLoader : public IMAGE_FILES::ISpecialImageFileLoader
20 public:
21 CVideoEmbeddedImageFileLoader() = default;
22 ~CVideoEmbeddedImageFileLoader() override = default;
24 bool CanLoad(const std::string& specialType) const override;
25 std::unique_ptr<CTexture> Load(const IMAGE_FILES::CImageFileURL& imageFile) const override;
28 } // namespace KODI::VIDEO