1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-16 02:19:55 +00:00
openmw-tes3mp/apps/opencs/model/tools/spellcheck.hpp

30 lines
741 B
C++
Raw Normal View History

2013-04-09 10:44:49 +00:00
#ifndef CSM_TOOLS_SPELLCHECK_H
#define CSM_TOOLS_SPELLCHECK_H
#include <components/esm/loadspel.hpp>
#include "../world/idcollection.hpp"
#include "../doc/stage.hpp"
2013-04-09 10:44:49 +00:00
namespace CSMTools
{
/// \brief VerifyStage: make sure that spell records are internally consistent
class SpellCheckStage : public CSMDoc::Stage
2013-04-09 10:44:49 +00:00
{
const CSMWorld::IdCollection<ESM::Spell>& mSpells;
public:
SpellCheckStage (const CSMWorld::IdCollection<ESM::Spell>& spells);
virtual int setup();
///< \return number of steps
virtual void perform (int stage, CSMDoc::Messages& messages);
2013-04-09 10:44:49 +00:00
///< Messages resulting from this tage will be appended to \a messages.
};
}
#endif