OpenMW
apps/opencs/model/tools/spellcheck.hpp
Go to the documentation of this file.
00001 #ifndef CSM_TOOLS_SPELLCHECK_H
00002 #define CSM_TOOLS_SPELLCHECK_H
00003 
00004 #include <components/esm/loadspel.hpp>
00005 
00006 #include "../world/idcollection.hpp"
00007 
00008 #include "../doc/stage.hpp"
00009 
00010 namespace CSMTools
00011 {
00013     class SpellCheckStage : public CSMDoc::Stage
00014     {
00015             const CSMWorld::IdCollection<ESM::Spell>& mSpells;
00016 
00017         public:
00018 
00019             SpellCheckStage (const CSMWorld::IdCollection<ESM::Spell>& spells);
00020 
00021             virtual int setup();
00023 
00024             virtual void perform (int stage, std::vector<std::string>& messages);
00026     };
00027 }
00028 
00029 #endif