File indexing completed on 2024-12-22 04:12:57
0001 /* 0002 * SPDX-FileCopyrightText: 2014 Dmitry Kazakov <dimula73@gmail.com> 0003 * 0004 * SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #ifndef __KIS_DELEGATED_TOOL_POLICIES_H 0008 #define __KIS_DELEGATED_TOOL_POLICIES_H 0009 0010 #include <QtGlobal> 0011 0012 #include "kritaui_export.h" 0013 0014 0015 class KoCanvasBase; 0016 0017 struct KRITAUI_EXPORT NoopActivationPolicy { 0018 static inline void onActivate(KoCanvasBase *canvas) { 0019 Q_UNUSED(canvas); 0020 } 0021 }; 0022 0023 struct KRITAUI_EXPORT DeselectShapesActivationPolicy { 0024 static void onActivate(KoCanvasBase *canvas); 0025 }; 0026 0027 0028 #endif /* __KIS_DELEGATED_TOOL_POLICIES_H */