1// Aseprite Render Library
2// Copyright (c) 2017 David Capello
3//
4// This file is released under the terms of the MIT license.
5// Read LICENSE.txt for more information.
6
7#ifndef RENDER_TASK_DELEGATE_H_INCLUDED
8#define RENDER_TASK_DELEGATE_H_INCLUDED
9#pragma once
10
11namespace render {
12
13 class TaskDelegate {
14 public:
15 virtual ~TaskDelegate() { }
16 virtual void notifyTaskProgress(double progress) = 0;
17 virtual bool continueTask() = 0;
18 };
19
20} // namespace render
21
22#endif // RENDER_TASK_H_INCLUDED
23