00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00032 #ifndef __GIMP_PRINT_VERSION_H__
00033 #define __GIMP_PRINT_VERSION_H__
00034
00045
00046
00047
00048 #define GIMPPRINT_MAJOR_VERSION (5)
00049 #define GIMPPRINT_MINOR_VERSION (0)
00050 #define GIMPPRINT_MICRO_VERSION (0)
00051 #define GIMPPRINT_CURRENT_INTERFACE (5)
00052 #define GIMPPRINT_BINARY_AGE (0)
00053 #define GIMPPRINT_INTERFACE_AGE (0)
00054
00055 #define GIMPPRINT_CHECK_VERSION(major,minor,micro) \
00056 (GIMPPRINT_MAJOR_VERSION > (major) || \
00057 (GIMPPRINT_MAJOR_VERSION == (major) && \
00058 GIMPPRINT_MINOR_VERSION > (minor)) || \
00059 (GIMPPRINT_MAJOR_VERSION == (major) && \
00060 GIMPPRINT_MINOR_VERSION == (minor) && \
00061 GIMPPRINT_MICRO_VERSION >= (micro)))
00062
00064 extern const unsigned int gimpprint_major_version;
00066 extern const unsigned int gimpprint_minor_version;
00068 extern const unsigned int gimpprint_micro_version;
00070 extern const unsigned int gimpprint_current_interface;
00072 extern const unsigned int gimpprint_binary_age;
00074 extern const unsigned int gimpprint_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