File indexing completed on 2024-12-01 05:02:30
0001 /* 0002 SPDX-FileCopyrightText: 2019 Michail Vourlakos <mvourlakos@gmail.com> 0003 SPDX-License-Identifier: GPL-2.0-or-later 0004 */ 0005 0006 #ifndef WINDOWSYSTEMTRACKEDLAYOUTINFO_H 0007 #define WINDOWSYSTEMTRACKEDLAYOUTINFO_H 0008 0009 // local 0010 #include "trackedgeneralinfo.h" 0011 #include "../windowinfowrap.h" 0012 0013 // Qt 0014 #include <QObject> 0015 #include <QRect> 0016 0017 namespace Latte { 0018 namespace Layout { 0019 class GenericLayout; 0020 } 0021 namespace WindowSystem { 0022 namespace Tracker { 0023 class Windows; 0024 } 0025 } 0026 } 0027 0028 0029 namespace Latte { 0030 namespace WindowSystem { 0031 namespace Tracker { 0032 0033 class TrackedLayoutInfo : public TrackedGeneralInfo { 0034 Q_OBJECT 0035 0036 public: 0037 TrackedLayoutInfo(Tracker::Windows *tracker, Latte::Layout::GenericLayout *layout); 0038 ~TrackedLayoutInfo() override; 0039 0040 Latte::Layout::GenericLayout *layout() const; 0041 0042 private: 0043 Latte::Layout::GenericLayout *m_layout{nullptr}; 0044 }; 0045 0046 } 0047 } 0048 } 0049 0050 #endif