Krita Source Code Documentation
Loading...
Searching...
No Matches
KisBlockBackgroundFrameGenerationLock.h
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: 2023 Dmitry Kazakov <dimula73@gmail.com>
3
*
4
* SPDX-License-Identifier: GPL-2.0-or-later
5
*/
6
7
#ifndef KISBLOCKBACKGROUNDFRAMEGENERATIONLOCK_H
8
#define KISBLOCKBACKGROUNDFRAMEGENERATIONLOCK_H
9
10
#include <kritaimage_export.h>
11
#include <
KisAdaptedLock.h
>
12
13
class
KisImageAnimationInterface
;
14
15
23
class
KRITAIMAGE_EXPORT
KisBlockBackgroundFrameGenerationLockAdapter
24
{
25
public
:
26
KisBlockBackgroundFrameGenerationLockAdapter
(
KisImageAnimationInterface
*interface);
27
28
void
lock();
29
void
unlock();
30
31
private
:
32
KisImageAnimationInterface
*
m_interface
;
33
};
34
35
KIS_DECLARE_ADAPTED_LOCK
(KisBlockBackgroundFrameGenerationLock,
KisBlockBackgroundFrameGenerationLockAdapter
)
36
37
#endif
// KISBLOCKBACKGROUNDFRAMEGENERATIONLOCK_H
KisAdaptedLock.h
KIS_DECLARE_ADAPTED_LOCK
#define KIS_DECLARE_ADAPTED_LOCK(Name, Adapter)
Definition
KisAdaptedLock.h:85
KisBlockBackgroundFrameGenerationLockAdapter
Definition
KisBlockBackgroundFrameGenerationLock.h:24
KisBlockBackgroundFrameGenerationLockAdapter::m_interface
KisImageAnimationInterface * m_interface
Definition
KisBlockBackgroundFrameGenerationLock.h:32
KisImageAnimationInterface
Definition
kis_image_animation_interface.h:28
libs
image
KisBlockBackgroundFrameGenerationLock.h
Generated at
2026-01-15 02:30:07+01:00
from
Krita
branch
master
, commit
38b517ca06286bb65279453cbf9a2b4fbd1153d1