1 | // SPDX-FileCopyrightText: 2021 Kitsune Ral <kitsune-ral@users.sf.net> |
2 | // SPDX-License-Identifier: LGPL-2.1-or-later |
3 | |
4 | #pragma once |
5 | |
6 | #include <QtCore/qglobal.h> |
7 | |
8 | #ifdef QUOTIENT_STATIC |
9 | # define QUOTIENT_API |
10 | # define QUOTIENT_HIDDEN |
11 | #else |
12 | # ifndef QUOTIENT_API |
13 | # ifdef BUILDING_SHARED_QUOTIENT |
14 | /* We are building this library */ |
15 | # define QUOTIENT_API Q_DECL_EXPORT |
16 | # else |
17 | /* We are using this library */ |
18 | # define QUOTIENT_API Q_DECL_IMPORT |
19 | # endif |
20 | # endif |
21 | |
22 | # ifndef QUOTIENT_HIDDEN |
23 | # define QUOTIENT_HIDDEN Q_DECL_HIDDEN |
24 | # endif |
25 | #endif |
26 | |