qtmobility/src/global/qmobilityglobal.h
branchRCL_3
changeset 13 4203353e74ea
parent 0 cfcbf08528c4
child 21 885c2596c964
equal deleted inserted replaced
10:4ea83c148e84 13:4203353e74ea
     1 /****************************************************************************
     1 /****************************************************************************
     2 **
     2 **
     3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
     3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     4 ** All rights reserved.
     4 ** All rights reserved.
     5 ** Contact: Nokia Corporation (qt-info@nokia.com)
     5 ** Contact: Nokia Corporation (qt-info@nokia.com)
     6 **
     6 **
     7 ** This file is part of the Qt Mobility Components.
     7 ** This file is part of the Qt Mobility Components.
     8 **
     8 **
    40 ****************************************************************************/
    40 ****************************************************************************/
    41 #ifndef QMOBILITYGLOBAL_H
    41 #ifndef QMOBILITYGLOBAL_H
    42 #define QMOBILITYGLOBAL_H
    42 #define QMOBILITYGLOBAL_H
    43 
    43 
    44 
    44 
    45 #define QTM_VERSION_STR   "1.0.0"
    45 #define QTM_VERSION_STR   "1.0.1"
    46 /*
    46 /*
    47    QTM_VERSION is (major << 16) + (minor << 8) + patch.
    47    QTM_VERSION is (major << 16) + (minor << 8) + patch.
    48 */
    48 */
    49 #define QTM_VERSION 0x010000
    49 #define QTM_VERSION 0x010001
    50 /*
    50 /*
    51    can be used like #if (QTM_VERSION >= QTM_VERSION_CHECK(1, 0, 0))
    51    can be used like #if (QTM_VERSION >= QTM_VERSION_CHECK(1, 0, 1))
    52 */
    52 */
    53 #define QTM_VERSION_CHECK(major, minor, patch) ((major<<16)|(minor<<8)|(patch))
    53 #define QTM_VERSION_CHECK(major, minor, patch) ((major<<16)|(minor<<8)|(patch))
    54 
    54 
    55 #define QTM_PACKAGEDATE_STR "YYYY-MM-DD"
    55 #define QTM_PACKAGEDATE_STR "YYYY-MM-DD"
    56 
    56 
   103 #      if defined(QT_BUILD_MESSAGING_LIB)
   103 #      if defined(QT_BUILD_MESSAGING_LIB)
   104 #        define Q_MESSAGING_EXPORT Q_DECL_EXPORT
   104 #        define Q_MESSAGING_EXPORT Q_DECL_EXPORT
   105 #      else
   105 #      else
   106 #        define Q_MESSAGING_EXPORT Q_DECL_IMPORT
   106 #        define Q_MESSAGING_EXPORT Q_DECL_IMPORT
   107 #      endif
   107 #      endif
   108 #      if defined(QT_BUILD_MEDIA_LIB)
   108 #      if defined(QT_BUILD_MULTIMEDIA_LIB)
   109 #        define Q_MEDIA_EXPORT Q_DECL_EXPORT
   109 #        define Q_MULTIMEDIA_EXPORT Q_DECL_EXPORT
   110 #      else
   110 #      else
   111 #        define Q_MEDIA_EXPORT Q_DECL_IMPORT
   111 #        define Q_MULTIMEDIA_EXPORT Q_DECL_IMPORT
   112 #      endif
   112 #      endif
   113 #      if defined(QT_BUILD_SFW_LIB)
   113 #      if defined(QT_BUILD_SFW_LIB)
   114 #        define Q_SERVICEFW_EXPORT Q_DECL_EXPORT
   114 #        define Q_SERVICEFW_EXPORT Q_DECL_EXPORT
   115 #      else
   115 #      else
   116 #        define Q_SERVICEFW_EXPORT Q_DECL_IMPORT
   116 #        define Q_SERVICEFW_EXPORT Q_DECL_IMPORT
   129 #      define Q_BEARER_EXPORT Q_DECL_IMPORT
   129 #      define Q_BEARER_EXPORT Q_DECL_IMPORT
   130 #      define Q_PUBLISHSUBSCRIBE_EXPORT Q_DECL_IMPORT
   130 #      define Q_PUBLISHSUBSCRIBE_EXPORT Q_DECL_IMPORT
   131 #      define Q_CONTACTS_EXPORT Q_DECL_IMPORT
   131 #      define Q_CONTACTS_EXPORT Q_DECL_IMPORT
   132 #      define Q_VERSIT_EXPORT Q_DECL_IMPORT
   132 #      define Q_VERSIT_EXPORT Q_DECL_IMPORT
   133 #      define Q_LOCATION_EXPORT Q_DECL_IMPORT
   133 #      define Q_LOCATION_EXPORT Q_DECL_IMPORT
   134 #      define Q_MEDIA_EXPORT Q_DECL_IMPORT
   134 #      define Q_MULTIMEDIA_EXPORT Q_DECL_IMPORT
   135 #      define Q_MESSAGING_EXPORT Q_DECL_IMPORT
   135 #      define Q_MESSAGING_EXPORT Q_DECL_IMPORT
   136 #      define Q_SERVICEFW_EXPORT Q_DECL_IMPORT
   136 #      define Q_SERVICEFW_EXPORT Q_DECL_IMPORT
   137 #      define Q_SYSINFO_EXPORT Q_DECL_IMPORT
   137 #      define Q_SYSINFO_EXPORT Q_DECL_IMPORT
   138 #      define Q_SENSORS_EXPORT Q_DECL_IMPORT
   138 #      define Q_SENSORS_EXPORT Q_DECL_IMPORT
   139 #    endif
   139 #    endif
   144 #      define Q_BEARER_EXPORT Q_DECL_EXPORT
   144 #      define Q_BEARER_EXPORT Q_DECL_EXPORT
   145 #      define Q_PUBLISHSUBSCRIBE_EXPORT Q_DECL_EXPORT
   145 #      define Q_PUBLISHSUBSCRIBE_EXPORT Q_DECL_EXPORT
   146 #      define Q_CONTACTS_EXPORT Q_DECL_EXPORT
   146 #      define Q_CONTACTS_EXPORT Q_DECL_EXPORT
   147 #      define Q_VERSIT_EXPORT Q_DECL_EXPORT
   147 #      define Q_VERSIT_EXPORT Q_DECL_EXPORT
   148 #      define Q_LOCATION_EXPORT Q_DECL_EXPORT
   148 #      define Q_LOCATION_EXPORT Q_DECL_EXPORT
   149 #      define Q_MEDIA_EXPORT Q_DECL_EXPORT
   149 #      define Q_MULTIMEDIA_EXPORT Q_DECL_EXPORT
   150 #      define Q_MESSAGING_EXPORT Q_DECL_EXPORT
   150 #      define Q_MESSAGING_EXPORT Q_DECL_EXPORT
   151 #      define Q_SERVICEFW_EXPORT Q_DECL_EXPORT
   151 #      define Q_SERVICEFW_EXPORT Q_DECL_EXPORT
   152 #      define Q_SYSINFO_EXPORT Q_DECL_EXPORT
   152 #      define Q_SYSINFO_EXPORT Q_DECL_EXPORT
   153 #      define Q_SENSORS_EXPORT Q_DECL_EXPORT
   153 #      define Q_SENSORS_EXPORT Q_DECL_EXPORT
   154 #    else
   154 #    else
   155 #      define Q_BEARER_EXPORT
   155 #      define Q_BEARER_EXPORT
   156 #      define Q_PUBLISHSUBSCRIBE_EXPORT
   156 #      define Q_PUBLISHSUBSCRIBE_EXPORT
   157 #      define Q_CONTACTS_EXPORT
   157 #      define Q_CONTACTS_EXPORT
   158 #      define Q_VERSIT_EXPORT
   158 #      define Q_VERSIT_EXPORT
   159 #      define Q_LOCATION_EXPORT
   159 #      define Q_LOCATION_EXPORT
   160 #      define Q_MEDIA_EXPORT
   160 #      define Q_MULTIMEDIA_EXPORT
   161 #      define Q_MESSAGING_EXPORT
   161 #      define Q_MESSAGING_EXPORT
   162 #      define Q_SERVICEFW_EXPORT
   162 #      define Q_SERVICEFW_EXPORT
   163 #      define Q_SYSINFO_EXPORT
   163 #      define Q_SYSINFO_EXPORT
   164 #      define Q_SENSORS_EXPORT
   164 #      define Q_SENSORS_EXPORT
   165 #    endif
   165 #    endif