SimpleTaskProgress::SimpleTaskProgress(const ofx::TaskQueueEventArgs& args):
    taskId(args.getTaskId()),
    name(args.getTaskName()),
    state(args.getState()),
    progress(0),
    errorMessage(""),
    data(""),
    fader(1)
{
}
void SimpleTaskProgress::update(const ofx::TaskQueueEventArgs& args)
{
    taskId = args.getTaskId();
    name = args.getTaskName();
    state = args.getState();
}