[videodb] Remove nested transaction when saving state after stopping PVR playback
[xbmc.git] / xbmc / windows / GUIWindowDebugInfo.h
blobb29405c0740e5c6a0491ef20a904f98c8edadc8e
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/GUIDialog.h"
12 #ifdef TARGET_POSIX
13 #include "platform/posix/PosixResourceCounter.h"
14 #endif
16 class CGUITextLayout;
18 class CGUIWindowDebugInfo :
19 public CGUIDialog
21 public:
22 CGUIWindowDebugInfo();
23 ~CGUIWindowDebugInfo() override;
24 void Process(unsigned int currentTime, CDirtyRegionList &dirtyregions) override;
25 void Render() override;
26 bool OnMessage(CGUIMessage &message) override;
27 protected:
28 void UpdateVisibility() override;
29 private:
30 CGUITextLayout *m_layout;
31 #ifdef TARGET_POSIX
32 CPosixResourceCounter m_resourceCounter;
33 #endif