== Sequencer ==
[blender-staging.git] / source / blender / windowmanager / intern / wm_jobs.c
index 4ab4eebdfe15b82d11d6fe20747faf7ef167a4fe..f4e0b4ef06ceed1a43d07d19477d3f65c787a6f6 100644 (file)
@@ -202,6 +202,20 @@ char *WM_jobs_name(wmWindowManager *wm, void *owner)
        return NULL;
 }
 
+int WM_jobs_is_running(wmJob *steve)
+{
+       return steve->running;
+}
+
+void* WM_jobs_get_customdata(wmJob * steve)
+{
+       if (!steve->customdata) {
+               return steve->run_customdata;
+       } else {
+               return steve->customdata;
+       }
+}
+
 void WM_jobs_customdata(wmJob *steve, void *customdata, void (*free)(void *))
 {
        /* pending job? just free */