using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CodeImp.DoomBuilder.UDBScript { class ProgressInfo { IProgress progress; IProgress status; IProgress _log; public ProgressInfo(IProgress progress, IProgress status, IProgress log) { this.progress = progress; this.status = status; _log = log; } public void setProgress(int p) { progress.Report(p); } public void setStatus(string s) { status.Report(s); } public void log(string s) { _log.Report(s); } } }