public ProgressFuncsWrapper(ProgressStartFunc start, ProgressUpdateFunc update, ProgressStopFunc stop) { managed_start = start; if (managed_start != null) NativeStartDelegate = new ProgressStartFuncNative (NativeStartCallback); managed_update = update; if (managed_update != null) NativeUpdateDelegate = new ProgressUpdateFuncNative (NativeUpdateCallback); managed_stop = stop; if (managed_stop != null) NativeStopDelegate = new ProgressStopFuncNative (NativeStopCallback); }
internal static extern void gp_glue_context_set_progress_funcs(HandleRef context, ProgressStartFuncNative start_func, ProgressUpdateFuncNative update_func, ProgressStopFuncNative stop_func, IntPtr data);