1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-16 05:19:55 +00:00
openmw-tes3mp/apps/opencs/model/doc/saving.cpp
2013-09-15 15:31:44 +02:00

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));
}