Separate kritapaintop_export.h out of krita_export.h

parent fc742da1
......@@ -51,20 +51,11 @@
# endif
#endif
#ifndef PAINTOP_EXPORT
# ifdef MAKE_KRITALIBPAINTOP_LIB
# define PAINTOP_EXPORT KDE_EXPORT
# else
# define PAINTOP_EXPORT KDE_IMPORT
# endif
#endif
#else // not windows
#define KRITASKETCH_EXPORT KDE_EXPORT
#define KRITAUI_EXPORT KDE_EXPORT
#define KRITAIMAGE_EXPORT KDE_EXPORT
#define PAINTOP_EXPORT KDE_EXPORT
#endif /* not windows */
......
......@@ -19,7 +19,7 @@
#define KIS_AIRBRUSH_OPTION_H
#include <kis_paintop_option.h>
#include <krita_export.h>
#include <kritapaintop_export.h>
const QString AIRBRUSH_ENABLED = "AirbrushOption/isAirbrushing";
const QString AIRBRUSH_RATE = "AirbrushOption/rate";
......
......@@ -21,7 +21,7 @@
#include <QObject>
#include <QResizeEvent>
#include "krita_export.h"
#include "kritapaintop_export.h"
#include "ui_wdgautobrush.h"
#include <kis_auto_brush.h>
......
......@@ -23,6 +23,7 @@
#include "kis_paintop_option.h"
#include <kis_types.h>
#include <kritapaintop_export.h>
class KisPropertiesConfiguration;
class KisPainter;
......
......@@ -23,6 +23,7 @@
#include "kis_paintop_option.h"
#include <kis_types.h>
#include <kritapaintop_export.h>
class KisPropertiesConfiguration;
class QLabel;
......
......@@ -18,7 +18,7 @@
#ifndef KIS_BRUSH_BASED_PAINTOP_H
#define KIS_BRUSH_BASED_PAINTOP_H
#include "krita_export.h"
#include "kritapaintop_export.h"
#include "kis_paintop.h"
#include "kis_dab_cache.h"
#include "kis_brush.h"
......
......@@ -18,7 +18,6 @@
#include "kis_brush_based_paintop_options_widget.h"
#include "kis_brush_option_widget.h"
#include "krita_export.h"
KisBrushBasedPaintopOptionWidget::KisBrushBasedPaintopOptionWidget(QWidget* parent)
: KisPaintOpSettingsWidget(parent)
......
......@@ -22,7 +22,7 @@
#include "kis_paintop_settings_widget.h"
#include "kis_types.h"
#include "kis_brush.h"
#include <krita_export.h>
#include <kritapaintop_export.h>
class KisBrushOptionWidget;
......
......@@ -20,7 +20,7 @@
#define KIS_BRUSH_BASED_PAINTOP_SETTINGS_H
#include <kis_paintop_settings.h>
#include <krita_export.h>
#include <kritapaintop_export.h>
#include <kis_outline_generation_policy.h>
......
......@@ -19,7 +19,7 @@
#define KIS_BRUSH_CHOOSER_H_
#include <QLabel>
#include <krita_export.h>
#include <kritapaintop_export.h>
#include <kis_brush.h>
class KisDoubleSliderSpinBox;
......
......@@ -23,6 +23,7 @@
#include "kis_brush.h"
#include <kis_threaded_text_rendering_workaround.h>
#include <kritapaintop_export.h>
class KisPropertiesConfiguration;
......
......@@ -22,7 +22,7 @@
#include "kis_paintop_option.h"
#include "kis_brush_option.h"
#include <krita_export.h>
#include <kritapaintop_export.h>
#include "kis_brush.h"
class KisBrushSelectionWidget;
......
......@@ -22,7 +22,7 @@
#include <QtGlobal>
#include <kis_paintop_option.h>
#include <krita_export.h>
#include <kritapaintop_export.h>
class KisBrushSizeOptionsWidget;
......
......@@ -20,7 +20,7 @@
#define KIS_COLOR_OPTION_H
#include <kis_paintop_option.h>
#include <krita_export.h>
#include <kritapaintop_export.h>
const QString COLOROP_HUE = "ColorOption/hue";
const QString COLOROP_SATURATION = "ColorOption/saturation";
......
......@@ -25,6 +25,7 @@
#include <KoColor.h>
#include <kis_types.h>
#include <kritapaintop_export.h>
class KoAbstractGradient;
class KoColorTransformation;
......
......@@ -20,7 +20,7 @@
#ifndef _KIS_COLOR_SOURCE_OPTION_H
#define _KIS_COLOR_SOURCE_OPTION_H
#include <krita_export.h>
#include <kritapaintop_export.h>
#include <QList>
class KisColorSource;
......
......@@ -21,6 +21,7 @@
#define KIS_COLOR_SOURCE_OPTION_WIDGET_H
#include "kis_paintop_option.h"
#include <kritapaintop_export.h>
/**
* The brush option allows the user to select a particular brush
......
......@@ -19,7 +19,7 @@
#define KIS_COMPOSITEOP_OPTION_H
#include <kis_paintop_option.h>
#include <krita_export.h>
#include <kritapaintop_export.h>
#include <QString>
// const QString AIRBRUSH_ENABLED = "AirbrushOption/isAirbrushing";
......
......@@ -19,7 +19,7 @@
#ifndef __KIS_CURRENT_OUTLINE_FETCHER_H
#define __KIS_CURRENT_OUTLINE_FETCHER_H
#include <krita_export.h>
#include <kritapaintop_export.h>
#include <QFlags>
#include <QScopedPointer>
......
......@@ -18,7 +18,7 @@
#ifndef _KIS_CURVE_LABEL_H_
#define _KIS_CURVE_LABEL_H_
#include <krita_export.h>
#include <kritapaintop_export.h>
class QString;
class QImage;
......
......@@ -28,7 +28,7 @@
#include "kis_global.h"
#include "kis_paintop_option.h"
#include "kis_paint_information.h"
#include "krita_export.h"
#include "kritapaintop_export.h"
#include "kis_dynamic_sensor.h"
class KisDynamicSensor;
......
......@@ -19,7 +19,7 @@
#ifndef __KIS_DAB_CACHE_H
#define __KIS_DAB_CACHE_H
#include "krita_export.h"
#include "kritapaintop_export.h"
#include "kis_brush.h"
class KisColorSource;
......
......@@ -19,7 +19,7 @@
#ifndef _KIS_DYNAMIC_SENSOR_H_
#define _KIS_DYNAMIC_SENSOR_H_
#include <krita_export.h>
#include <kritapaintop_export.h>
#include <QObject>
......
......@@ -22,7 +22,7 @@
#include "kis_paintop_option.h"
#include <kis_types.h>
#include <krita_export.h>
#include <kritapaintop_export.h>
class QGridLayout;
class KoID;
......
......@@ -19,7 +19,7 @@
#define KIS_PAINT_ACTION_TYPE_OPTION_H
#include <kis_paintop_option.h>
#include <krita_export.h>
#include <kritapaintop_export.h>
class KisPaintActionWidget;
......
......@@ -21,7 +21,7 @@
#define __KIS_PRECISION_OPTION_H
#include <QString>
#include <krita_export.h>
#include <kritapaintop_export.h>
class KisPropertiesConfiguration;
const QString PRECISION_LEVEL = "KisPrecisionOption/precisionLevel";
......
......@@ -22,7 +22,7 @@
#include "kis_curve_option.h"
#include <kis_types.h>
#include <krita_export.h>
#include <kritapaintop_export.h>
#include <KoColor.h>
class KisPainter;
......
......@@ -21,7 +21,7 @@
#define KIS_PRESSURE_FLOW_OPACITY_OPTION_H
#include "kis_curve_option.h"
#include <krita_export.h>
#include <kritapaintop_export.h>
#include <kis_types.h>
#include <kis_paintop_settings.h>
......
......@@ -22,7 +22,7 @@
#include "kis_curve_option.h"
#include <kis_paint_information.h>
#include <krita_export.h>
#include <kritapaintop_export.h>
/**
* The pressure flow option defines a curve that is used to
......
......@@ -22,7 +22,7 @@
#include "kis_curve_option.h"
#include <kis_paint_information.h>
#include <krita_export.h>
#include <kritapaintop_export.h>
class KoColor;
class KoAbstractGradient;
......
......@@ -22,7 +22,7 @@
#include "kis_curve_option.h"
#include <kis_types.h>
#include <krita_export.h>
#include <kritapaintop_export.h>
#include <KoColor.h>
class KoColorTransformation;
......
......@@ -22,7 +22,7 @@
#include "kis_curve_option.h"
#include <kis_paint_information.h>
#include <krita_export.h>
#include <kritapaintop_export.h>
#include <kis_types.h>
......
......@@ -22,7 +22,7 @@
#include "kis_curve_option.h"
#include <kis_paint_information.h>
#include <krita_export.h>
#include <kritapaintop_export.h>
/**
* The pressure opacity option defines a curve that is used to
......
......@@ -21,7 +21,7 @@
#define KIS_PRESSURE_OPACITY_OPTION
#include "kis_curve_option.h"
#include <krita_export.h>
#include <kritapaintop_export.h>
class KisPainter;
/**
......
......@@ -22,7 +22,7 @@
#include "kis_curve_option.h"
#include <kis_paint_information.h>
#include <krita_export.h>
#include <kritapaintop_export.h>
/**
* The pressure opacity option defines a curve that is used to
......
......@@ -22,7 +22,7 @@
#include "kis_curve_option.h"
#include <kis_paint_information.h>
#include <krita_export.h>
#include <kritapaintop_export.h>
#include <kis_types.h>
......
......@@ -22,7 +22,7 @@
#include "kis_curve_option.h"
#include <kis_paint_information.h>
#include <krita_export.h>
#include <kritapaintop_export.h>
#include <kis_types.h>
......
......@@ -22,7 +22,7 @@
#include "kis_curve_option.h"
#include <kis_paint_information.h>
#include <krita_export.h>
#include <kritapaintop_export.h>
/**
* The pressure opacity option defines a curve that is used to
......
......@@ -22,7 +22,7 @@
#include "kis_curve_option.h"
#include <kis_paint_information.h>
#include <krita_export.h>
#include <kritapaintop_export.h>
/**
* This option is responsible to deliver values suitable for softness
......
......@@ -22,7 +22,7 @@
#include "kis_curve_option.h"
#include <kis_paint_information.h>
#include <krita_export.h>
#include <kritapaintop_export.h>
/**
* The pressure spacing option defines a curve that is used to
......
......@@ -21,7 +21,7 @@
#include "kis_curve_option.h"
#include <kis_paint_information.h>
#include <krita_export.h>
#include <kritapaintop_export.h>
/**
* This curve defines how deep the ink (or a pointer) of a brush
......
......@@ -20,7 +20,7 @@
#ifndef KIS_TEXTURE_OPTION_H
#define KIS_TEXTURE_OPTION_H
#include <krita_export.h>
#include <kritapaintop_export.h>
#include <kis_paint_device.h>
#include <kis_types.h>
......
/*
This file is part of krita
Copyright (c) 2015 Friedrich W. H. Kossebau <kossebau@kde.org>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
You should have received a copy of the GNU Library General Public License
along with this library; see the file COPYING.LIB. If not, write to
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301, USA.
*/
#ifndef KRITAPAINTOP_EXPORT_H
#define KRITAPAINTOP_EXPORT_H
#include <kdemacros.h>
/* We use _WIN32/_WIN64 instead of Q_OS_WIN so that this header can be used from C files too */
#if defined(_WIN32) || defined(_WIN64)
#ifndef PAINTOP_EXPORT
# ifdef MAKE_KRITALIBPAINTOP_LIB
# define PAINTOP_EXPORT KDE_EXPORT
# else
# define PAINTOP_EXPORT KDE_IMPORT
# endif
#endif
#else // not windows
#define PAINTOP_EXPORT KDE_EXPORT
#endif /* not windows */
#endif /* KRITAPAINTOP_EXPORT_H */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment