mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-10-31 05:56:38 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			35 lines
		
	
	
	
		
			879 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			35 lines
		
	
	
	
		
			879 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #ifndef CSM_TOOLS_JOURNALCHECK_H
 | |
| #define CSM_TOOLS_JOURNALCHECK_H
 | |
| 
 | |
| #include <components/esm/loaddial.hpp>
 | |
| 
 | |
| #include "../world/idcollection.hpp"
 | |
| #include "../world/infocollection.hpp"
 | |
| 
 | |
| #include "../doc/stage.hpp"
 | |
| 
 | |
| namespace CSMTools
 | |
| {
 | |
|     /// \brief VerifyStage: make sure that journal infos are good
 | |
|     class JournalCheckStage : public CSMDoc::Stage
 | |
|     {
 | |
|     public:
 | |
| 
 | |
|         JournalCheckStage(const CSMWorld::IdCollection<ESM::Dialogue>& journals,
 | |
|             const CSMWorld::InfoCollection& journalInfos);
 | |
| 
 | |
|         virtual int setup();
 | |
|         ///< \return number of steps
 | |
| 
 | |
|         virtual void perform(int stage, CSMDoc::Messages& messages);
 | |
|         ///< Messages resulting from this stage will be appended to \a messages
 | |
| 
 | |
|     private:
 | |
| 
 | |
|         const CSMWorld::IdCollection<ESM::Dialogue>& mJournals;
 | |
|         const CSMWorld::InfoCollection& mJournalInfos;
 | |
| 
 | |
|     };
 | |
| }
 | |
| 
 | |
| #endif
 |