1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
#pragma once #include "../layout/DwindleLayout.hpp" class CLayoutManager { public: IHyprLayout* getCurrentLayout(); private: enum HYPRLAYOUTS { DWINDLE = 0, }; HYPRLAYOUTS m_iCurrentLayoutID = DWINDLE; CHyprDwindleLayout m_cDwindleLayout; }; inline std::unique_ptr<CLayoutManager> g_pLayoutManager;