2 * Copyright (C) 2012-2022 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.
11 #include "addons/IAddon.h"
17 class CPVRClientUID final
20 CPVRClientUID(const std::string
& addonID
, ADDON::AddonInstanceId instanceID
)
21 : m_addonID(addonID
), m_instanceID(instanceID
)
25 virtual ~CPVRClientUID() = default;
28 * @brief Return the numeric UID.
29 * @return The numeric UID.
34 CPVRClientUID() = delete;
36 std::string m_addonID
;
37 ADDON::AddonInstanceId m_instanceID
{ADDON::ADDON_SINGLETON_INSTANCE_ID
};
39 mutable bool m_uidCreated
{false};