2 * Copyright (C) 2016-2018 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.
20 class CPVRTimerInfoTag
;
25 explicit CPVRItem(const std::shared_ptr
<CFileItem
>& item
) : m_item(item
.get()) {}
26 explicit CPVRItem(const CFileItem
* item
) : m_item(item
) {}
27 explicit CPVRItem(const CFileItem
& item
) : m_item(&item
) {}
29 std::shared_ptr
<CPVREpgInfoTag
> GetEpgInfoTag() const;
30 std::shared_ptr
<CPVREpgInfoTag
> GetNextEpgInfoTag() const;
31 std::shared_ptr
<CPVRChannel
> GetChannel() const;
32 std::shared_ptr
<CPVRTimerInfoTag
> GetTimerInfoTag() const;
33 std::shared_ptr
<CPVRRecording
> GetRecording() const;
38 const CFileItem
* m_item
;