1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-21 01:53:52 +00:00
openmw/apps/opencs/model/tools/referenceablecheck.hpp

27 lines
796 B
C++
Raw Normal View History

#ifndef REFERENCEABLECHECKSTAGE_H
#define REFERENCEABLECHECKSTAGE_H
#include "../world/universalid.hpp"
#include "../doc/stage.hpp"
#include "../world/data.hpp"
#include "../world/refiddata.hpp"
namespace CSMTools
{
class ReferenceableCheckStage : public CSMDoc::Stage
{
public:
ReferenceableCheckStage(const CSMWorld::RefIdData& referenceable);
virtual void perform(int stage, std::vector< std::string >& messages);
virtual int setup();
private:
void bookCheck(int stage, const CSMWorld::RefIdDataContainer< ESM::Book >& records, std::vector< std::string >& messages);
void setSizeVariables();
const CSMWorld::RefIdData mReferencables;
int mBooksSize;
};
}
#endif // REFERENCEABLECHECKSTAGE_H