Krita Source Code Documentation
Loading...
Searching...
No Matches
KisLocalStrokeResources.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2020 Dmitry Kazakov <dimula73@gmail.com>
3 *
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 */
6#ifndef KISLOCALSTROKERESOURCES_H
7#define KISLOCALSTROKERESOURCES_H
8
10
12
13
23class KRITARESOURCES_EXPORT KisLocalStrokeResources : public KisResourcesInterface
24{
25public:
27 KisLocalStrokeResources(const QList<KoResourceSP> &localResources);
28
29 void addResource(KoResourceSP resource);
30 void removeResource(KoResourceSP resource);
31
32 KisLocalStrokeResources* clone() const;
33
34protected:
35 ResourceSourceAdapter* createSourceImpl(const QString &type) const override;
36
37private:
39};
40
41#endif // KISLOCALSTROKERESOURCES_H
a KisResourcesInterface-like resources storage for preloaded resources
Q_DECLARE_PRIVATE(KisLocalStrokeResources)
a provider-like interface class for accessing resource sources in Krita.
virtual ResourceSourceAdapter * createSourceImpl(const QString &type) const =0