compile
[kdegraphics.git] / okular / core / version.h
blob3d7777006653985ecaa0dea4ab99c13eaf096dd7
1 /***************************************************************************
2 * Copyright (C) 2008 by Pino Toscano <pino@kde.org> *
3 * *
4 * This program is free software; you can redistribute it and/or modify *
5 * it under the terms of the GNU General Public License as published by *
6 * the Free Software Foundation; either version 2 of the License, or *
7 * (at your option) any later version. *
8 ***************************************************************************/
10 #ifndef _OKULAR_VERSION_H_
11 #define _OKULAR_VERSION_H_
13 #define OKULAR_VERSION_STRING "0.7.80"
14 #define OKULAR_VERSION_MAJOR 0
15 #define OKULAR_VERSION_MINOR 7
16 #define OKULAR_VERSION_RELEASE 80
17 #define OKULAR_MAKE_VERSION( a,b,c ) (((a) << 16) | ((b) << 8) | (c))
19 #define OKULAR_VERSION \
20 OKULAR_MAKE_VERSION(OKULAR_VERSION_MAJOR,OKULAR_VERSION_MINOR,OKULAR_VERSION_RELEASE)
22 #define OKULAR_IS_VERSION(a,b,c) ( OKULAR_VERSION >= OKULAR_MAKE_VERSION(a,b,c) )
24 #endif