-rw-r--r-- | library/backend/qpcglobal.h | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/library/backend/qpcglobal.h b/library/backend/qpcglobal.h new file mode 100644 index 0000000..0d60272 --- a/dev/null +++ b/library/backend/qpcglobal.h | |||
@@ -0,0 +1,50 @@ | |||
1 | /********************************************************************** | ||
2 | ** Copyright (C) 2000 Trolltech AS. All rights reserved. | ||
3 | ** | ||
4 | ** This file is part of Qtopia Environment. | ||
5 | ** | ||
6 | ** Licensees holding valid Qtopia Developer license may use this | ||
7 | ** file in accordance with the Qtopia Developer License Agreement | ||
8 | ** provided with the Software. | ||
9 | ** | ||
10 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING | ||
11 | ** THE WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR | ||
12 | ** PURPOSE. | ||
13 | ** | ||
14 | ** email sales@trolltech.com for information about Qtopia License | ||
15 | ** Agreements. | ||
16 | ** | ||
17 | ** Contact info@trolltech.com if any conditions of this licensing are | ||
18 | ** not clear to you. | ||
19 | ** | ||
20 | **********************************************************************/ | ||
21 | |||
22 | #ifndef QPC_GLOBAL_H | ||
23 | #define QPC_GLOBAL_H | ||
24 | |||
25 | #if ( defined(Q_OS_WIN32) || defined(Q_OS_WIN64) ) && defined(PALMTOPCENTER) | ||
26 | #include <qglobal.h> | ||
27 | // # if defined(QT_NODLL) | ||
28 | //# undef QPC_MAKEDLL | ||
29 | //# undef QPC_DLL | ||
30 | # if defined(QPC_MAKEDLL)/* create a Qt DLL library */ | ||
31 | # if defined(QPC_DLL) | ||
32 | # undef QPC_DLL | ||
33 | # endif | ||
34 | # define QPC_EXPORT __declspec(dllexport) | ||
35 | # define QPC_TEMPLATEDLL | ||
36 | # undef QPC_DISABLE_COPY/* avoid unresolved externals */ | ||
37 | # elif defined(QPC_DLL) /* use a Qt DLL library */ | ||
38 | # define QPC_EXPORT __declspec(dllimport) | ||
39 | # define QPC_TEMPLATEDLL | ||
40 | # undef QPC_DISABLE_COPY/* avoid unresolved externals */ | ||
41 | # endif | ||
42 | #else | ||
43 | # undef QPC_MAKEDLL /* ignore these for other platforms */ | ||
44 | # undef QPC_DLL | ||
45 | #endif | ||
46 | #endif | ||
47 | |||
48 | #ifndef QPC_EXPORT | ||
49 | # define QPC_EXPORT | ||
50 | #endif | ||