Jazz2::Editor::IDocumentFilesHost class

What DocumentFiles needs of the level editor beyond IEditorContext.

Constructors, destructors, conversion operators

~IDocumentFilesHost() defaulted virtual

Public functions

void PrepareForSave() pure virtual
Gets the level ready to be written, what the pointer is in the middle of ends and how it's seen goes into it.
void StoreViewState() pure virtual
Puts how the level is seen and played into it, before a recovery copy is written.
void ReplaceDocument(LevelDocument&& document, StringView path, StringView levelName) pure virtual
Replaces the level being edited, which is edited as path from then on, may be empty.
void OnScriptChanged() pure virtual
Called when the script of the level changed on disk, a play-test kept to resume runs the old one.
void ReloadTileSet(StringView name) pure virtual
Loads a tile set of the level again, after another program changed it.