1 /* 2 * Copyright (C) 2005-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 "FileItem.h" 12 #include "GUIDialogYesNo.h" 13 14 class CGUIDialogPlayEject : public CGUIDialogYesNo 15 { 16 public: 17 CGUIDialogPlayEject(); 18 ~CGUIDialogPlayEject() override; 19 bool OnMessage(CGUIMessage& message) override; 20 void FrameMove() override; 21 22 static bool ShowAndGetInput(const std::string& strLine1, 23 const std::string& strLine2, 24 unsigned int uiAutoCloseTime = 0); 25 26 protected: 27 void OnInitWindow() override; 28 }; 29