Krita Source Code Documentation
Loading...
Searching...
No Matches
kis_progress_updater.h
Go to the documentation of this file.
1/*
2 * This file is part of KimageShop^WKrayon^WKrita
3 *
4 * SPDX-FileCopyrightText: 2009 Boudewijn Rempt <boud@valdyas.org>
5 *
6 * SPDX-License-Identifier: GPL-2.0-or-later
7 */
8#ifndef KIS_PROGRESS_UPDATER_H
9#define KIS_PROGRESS_UPDATER_H
10
11#include <KoProgressUpdater.h>
12#include <kritaimage_export.h>
13
14class KRITAIMAGE_EXPORT KisProgressInterface
15{
16public:
17
19 virtual void detachUpdater(KoProgressUpdater* updater) = 0;
20 virtual void attachUpdater(KoProgressUpdater* updater) = 0;
21};
22
23
24
29class KRITAIMAGE_EXPORT KisProgressUpdater : public KoProgressUpdater
30{
31public:
34 ~KisProgressUpdater() override;
35private:
37};
38
39
40
41#endif // KIS_PROGRESS_UPDATER_H
virtual void attachUpdater(KoProgressUpdater *updater)=0
virtual void detachUpdater(KoProgressUpdater *updater)=0
KisProgressInterface * m_interface