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"
23 class CGUIWindowScreensaver
: public CGUIDialog
26 CGUIWindowScreensaver();
28 bool OnMessage(CGUIMessage
& message
) override
;
29 bool OnAction(const CAction
& action
) override
31 // We're just a screen saver, nothing to do here
34 void Render() override
;
35 void Process(unsigned int currentTime
, CDirtyRegionList
& regions
) override
;
38 void UpdateVisibility() override
;
39 void OnInitWindow() override
;
42 std::unique_ptr
<KODI::ADDONS::CScreenSaver
> m_addon
;
43 bool m_visible
{false};