mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 05:19:55 +00:00
20 lines
No EOL
428 B
C++
20 lines
No EOL
428 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 WriteHeaderStage (mDocument, mState));
|
|
|
|
|
|
|
|
appendStage (new CloseSaveStage (mState));
|
|
|
|
appendStage (new FinalSavingStage (mDocument, mState));
|
|
} |