2 * Copyright (C) 2015-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.
11 #include "events/BaseEvent.h"
12 #include "utils/StringUtils.h"
14 class CUniqueEvent
: public CBaseEvent
17 ~CUniqueEvent() override
= default;
20 CUniqueEvent(const CVariant
& label
, const CVariant
& description
, EventLevel level
= EventLevel::Information
)
21 : CBaseEvent(StringUtils::CreateUUID(), label
, description
, level
)
23 CUniqueEvent(const CVariant
& label
, const CVariant
& description
, const std::string
& icon
, EventLevel level
= EventLevel::Information
)
24 : CBaseEvent(StringUtils::CreateUUID(), label
, description
, icon
, level
)
26 CUniqueEvent(const CVariant
& label
, const CVariant
& description
, const std::string
& icon
, const CVariant
& details
, EventLevel level
= EventLevel::Information
)
27 : CBaseEvent(StringUtils::CreateUUID(), label
, description
, icon
, details
, level
)
29 CUniqueEvent(const CVariant
& label
, const CVariant
& description
, const std::string
& icon
, const CVariant
& details
, const CVariant
& executionLabel
, EventLevel level
= EventLevel::Information
)
30 : CBaseEvent(StringUtils::CreateUUID(), label
, description
, icon
, details
, executionLabel
, level
)