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