Main Page | Class List | File List | Class Members | File Members

protocol_ver.h

00001 /* 00002 * $Id: protocol_ver.h.in,v 1.2 2003/10/16 18:50:55 jasta Exp $ 00003 * 00004 * Copyright (C) 2001-2003 giFT project (gift.sourceforge.net) 00005 * 00006 * This program is free software; you can redistribute it and/or modify it 00007 * under the terms of the GNU General Public License as published by the 00008 * Free Software Foundation; either version 2, or (at your option) any 00009 * later version. 00010 * 00011 * This program is distributed in the hope that it will be useful, but 00012 * WITHOUT ANY WARRANTY; without even the implied warranty of 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00014 * General Public License for more details. 00015 */ 00016 00017 #ifndef __PROTOCOL_VER_H 00018 #define __PROTOCOL_VER_H 00019 00020 /*****************************************************************************/ 00021 00022 /* plugin developers will want to use this to describe the version they are 00023 * known to be compatible with */ 00024 #define LIBGIFTPROTO_MKVERSION(major,minor,micro) \ 00025 ((((major) & 0xff) << 24) | \ 00026 (((minor) & 0xff) << 16) | \ 00027 (((micro) & 0xff) << 8)) 00028 00029 /* autoconf will fill this in for us... */ 00030 #ifndef _MSC_VER 00031 #define LIBGIFTPROTO_VERSION \ 00032 LIBGIFTPROTO_MKVERSION(0, \ 00033 11, \ 00034 6) 00035 #else /* _MSC_VER */ 00036 #include "giftconfig_win32.h" 00037 #define LIBGIFTPROTO_VERSION \ 00038 LIBGIFTPROTO_MKVERSION(LIBGIFTPROTO_MAJOR, \ 00039 LIBGIFTPROTO_MINOR, \ 00040 LIBGIFTPROTO_MICRO) 00041 #endif /* !_MSC_VER */ 00042 00043 /*****************************************************************************/ 00044 00045 #endif /* __PROTOCOL_VER_H */

Generated on Sun Aug 22 08:08:53 2004 by doxygen 1.3.7