kpilot

pilotLinkVersion.h

Go to the documentation of this file.
00001 #ifndef _KPILOT_PILOTLINKVERSION_H
00002 #define _KPILOT_PILOTLINKVERSION_H
00003 /* KPilot
00004 **
00005 ** Copyright (C) 2005 by Adriaan de Groot
00006 **
00007 */
00008 
00009 /*
00010 ** This program is free software; you can redistribute it and/or modify
00011 ** it under the terms of the GNU Lesser General Public License as published by
00012 ** the Free Software Foundation; either version 2.1 of the License, or
00013 ** (at your option) any later version.
00014 **
00015 ** This program is distributed in the hope that it will be useful,
00016 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
00017 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
00018 ** GNU Lesser General Public License for more details.
00019 **
00020 ** You should have received a copy of the GNU Lesser General Public License
00021 ** along with this program in a file called COPYING; if not, write to
00022 ** the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
00023 ** MA 02110-1301, USA.
00024 */
00025 
00026 /*
00027 ** Bug reports and questions can be sent to kde-pim@kde.org
00028 */
00029 
00030 
00031 #include <pi-version.h>
00032 
00039 #ifndef PILOT_LINK_VERSION
00040 #error "You need at least pilot-link version 0.12.0"
00041 #endif
00042 
00043 
00044 #define PILOT_LINK_NUMBER   ((10000*PILOT_LINK_VERSION) + \
00045                 (100*PILOT_LINK_MAJOR)+PILOT_LINK_MINOR)
00046 #define PILOT_LINK_0_10_0   (1000)
00047 #define PILOT_LINK_0_11_0   (1100)
00048 #define PILOT_LINK_0_11_8   (1108)
00049 #define PILOT_LINK_0_12_0   (1200)
00050 #define PILOT_LINK_0_12_1   (1201)
00051 
00052 #if PILOT_LINK_NUMBER < PILOT_LINK_0_12_0
00053 #error "You need at least pilot-link version 0.12.0 for KPilot"
00054 #endif
00055 
00056 #define PI_SIZE_T size_t
00057 
00058 
00059 #endif
00060