bettola/client/src/ui/window_action.h

18 lines
279 B
C++

#pragma once
#include <string>
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. */
};