libqtaws
0.1.0
UnofficialAWSlibraryforQt
Main Page
Related Pages
Classes
Files
File List
core
qtawsglobal.h
1
/*
2
Copyright 2013-2015 Paul Colby
3
4
This file is part of libqtaws.
5
6
Libqtaws is free software: you can redistribute it and/or modify
7
it under the terms of the GNU Lesser General Public License as published by
8
the Free Software Foundation, either version 3 of the License, or
9
(at your option) any later version.
10
11
Libqtaws is distributed in the hope that it will be useful,
12
but WITHOUT ANY WARRANTY; without even the implied warranty of
13
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
GNU Lesser General Public License for more details.
15
16
You should have received a copy of the GNU Lesser General Public License
17
along with libqtaws. If not, see <http://www.gnu.org/licenses/>.
18
*/
19
20
#ifndef QTAWSGLOBAL_H
21
#define QTAWSGLOBAL_H
22
23
24
// Export declaration macros.
25
#if defined(QTAWS_SHARED) || !defined(QTAWS_STATIC)
26
# ifdef QTAWS_STATIC
27
# error "Both QTAWS_SHARED and QTAWS_STATIC defined."
28
# endif
29
# if defined QTAWS_LIBRARY
30
# define QTAWS_EXPORT Q_DECL_EXPORT
31
# else
32
# define QTAWS_EXPORT Q_DECL_IMPORT
33
# endif
34
#else
35
# define QTAWS_EXPORT
36
#endif
37
38
// Custom namespace wrapper macros.
39
#ifdef QTAWS_NAMESPACE
40
# define QTAWS_BEGIN_NAMESPACE namespace QTAWS_NAMESPACE {
41
# define QTAWS_END_NAMESPACE }
42
#else
43
# define QTAWS_BEGIN_NAMESPACE
44
# define QTAWS_END_NAMESPACE
45
#endif
46
47
48
#endif // QTAWSGLOBAL_H
Generated on Tue Jun 16 2015 07:51:46 for libqtaws by
1.8.9.1