summaryrefslogtreecommitdiffstats
path: root/src/oauth/qoauthglobal.h
blob: a48024c3affbc36924861b829edba545e33cbd6a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Copyright (C) 2017 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only

#ifndef QOAUTHGLOBAL_H
#define QOAUTHGLOBAL_H

#include <QtCore/qglobal.h>
#include <QtNetwork/qtnetworkglobal.h>

QT_BEGIN_NAMESPACE

#if defined(QT_SHARED) || !defined(QT_STATIC)
#  if defined(QT_BUILD_NETWORKAUTH_LIB)
#    define Q_OAUTH_EXPORT Q_DECL_EXPORT
#  else
#    define Q_OAUTH_EXPORT Q_DECL_IMPORT
#  endif
#else
#  define Q_OAUTH_EXPORT
#endif

QT_END_NAMESPACE

#endif // QOAUTHGLOBAL_H