Eneboo - Documentación para desarrolladores
src/qsa/src/qsa/qsaglobal.h
Ir a la documentación de este archivo.
00001 /****************************************************************************
00002 ** $Id: qsaglobal.h  1.1.5   edited 2006-12-08T10:34:27$
00003 **
00004 ** Copyright (C) 2001-2006 Trolltech AS.  All rights reserved.
00005 **
00006 ** This file is part of the Qt Script for Applications framework (QSA).
00007 **
00008 ** This file may be distributed and/or modified under the terms of the
00009 ** GNU General Public License version 2 as published by the Free Software
00010 ** Foundation and appearing in the file LICENSE.GPL included in the
00011 ** packaging of this file.
00012 **
00013 ** Licensees holding a valid Qt Script for Applications license may use
00014 ** this file in accordance with the Qt Script for Applications License
00015 ** Agreement provided with the Software.
00016 **
00017 ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
00018 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
00019 **
00020 ** See http://www.trolltech.com/pricing.html or email sales@trolltech.com for
00021 **   information about QSA Commercial License Agreements.
00022 ** See http://www.trolltech.com/gpl/ for GPL licensing information.
00023 **
00024 ** Contact info@trolltech.com if any conditions of this licensing are
00025 ** not clear to you.
00026 **
00027 *****************************************************************************/
00028 
00029 #ifndef QSAGLOBAL_H
00030 #define QSAGLOBAL_H
00031 
00032 #include <qglobal.h>
00033 
00034 #include "qsconfig.h"
00035 
00036 #define QSA_VERSION_STRING "1.1.5"
00037 #define QSA_VERSION_MAJOR 1
00038 #define QSA_VERSION_MINOR 1
00039 #define QSA_VERSION_MICRO 5
00040 
00041 // helper macros
00042 #define QSA_MAKE_VERSION(maj, min, mic) (((maj) << 16) | ((min) << 8) | (mic))
00043 #define QSA_VERSION \
00044     QSA_MAKE_VERSION(QSA_VERSION_MAJOR, QSA_VERSION_MINOR, QSA_VERSION_MICRO)
00045 
00046 // evaluate to true if this version is (maj, min, mic) at minimum
00047 #define QSA_IS_VERSION(maj, min, mic) \
00048     (QSA_VERSION >= QSA_MAKE_VERSION(maj, min, mic))
00049 
00050 #if defined(Q_OS_WIN32) && !defined(QSA_NO_DLL)
00051 #  if defined(QSA_DLL)
00052 #    define QSA_EXPORT __declspec(dllexport)
00053 #  else
00054 #    define QSA_EXPORT __declspec(dllimport)
00055 #  endif
00056 #else
00057 #  define QSA_EXPORT
00058 #endif
00059 
00060 
00061 #if defined (QSA_DLL)
00062 #  define QSA_TEMPLATE_EXTERN
00063 #elif defined (Q_TEMPLATEDLL)
00064 #  define QSA_TEMPLATE_EXTERN Q_TEMPLATE_EXTERN
00065 #else
00066 #  define QSA_TEMPLATE_EXTERN
00067 #endif
00068 
00069 #endif
 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'