Skip to content

armgit / krita

Public Imported from GitHub
0

Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.

C++
573 B
Raw Blame
/*
 *  SPDX-FileCopyrightText: 2014 Dmitry Kazakov <[email protected]>
 *
 *  SPDX-License-Identifier: GPL-2.0-or-later
 */

#ifndef __KIS_DELEGATED_TOOL_POLICIES_H
#define __KIS_DELEGATED_TOOL_POLICIES_H

#include <QtGlobal>

#include "kritaui_export.h"


class KoCanvasBase;

struct KRITAUI_EXPORT NoopActivationPolicy {
    static inline void onActivate(KoCanvasBase *canvas) {
        Q_UNUSED(canvas);
    }
};

struct KRITAUI_EXPORT DeselectShapesActivationPolicy {
    static void onActivate(KoCanvasBase *canvas);
};


#endif /* __KIS_DELEGATED_TOOL_POLICIES_H */