Hyprland/src/managers/LayoutManager.hpp

25 lines
487 B
C++
Raw Normal View History

#pragma once
#include "../layout/DwindleLayout.hpp"
2022-07-16 15:57:31 +02:00
#include "../layout/MasterLayout.hpp"
class CLayoutManager {
public:
IHyprLayout* getCurrentLayout();
void switchToLayout(std::string);
private:
enum HYPRLAYOUTS
{
DWINDLE = 0,
2022-07-16 15:57:31 +02:00
MASTER
};
HYPRLAYOUTS m_iCurrentLayoutID = DWINDLE;
CHyprDwindleLayout m_cDwindleLayout;
2022-07-16 15:57:31 +02:00
CHyprMasterLayout m_cMasterLayout;
};
inline std::unique_ptr<CLayoutManager> g_pLayoutManager;