mirror of
				https://github.com/TES3MP/openmw-tes3mp.git
				synced 2025-10-31 18:26:42 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			38 lines
		
	
	
	
		
			824 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			38 lines
		
	
	
	
		
			824 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #ifndef CSM_TOOLS_SEARCHOPERATION_H
 | |
| #define CSM_TOOLS_SEARCHOPERATION_H
 | |
| 
 | |
| #include "../doc/operation.hpp"
 | |
| 
 | |
| #include "search.hpp"
 | |
| 
 | |
| namespace CSMDoc
 | |
| {
 | |
|     class Document;
 | |
| }
 | |
| 
 | |
| namespace CSMTools
 | |
| {
 | |
|     class SearchStage;
 | |
|     
 | |
|     class SearchOperation : public CSMDoc::Operation
 | |
|     {
 | |
|             Search mSearch;
 | |
|             
 | |
|         public:
 | |
| 
 | |
|             SearchOperation (CSMDoc::Document& document);
 | |
| 
 | |
|             /// \attention Do not call this function while a search is running.
 | |
|             void configure (const Search& search);
 | |
| 
 | |
|             void appendStage (SearchStage *stage);
 | |
|             ///< The ownership of \a stage is transferred to *this.
 | |
|             ///
 | |
|             /// \attention Do no call this function while this Operation is running.
 | |
| 
 | |
|             const Search& getSearch() const;
 | |
|             
 | |
|     };
 | |
| }
 | |
| 
 | |
| #endif
 |