1 /* === S Y N F I G ========================================================= */
2 /*!	\file tool/joblistprocessor.h
3 **	\brief Synfig Tool Rendering Job List Processor Class
4 **
5 **	$Id$
6 **
7 **	\legal
8 **	Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
9 **	Copyright (c) 2007, 2008 Chris Moore
10 **	Copyright (c) 2009-2012 Diego Barrios Romero
11 **
12 **	This package is free software; you can redistribute it and/or
13 **	modify it under the terms of the GNU General Public License as
14 **	published by the Free Software Foundation; either version 2 of
15 **	the License, or (at your option) any later version.
16 **
17 **	This package is distributed in the hope that it will be useful,
18 **	but WITHOUT ANY WARRANTY; without even the implied warranty of
19 **	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20 **	General Public License for more details.
21 **	\endlegal
22 */
23 /* ========================================================================= */
24 
25 #ifndef __SYNFIG_JOBLISTPROCESSOR_H
26 #define __SYNFIG_JOBLISTPROCESSOR_H
27 
28 #include <list>
29 #include <synfig/targetparam.h>
30 #include "job.h"
31 
32 /// Process a Job list setting up and processing each job
33 void process_job_list(std::list<Job>& job_list,
34 						const synfig::TargetParam& target_parameters);
35 
36 /// Prepare a job to be processed
37 /// \return whether the preparation was OK or not
38 bool setup_job(Job& job, const synfig::TargetParam& target_parameters);
39 
40 /// Process an individual job
41 void process_job(Job& job);
42 
43 #endif // __SYNFIG_JOBLISTPROCESSOR_H
44