summaryrefslogtreecommitdiffstats
path: root/xbmc/dialogs/GUIDialogPlayEject.h
blob: 8354b53add6b17c59eea65c4d8e78a835a0af3a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*
 *  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 "GUIDialogYesNo.h"

class CGUIDialogPlayEject : public CGUIDialogYesNo
{
public:
  CGUIDialogPlayEject();
  ~CGUIDialogPlayEject() override;
  bool OnMessage(CGUIMessage& message) override;
  void FrameMove() override;

  static bool ShowAndGetInput(const std::string& strLine1,
                              const std::string& strLine2,
                              unsigned int uiAutoCloseTime = 0);

protected:
  void OnInitWindow() override;
};