Move layout reload policy into platform api

This commit is contained in:
2026-06-04 18:49:48 +02:00
parent 7aadd1041a
commit 08d8c1e82c
9 changed files with 118 additions and 14 deletions

View File

@@ -1,9 +1,11 @@
#pragma once
#include <cstdint>
class LayoutManager
{
std::string m_path;
struct stat m_file_info { 0 };
std::int64_t m_file_last_write_time = 0;
public:
std::map<uint16_t, std::shared_ptr<class Node>> m_layouts;
bool m_loaded = false;