#pragma once #include enum class ActionType { NONE, WRITE_FILE, READ_FILE, BUILD_FILE, CLOSE_WINDOW }; struct WindowAction { ActionType type = ActionType::NONE; std::string payload1; /* i.e., filename. */ std::string payload2; /* i.e., content. */ };