2 * Copyright (C) 2012-2019 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.
17 class CPVRChannelGroup
;
19 class CPVRGUIChannelIconUpdater
24 * @param groups The channel groups for which the channel icons shall be updated.
25 * @param bUpdateDb If true, persist the changed values in the PVR database.
27 CPVRGUIChannelIconUpdater(const std::vector
<std::shared_ptr
<CPVRChannelGroup
>>& groups
, bool bUpdateDb
)
28 : m_groups(groups
), m_bUpdateDb(bUpdateDb
) {}
30 CPVRGUIChannelIconUpdater() = delete;
31 CPVRGUIChannelIconUpdater(const CPVRGUIChannelIconUpdater
&) = delete;
32 CPVRGUIChannelIconUpdater
& operator=(const CPVRGUIChannelIconUpdater
&) = delete;
34 virtual ~CPVRGUIChannelIconUpdater() = default;
37 * @brief Search and update missing channel icons.
39 void SearchAndUpdateMissingChannelIcons() const;
42 const std::vector
<std::shared_ptr
<CPVRChannelGroup
>> m_groups
;
43 const bool m_bUpdateDb
= false;