X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcinelerra.git;a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fbatchrender.h;h=2646b577c48855b3b83e595ea1a4afbdf148eb10;hp=90e35855dd63332524e50f45ca128e20aa6d1025;hb=ddfda6a8cc59bda4dc734973c1c5fecaa31ea487;hpb=94fc059e6ed3f77f20531338cbb03bdb3b4d9eab diff --git a/cinelerra-5.1/cinelerra/batchrender.h b/cinelerra-5.1/cinelerra/batchrender.h index 90e35855..2646b577 100644 --- a/cinelerra-5.1/cinelerra/batchrender.h +++ b/cinelerra-5.1/cinelerra/batchrender.h @@ -81,11 +81,25 @@ public: }; +class BatchRenderWarnJob +{ +public: + BatchRenderWarnJob() { no = 0; path = 0; } + ~BatchRenderWarnJob() { delete [] path; } + int no; + const char *path; +}; - - - - +class BatchRenderWarnJobs : public ArrayList +{ +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 { @@ -96,6 +110,7 @@ public: BC_Window* new_gui(); int test_edl_files(); + int test_errmsg(BatchRenderWarnJobs &err_jobs, const char *msg, int *warn); void calculate_dest_paths(ArrayList *paths, Preferences *preferences); void reset(const char *path=0); @@ -299,6 +314,14 @@ public: 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 { @@ -348,6 +371,7 @@ public: BatchRenderCurrentEDL *use_current_edl; BatchRenderUpdateEDL *update_selected_edl; BatchRenderUseFarm *use_renderfarm; + BatchRenderHelp *help_button; };