kopete/protocols/messenger/libpapillon
papillon_macros.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef PAPILLON_MACROS_H
00016 #define PAPILLON_MACROS_H
00017
00018 #include <QtGlobal>
00019
00034 #ifndef PAPILLON_EXPORT
00035 # if defined(Q_OS_WIN)
00036 # if defined(MAKE_PAPILLON_KOPETE_LIB)
00037 # define PAPILLON_EXPORT Q_DECL_EXPORT
00038 # else
00039 # define PAPILLON_EXPORT Q_DECL_IMPORT
00040 # endif
00041 # else
00042 # define PAPILLON_EXPORT Q_DECL_EXPORT
00043 # endif
00044 #endif
00045
00046 #define PAPILLON_VERSION_STRING "0.0.1"
00047 #define PAPILLON_VERSION_MAJOR 0
00048 #define PAPILLON_VERSION_MINOR 0
00049 #define PAPILLON_VERSION_RELEASE 1
00050 #define PAPILLON_MAKE_VERSION( a,b,c ) (((a) << 16) | ((b) << 8) | (c))
00051
00057 #define PAPILLON_VERSION \
00058 PAPILLON_MAKE_VERSION(PAPILLON_VERSION_MAJOR,PAPILLON_VERSION_MINOR,PAPILLON_VERSION_RELEASE)
00059
00065 #define PAPILLON_IS_VERSION(a,b,c) ( PAPILLON_VERSION >= PAPILLON_MAKE_VERSION(a,b,c) )
00066
00067 #endif