};
+class BatchRenderWarnJob
+{
+public:
+ BatchRenderWarnJob() { no = 0; path = 0; }
+ ~BatchRenderWarnJob() { delete [] path; }
+ int no;
+ const char *path;
+};
-
-
-
-
+class BatchRenderWarnJobs : public ArrayList<BatchRenderWarnJob>
+{
+public:
+ BatchRenderWarnJobs() {}
+ ~BatchRenderWarnJobs() {}
+ void add(int no, const char *path) {
+ BatchRenderWarnJob &job = append();
+ job.no = no; job.path = cstrdup(path);
+ }
+};
class BatchRenderThread : public BC_DialogThread
{
BC_Window* new_gui();
int test_edl_files();
+ int test_errmsg(BatchRenderWarnJobs &err_jobs, const char *msg, int *warn);
void calculate_dest_paths(ArrayList<char*> *paths,
Preferences *preferences);
void reset(const char *path=0);
int *output;
};
+//new help button
+class BatchRenderHelp : public BC_GenericButton
+{
+public:
+ BatchRenderHelp(BatchRenderThread *thread, int x, int y);
+ int handle_event();
+ BatchRenderThread *thread;
+};
class BatchRenderGUI : public BC_Window
{
BatchRenderCurrentEDL *use_current_edl;
BatchRenderUpdateEDL *update_selected_edl;
BatchRenderUseFarm *use_renderfarm;
+ BatchRenderHelp *help_button;
};