kodi
PVRChannelGroupImageFileLoader.h
1 /*
2  * Copyright (C) 2023 Team Kodi
3  * This file is part of Kodi - https://kodi.tv
4  *
5  * SPDX-License-Identifier: GPL-2.0-or-later
6  * See LICENSES/README.md for more information.
7  */
8 
9 #pragma once
10 
11 #include "imagefiles/SpecialImageFileLoader.h"
12 
13 namespace PVR
14 {
19 {
20 public:
22  ~CPVRChannelGroupImageFileLoader() override = default;
23 
24  bool CanLoad(const std::string& specialType) const override;
25  std::unique_ptr<CTexture> Load(const std::string& specialType,
26  const std::string& goofyChapterPath,
27  unsigned int preferredWidth,
28  unsigned int preferredHeight) const override;
29 };
30 
31 } // namespace PVR
An interface to load special image files into a texture for display.
Definition: SpecialImageFileLoader.h:26
Definition: ContextMenuManager.h:24
Generates a thumbnail for a PVR channel group; tile up to 9 channel icons in the group.
Definition: PVRChannelGroupImageFileLoader.h:18