2 * Copyright (C) 2005-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.
11 #include "guilib/GUIDialog.h"
12 #include "utils/Stopwatch.h"
13 #include "view/GUIViewControl.h"
17 class CGUIWindowLoginScreen
: public CGUIWindow
20 CGUIWindowLoginScreen(void);
21 ~CGUIWindowLoginScreen(void) override
;
22 bool OnMessage(CGUIMessage
& message
) override
;
23 bool OnAction(const CAction
&action
) override
;
24 bool OnBack(int actionID
) override
;
25 void FrameMove() override
;
26 bool HasListItems() const override
{ return true; }
27 CFileItemPtr
GetCurrentListItem(int offset
= 0) override
;
28 int GetViewContainerID() const override
{ return m_viewControl
.GetCurrentControl(); }
31 void OnInitWindow() override
;
32 void OnWindowLoaded() override
;
33 void OnWindowUnload() override
;
35 void SetLabel(int iControl
, const std::string
& strLabel
);
37 bool OnPopupMenu(int iItem
);
38 CGUIViewControl m_viewControl
;
39 CFileItemList
* m_vecItems
;