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.
11 #include "ContextMenuItem.h"
20 struct CAddonInfo
: CStaticContextMenuAction
22 CAddonInfo() : CStaticContextMenuAction(19033) {}
23 bool IsVisible(const CFileItem
& item
) const override
;
24 bool Execute(const std::shared_ptr
<CFileItem
>& item
) const override
;
27 struct CAddonSettings
: CStaticContextMenuAction
29 CAddonSettings() : CStaticContextMenuAction(10004) {}
30 bool IsVisible(const CFileItem
& item
) const override
;
31 bool Execute(const std::shared_ptr
<CFileItem
>& item
) const override
;
34 struct CCheckForUpdates
: CStaticContextMenuAction
36 CCheckForUpdates() : CStaticContextMenuAction(24034) {}
37 bool IsVisible(const CFileItem
& item
) const override
;
38 bool Execute(const std::shared_ptr
<CFileItem
>& item
) const override
;
41 struct CEnableAddon
: CStaticContextMenuAction
43 CEnableAddon() : CStaticContextMenuAction(24022) {}
44 bool IsVisible(const CFileItem
& item
) const override
;
45 bool Execute(const std::shared_ptr
<CFileItem
>& item
) const override
;
48 struct CDisableAddon
: CStaticContextMenuAction
50 CDisableAddon() : CStaticContextMenuAction(24021) {}
51 bool IsVisible(const CFileItem
& item
) const override
;
52 bool Execute(const std::shared_ptr
<CFileItem
>& item
) const override
;