KDECore
kdeversion.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef _KDE_VERSION_H_
00021 #define _KDE_VERSION_H_
00022
00023 #include "kdelibs_export.h"
00024
00025 #define KDE_VERSION_STRING "3.5.10"
00026 #define KDE_VERSION_MAJOR 3
00027 #define KDE_VERSION_MINOR 5
00028 #define KDE_VERSION_RELEASE 10
00029 #define KDE_MAKE_VERSION( a,b,c ) (((a) << 16) | ((b) << 8) | (c))
00030
00031 #define KDE_VERSION \
00032 KDE_MAKE_VERSION(KDE_VERSION_MAJOR,KDE_VERSION_MINOR,KDE_VERSION_RELEASE)
00033
00034 #define KDE_IS_VERSION(a,b,c) ( KDE_VERSION >= KDE_MAKE_VERSION(a,b,c) )
00035
00039 namespace KDE
00040 {
00049 KDECORE_EXPORT unsigned int version();
00056 KDECORE_EXPORT unsigned int versionMajor();
00063 KDECORE_EXPORT unsigned int versionMinor();
00070 KDECORE_EXPORT unsigned int versionRelease();
00076 KDECORE_EXPORT const char *versionString();
00077 }
00078
00079 #endif // _KDE_VERSION_H_