src/hbcore/core/hbglobal.h
changeset 30 80e4d18b72f5
parent 28 b7da29130b0e
equal deleted inserted replaced
28:b7da29130b0e 30:80e4d18b72f5
    29 #include <QtGlobal>
    29 #include <QtGlobal>
    30 
    30 
    31 //#pragma hb_header(HbGlobal)
    31 //#pragma hb_header(HbGlobal)
    32 
    32 
    33 // HB_VERSION_STR="M.N.P-B" (M=major, N=minor, P=patch, B=build=[dev|tag])
    33 // HB_VERSION_STR="M.N.P-B" (M=major, N=minor, P=patch, B=build=[dev|tag])
    34 #define HB_VERSION_STR "0.5.0-2010wk35"
    34 #define HB_VERSION_STR "0.5.0-2010wk37"
    35 // HB_VERSION=0xMMNNPP (MM=major, NN=minor, PP=patch)
    35 // HB_VERSION=0xMMNNPP (MM=major, NN=minor, PP=patch)
    36 #define HB_VERSION 0x000500
    36 #define HB_VERSION 0x000500
    37 
    37 
    38 #define HB_EXPORT \
    38 #ifndef HB_DOXYGEN
    39     HB_EXPORT_macro_is_obsolete_Please_use_HB_YOURMODULE_EXPORT_instead \
       
    40     { &HB_EXPORT_macro_is_obsolete_Please_use_HB_YOURMODULE_EXPORT_instead; }; class
       
    41 
    39 
    42 #define HB_DECL_DEPRECATED Q_DECL_DEPRECATED
    40 #define HB_DECL_DEPRECATED Q_DECL_DEPRECATED
    43 #define HB_DECL_VARIABLE_DEPRECATED Q_DECL_VARIABLE_DEPRECATED
    41 #define HB_DECL_VARIABLE_DEPRECATED Q_DECL_VARIABLE_DEPRECATED
    44 #define HB_DECL_CONSTRUCTOR_DEPRECATED Q_DECL_CONSTRUCTOR_DEPRECATED
    42 #define HB_DECL_CONSTRUCTOR_DEPRECATED Q_DECL_CONSTRUCTOR_DEPRECATED
    45 
    43 
   134 #define LOC_TEST_START 0x91
   132 #define LOC_TEST_START 0x91
   135 #define LOC_TEST_END 0x92
   133 #define LOC_TEST_END 0x92
   136 
   134 
   137 #endif // HB_TEXT_MEASUREMENT_UTILITY
   135 #endif // HB_TEXT_MEASUREMENT_UTILITY
   138 
   136 
       
   137 #endif // HB_DOXYGEN
       
   138 
   139 HB_CORE_EXPORT uint hbVersion();
   139 HB_CORE_EXPORT uint hbVersion();
   140 HB_CORE_EXPORT const char *hbVersionString();
   140 HB_CORE_EXPORT const char *hbVersionString();
   141 HB_CORE_EXPORT QString hbTrId(const char *id, int n = -1);
   141 HB_CORE_EXPORT QString hbTrId(const char *id, int n = -1);
   142 
   142 
   143 #if defined(HB_NO_DEBUG_OUTPUT) || (!defined(HB_DEBUG_OUTPUT) && defined(Q_CC_RVCT) && defined(QT_NO_DEBUG))
   143 #if defined(HB_NO_DEBUG_OUTPUT) || (!defined(HB_DEBUG_OUTPUT) && defined(Q_CC_RVCT) && defined(QT_NO_DEBUG))