Krita Source Code Documentation
Loading...
Searching...
No Matches
KoActiveCanvasResourceDependency.cpp
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 */
7
9{
10 Private(int _sourceKey, int _targetKey)
11 : sourceKey(_sourceKey),
12 targetKey(_targetKey)
13 {
14 }
15
16 int sourceKey = -1;
17 int targetKey = -1;
18};
19
21 : m_d(new Private(sourceKey, targetKey))
22{
23}
24
28
30{
31 return m_d->sourceKey;
32}
33
35{
36 return m_d->targetKey;
37}
KoActiveCanvasResourceDependency(int sourceKey, int targetKey)