Krita Source Code Documentation
Loading...
Searching...
No Matches
kis_delegated_tool_policies.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2014 Dmitry Kazakov <dimula73@gmail.com>
3 *
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 */
6
7#ifndef __KIS_DELEGATED_TOOL_POLICIES_H
8#define __KIS_DELEGATED_TOOL_POLICIES_H
9
10#include <QtGlobal>
11
12#include "kritaui_export.h"
13
14
15class KoCanvasBase;
16
17struct KRITAUI_EXPORT NoopActivationPolicy {
18 static inline void onActivate(KoCanvasBase *canvas) {
19 Q_UNUSED(canvas);
20 }
21};
22
23struct KRITAUI_EXPORT DeselectShapesActivationPolicy {
24 static void onActivate(KoCanvasBase *canvas);
25};
26
27
28#endif /* __KIS_DELEGATED_TOOL_POLICIES_H */
static void onActivate(KoCanvasBase *canvas)