Fray Engine
Loading...
Searching...
No Matches
project_message_handler.hpp File Reference
#include "message.hpp"
#include "project_manager.hpp"
#include "fray_manager.hpp"
#include "ipc_manager.hpp"

Go to the source code of this file.

Classes

struct  fray::ProjectMessageResult
 Project message status and optional response frame. More...

Namespaces

namespace  fray

Functions

message::FrameOptions fray::projectPreferencesFrame (const std::string &id, const std::string &name, bool packageOnClose, const std::string &error)
 Builds a project preference snapshot or operation error.
message::FrameOptions fray::projectRenamedFrame (const std::string &id, const std::string &path, const std::string &name)
 Builds a project-renamed notification for the renderer.
message::FrameOptions fray::projectCloseResult (const message::InData &incoming, const std::string &name, F_err result, bool packaged, const std::string &path="", const std::string &id="")
 Builds a close result addressed to the request sender.
ProjectMessageResult fray::stepHistory (ProjectManager &project, const ProjectManager::PendingStep &step)
 Resolves an undo or redo, updating history heads or requesting a missing layout revision. Run on the project queue; the renderer-provided revision first selects the layout head.

Variables

constexpr const char * fray::layoutDomain = "layout:default"
 History domain used for the default renderer layout.
constexpr std::size_t fray::maxLayoutBytes = 1024 * 1024
 Maximum accepted size in bytes of a serialized layout.