X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fbatchrender.h;h=fca24d224aef53b98b751473dd4c5cc9588ae94b;hb=HEAD;hp=90e35855dd63332524e50f45ca128e20aa6d1025;hpb=94fc059e6ed3f77f20531338cbb03bdb3b4d9eab;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/cinelerra/batchrender.h b/cinelerra-5.1/cinelerra/batchrender.h index 90e35855..fca24d22 100644 --- a/cinelerra-5.1/cinelerra/batchrender.h +++ b/cinelerra-5.1/cinelerra/batchrender.h @@ -2,6 +2,7 @@ /* * CINELERRA * Copyright (C) 2008 Adam Williams + * Copyright (C) 2003-2016 Cinelerra CV contributors * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -81,11 +82,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 +111,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 +315,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 +372,7 @@ public: BatchRenderCurrentEDL *use_current_edl; BatchRenderUpdateEDL *update_selected_edl; BatchRenderUseFarm *use_renderfarm; + BatchRenderHelp *help_button; };