diff options
Diffstat (limited to 'xbmc/dialogs/GUIDialogSimpleMenu.h')
-rw-r--r-- | xbmc/dialogs/GUIDialogSimpleMenu.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/xbmc/dialogs/GUIDialogSimpleMenu.h b/xbmc/dialogs/GUIDialogSimpleMenu.h new file mode 100644 index 0000000..ed476a4 --- /dev/null +++ b/xbmc/dialogs/GUIDialogSimpleMenu.h @@ -0,0 +1,28 @@ +/* + * Copyright (C) 2005-2018 Team Kodi + * This file is part of Kodi - https://kodi.tv + * + * SPDX-License-Identifier: GPL-2.0-or-later + * See LICENSES/README.md for more information. + */ + +#pragma once + +#include "filesystem/Directory.h" + +#include <string> + +class CFileItem; +class CFileItemList; + +class CGUIDialogSimpleMenu +{ +public: + + /*! \brief Show dialog allowing selection of wanted playback item */ + static bool ShowPlaySelection(CFileItem& item); + static bool ShowPlaySelection(CFileItem& item, const std::string& directory); + +protected: + static bool GetDirectoryItems(const std::string &path, CFileItemList &items, const XFILE::CDirectory::CHints &hints); +}; |