Loading...
Searching...
No Matches
ScenarioRollbackStrategy.hpp
1#pragma once
2#include <score_plugin_scenario_export.h>
3
4#include <vector>
5
6namespace score
7{
8struct DocumentContext;
9class Command;
10}
11
12// This rollback only undoes creational commands as an optimization
14{
15 static void
16 rollback(const score::DocumentContext& ctx, const std::vector<score::Command*>& cmds);
17};
18
19struct SCORE_PLUGIN_SCENARIO_EXPORT DefaultRollbackStrategy
20{
21 static void
22 rollback(const score::DocumentContext& ctx, const std::vector<score::Command*>& cmds);
23};
Base toolkit upon which the software is built.
Definition Application.cpp:90
Definition ScenarioRollbackStrategy.hpp:20
Definition ScenarioRollbackStrategy.hpp:14
Definition DocumentContext.hpp:18