mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 20:21:12 -06:00 
			
		
		
		
	
		
			
				
	
	
		
			26 lines
		
	
	
	
		
			517 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
	
		
			517 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #ifndef PLATERJOB_HPP
 | |
| #define PLATERJOB_HPP
 | |
| 
 | |
| #include "Job.hpp"
 | |
| 
 | |
| namespace Slic3r { namespace GUI {
 | |
| 
 | |
| class Plater;
 | |
| 
 | |
| class PlaterJob : public Job {
 | |
| protected:
 | |
|     Plater *m_plater;
 | |
|     //BBS: add flag for whether on current part plate
 | |
|     bool only_on_partplate{false};
 | |
| 
 | |
|     void on_exception(const std::exception_ptr &) override;
 | |
| 
 | |
| public:
 | |
| 
 | |
|     PlaterJob(std::shared_ptr<ProgressIndicator> pri, Plater *plater):
 | |
|         Job{std::move(pri)}, m_plater{plater} {}
 | |
| };
 | |
| 
 | |
| }} // namespace Slic3r::GUI
 | |
| 
 | |
| #endif // PLATERJOB_HPP
 | 
