kodi
ContextMenus.h
1 /*
2  * Copyright (C) 2016-2018 Team Kodi
3  * This file is part of Kodi - https://kodi.tv
4  *
5  * SPDX-License-Identifier: GPL-2.0-or-later
6  * See LICENSES/README.md for more information.
7  */
8 
9 #pragma once
10 
11 #include "ContextMenuItem.h"
12 
13 #include <memory>
14 
15 class CFileItem;
16 
17 namespace CONTEXTMENU
18 {
19 
21 {
23  bool IsVisible(const CFileItem& item) const override;
24  bool Execute(const std::shared_ptr<CFileItem>& item) const override;
25 };
26 
28 {
30  bool IsVisible(const CFileItem& item) const override;
31  bool Execute(const std::shared_ptr<CFileItem>& item) const override;
32 };
33 
35 {
37  bool IsVisible(const CFileItem& item) const override;
38  bool Execute(const std::shared_ptr<CFileItem>& item) const override;
39 };
40 
42 {
44  bool IsVisible(const CFileItem& item) const override;
45  bool Execute(const std::shared_ptr<CFileItem>& item) const override;
46 };
47 
49 {
51  bool IsVisible(const CFileItem& item) const override;
52  bool Execute(const std::shared_ptr<CFileItem>& item) const override;
53 };
54 }
Definition: ContextMenus.cpp:21
Definition: ContextMenus.h:27
Definition: AddonInfo.h:141
Definition: ContextMenus.h:41
Definition: ContextMenus.h:34
Definition: ContextMenus.h:48
Definition: ContextMenuItem.h:40
Represents a file on a share.
Definition: FileItem.h:102