[PVR][Estuary] Timer settings dialog: Show client name in timer type selection dialog...
[xbmc.git] / xbmc / windows / GUIWindowScreensaver.h
blob903efde4262d270bf03c3c9096d22964a8195ac5
1 /*
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.
7 */
9 #pragma once
11 #include "guilib/GUIWindow.h"
13 #include <memory>
15 namespace KODI
17 namespace ADDONS
19 class CScreenSaver;
20 } // namespace ADDONS
21 } // namespace KODI
23 class CGUIWindowScreensaver : public CGUIWindow
25 public:
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
32 return false;
34 void Render() override;
35 void Process(unsigned int currentTime, CDirtyRegionList& regions) override;
37 protected:
38 EVENT_RESULT OnMouseEvent(const CPoint& point, const CMouseEvent& event) override;
40 private:
41 std::unique_ptr<KODI::ADDONS::CScreenSaver> m_addon;