[windows] Fix MAC Address Discovery
[xbmc.git] / xbmc / ContextMenus.h
blob1f4dba0d1072f2b914b70eedffe7f14f244035eb
1 /*
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.
7 */
9 #pragma once
11 #include "ContextMenuItem.h"
13 #include <memory>
15 namespace CONTEXTMENU
18 struct CEjectDisk : CStaticContextMenuAction
20 CEjectDisk() : CStaticContextMenuAction(13391) {} // Eject/Load CD/DVD!
21 bool IsVisible(const CFileItem& item) const override;
22 bool Execute(const std::shared_ptr<CFileItem>& item) const override;
25 struct CEjectDrive : CStaticContextMenuAction
27 CEjectDrive() : CStaticContextMenuAction(13420) {} // Eject Removable HDD!
28 bool IsVisible(const CFileItem& item) const override;
29 bool Execute(const std::shared_ptr<CFileItem>& item) const override;
32 struct CAddRemoveFavourite : IContextMenuItem
34 CAddRemoveFavourite() = default;
35 std::string GetLabel(const CFileItem& item) const override;
36 bool IsVisible(const CFileItem& item) const override;
37 bool Execute(const std::shared_ptr<CFileItem>& item) const override;