Main Page | Modules | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

gutenprint-version.h

Go to the documentation of this file.
00001 /*              -*- Mode: C -*-
00002  *  $Id: gutenprint-version.h.in,v 1.1 2004/09/17 18:38:01 rleigh Exp $
00003  *
00004  *   Version of Gimp-print
00005  *
00006  *   Copyright 2002 Robert Krawitz (rlk@alum.mit.edu)
00007  *
00008  *   This program is free software; you can redistribute it and/or modify it
00009  *   under the terms of the GNU General Public License as published by the Free
00010  *   Software Foundation; either version 2 of the License, or (at your option)
00011  *   any later version.
00012  *
00013  *   This program is distributed in the hope that it will be useful, but
00014  *   WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
00015  *   or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
00016  *   for more details.
00017  *
00018  *   You should have received a copy of the GNU General Public License
00019  *   along with this program; if not, write to the Free Software
00020  *   Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
00021  *
00022  * Revision History:
00023  *
00024  *   See ChangeLog
00025  */
00026 
00032 #ifndef GUTENPRINT_VERSION_H
00033 #define GUTENPRINT_VERSION_H
00034 
00045 /*
00046  * Autogen-time versioning.
00047  */
00048 #define STP_MAJOR_VERSION       (5)
00049 #define STP_MINOR_VERSION       (0)
00050 #define STP_MICRO_VERSION       (0)
00051 #define STP_CURRENT_INTERFACE   (8)
00052 #define STP_BINARY_AGE          (0)
00053 #define STP_INTERFACE_AGE       (0)
00054 
00055 #define STP_CHECK_VERSION(major,minor,micro)    \
00056   (STP_MAJOR_VERSION >  (major) ||              \
00057   (STP_MAJOR_VERSION == (major) &&              \
00058    STP_MINOR_VERSION > (minor)) ||              \
00059   (STP_MAJOR_VERSION == (major) &&              \
00060    STP_MINOR_VERSION == (minor) &&              \
00061    STP_MICRO_VERSION >= (micro)))
00062 
00064 extern const unsigned int stp_major_version;
00066 extern const unsigned int stp_minor_version;
00068 extern const unsigned int stp_micro_version;
00070 extern const unsigned int stp_current_interface;
00072 extern const unsigned int stp_binary_age;
00074 extern const unsigned int stp_interface_age;
00075 
00084 extern const char *stp_check_version(unsigned int required_major,
00085                                      unsigned int required_minor,
00086                                      unsigned int required_micro);
00087 
00090 #endif /* GUTENPRINT_VERSION_H */

Generated on Thu Feb 10 19:29:29 2005 for libgutenprint API Reference by  doxygen 1.4.1