SourceForge has been redesigned. Learn more.
Close

Diff of /src/hugin1/ptbatcher/ProjectArray.h [0f0548] .. [aacb50]  Maximize  Restore

Switch to side-by-side view

--- a/src/hugin1/ptbatcher/ProjectArray.h
+++ b/src/hugin1/ptbatcher/ProjectArray.h
@@ -51,6 +51,10 @@
 		MISSING,
 		PAUSED
 	};
+    enum Target{
+        STITCHING=0,
+        DETECTING
+    };
 
 	//generator for unique ids of projects
 	static long idGenerator;
@@ -58,6 +62,8 @@
 	long id;
 	//project status
 	Status status;
+    //project target: stitching or detecting/assistant
+    Target target;
 	//project input path
 	wxString path;
 	//project output prefix path and filename
@@ -70,7 +76,7 @@
 	bool skip;
 
 	//Constructor for project files
-	Project(wxString pth,wxString pfx);
+	Project(wxString pth,wxString pfx,Project::Target newTarget=STITCHING);
 	//Constructor for applications
 	Project(wxString command);
 	//Returns status of project in string form