/*
  This file is part of KDDockWidgets.

  SPDX-FileCopyrightText: 2019-2022 Klarälvdalens Datakonsult AB, a KDAB Group company <info@kdab.com>
  Author: Sérgio Martins <sergio.martins@kdab.com>

  SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only

  Contact KDAB at <info@kdab.com> for commercial licensing options.
*/

#ifndef KD_DOCKS_EXPORT_H
#define KD_DOCKS_EXPORT_H

#include <QtCore/QtGlobal>

#if defined(KDDOCKWIDGETS_STATICLIB)
#define DOCKS_EXPORT
#define DOCKS_EXPORT_FOR_UNIT_TESTS
#else
#if defined(BUILDING_DOCKS_LIBRARY)
#define DOCKS_EXPORT Q_DECL_EXPORT
#if defined(DOCKS_DEVELOPER_MODE)
#define DOCKS_EXPORT_FOR_UNIT_TESTS Q_DECL_EXPORT
#else
#define DOCKS_EXPORT_FOR_UNIT_TESTS
#endif
#else
#define DOCKS_EXPORT Q_DECL_IMPORT
#if defined(DOCKS_DEVELOPER_MODE)
#define DOCKS_EXPORT_FOR_UNIT_TESTS Q_DECL_IMPORT
#else
#define DOCKS_EXPORT_FOR_UNIT_TESTS Q_DECL_IMPORT
#endif
#endif
#endif

#endif
