1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-31 15:45:33 +00:00
openmw-tes3mp/apps/opencs/model/tools/mergestate.hpp
Marc Zinnschlag 3eef192e4d create merged document and open a view for it (document is still empty at this point)
(cherry picked from commit 1b663f01af)

Conflicts:
	apps/opencs/CMakeLists.txt
	apps/opencs/model/doc/documentmanager.cpp
2015-11-01 13:31:28 +11:00

20 lines
378 B
C++

#ifndef CSM_TOOLS_MERGESTATE_H
#define CSM_TOOLS_MERGESTATE_H
#include <memory>
#include "../doc/document.hpp"
namespace CSMTools
{
struct MergeState
{
std::auto_ptr<CSMDoc::Document> mTarget;
CSMDoc::Document& mSource;
bool mCompleted;
MergeState (CSMDoc::Document& source) : mSource (source), mCompleted (false) {}
};
}
#endif