use the version string in the about data. svn path=/trunk/KDE/kdegraphics/okular/; revision=767247remotes/origin/KDE/4.1
parent
fd1e5863bb
commit
df3094a252
3 changed files with 28 additions and 1 deletions
@ -0,0 +1,24 @@ |
||||
/***************************************************************************
|
||||
* Copyright (C) 2008 by Pino Toscano <pino@kde.org> * |
||||
* * |
||||
* This program is free software; you can redistribute it and/or modify * |
||||
* it under the terms of the GNU General Public License as published by * |
||||
* the Free Software Foundation; either version 2 of the License, or * |
||||
* (at your option) any later version. * |
||||
***************************************************************************/ |
||||
|
||||
#ifndef _OKULAR_VERSION_H_ |
||||
#define _OKULAR_VERSION_H_ |
||||
|
||||
#define OKULAR_VERSION_STRING "0.6.80" |
||||
#define OKULAR_VERSION_MAJOR 0 |
||||
#define OKULAR_VERSION_MINOR 6 |
||||
#define OKULAR_VERSION_RELEASE 80 |
||||
#define OKULAR_MAKE_VERSION( a,b,c ) (((a) << 16) | ((b) << 8) | (c)) |
||||
|
||||
#define OKULAR_VERSION \ |
||||
OKULAR_MAKE_VERSION(OKULAR_VERSION_MAJOR,OKULAR_VERSION_MINOR,OKULAR_VERSION_RELEASE) |
||||
|
||||
#define OKULAR_IS_VERSION(a,b,c) ( OKULAR_VERSION >= OKULAR_MAKE_VERSION(a,b,c) ) |
||||
|
||||
#endif |
||||
Loading…
Reference in new issue