#pragma once #include #include #include #include #include #include namespace hex { class LayoutManager { public: struct Layout { std::string name; std::fs::path path; }; static void save(const std::string &name); static void load(const std::fs::path &path); static void loadString(const std::string &content); static std::vector getLayouts(); static void process(); static void reload(); static void reset(); private: LayoutManager() = default; static std::optional s_layoutPathToLoad; static std::optional s_layoutStringToLoad; static std::vector s_layouts; }; }