Krita Source Code Documentation
Loading...
Searching...
No Matches
KisRunnableStrokeJobData.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2017 Dmitry Kazakov <dimula73@gmail.com>
3 *
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 */
6
7#ifndef KISRUNNABLESTROKEJOBDATA_H
8#define KISRUNNABLESTROKEJOBDATA_H
9
10#include "kritaimage_export.h"
12#include <functional>
13
14class QRunnable;
15
17public:
20
23
25
26 void run() override;
27
28private:
29 QRunnable *m_runnable = 0;
30 std::function<void()> m_func;
31};
32
33#endif // KISRUNNABLESTROKEJOBDATA_H
virtual void run()=0
typedef void(QOPENGLF_APIENTRYP PFNGLINVALIDATEBUFFERDATAPROC)(GLuint buffer)