mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-26 00:35:23 +00:00
17 lines
366 B
C++
17 lines
366 B
C++
|
|
#include "saving.hpp"
|
|
|
|
#include "state.hpp"
|
|
|
|
#include "savingstages.hpp"
|
|
|
|
CSMDoc::Saving::Saving (Document& document)
|
|
: Operation (State_Saving, true, true), mDocument (document), mState (*this)
|
|
{
|
|
appendStage (new OpenSaveStage (mDocument, mState));
|
|
|
|
|
|
appendStage (new CloseSaveStage (mState));
|
|
|
|
appendStage (new FinalSavingStage (mDocument, mState));
|
|
} |