00001 /********************************************************************** 00002 ** Copyright (C) 2000-2002 Trolltech AS. All rights reserved. 00003 ** 00004 ** This file is part of the Qtopia Environment. 00005 ** 00006 ** Licensees holding valid Qtopia Developer license may use this 00007 ** file in accordance with the Qtopia Developer License Agreement 00008 ** provided with the Software. 00009 ** 00010 ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING 00011 ** THE WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR 00012 ** PURPOSE. 00013 ** 00014 ** email sales@trolltech.com for information about Qtopia License 00015 ** Agreements. 00016 ** 00017 ** Contact info@trolltech.com if any conditions of this licensing are 00018 ** not clear to you. 00019 ** 00020 **********************************************************************/ 00021 00022 #ifndef QPC_GLOBAL_H 00023 #define QPC_GLOBAL_H 00024 00025 #include <qglobal.h> 00026 00027 #if ( defined(Q_OS_WIN32) || defined(Q_OS_WIN64) ) && defined(PALMTOPCENTER) 00028 // # if defined(QT_NODLL) 00029 //# undef QPC_MAKEDLL 00030 //# undef QPC_DLL 00031 # if defined(QPC_MAKEDLL) /* create a Qt DLL library */ 00032 # if defined(QPC_DLL) 00033 # undef QPC_DLL 00034 # endif 00035 # define QPC_EXPORT __declspec(dllexport) 00036 # define QPC_TEMPLATEEXTERN 00037 # define QPC_TEMPLATEDLL 00038 # undef QPC_DISABLE_COPY /* avoid unresolved externals */ 00039 # elif defined(QPC_DLL) /* use a Qt DLL library */ 00040 # define QPC_EXPORT __declspec(dllimport) 00041 # define QPC_TEMPLATEEXTERN extern 00042 # define QPC_TEMPLATEDLL 00043 # undef QPC_DISABLE_COPY /* avoid unresolved externals */ 00044 # endif 00045 #else 00046 # undef QPC_MAKEDLL /* ignore these for other platforms */ 00047 # undef QPC_DLL 00048 #endif 00049 #endif 00050 00051 #ifndef QPC_EXPORT 00052 # define QPC_EXPORT 00053 #endif
1.4.2