version.h

Go to the documentation of this file.
00001 
00024 #ifndef _PURPLE_VERSION_H_
00025 #define _PURPLE_VERSION_H_
00026 
00028 #define PURPLE_MAJOR_VERSION (2)
00029 
00030 #define PURPLE_MINOR_VERSION (5)
00031 
00032 #define PURPLE_MICRO_VERSION (5)
00033 
00034 #define PURPLE_VERSION_CHECK(x,y,z) ((x) == PURPLE_MAJOR_VERSION && \
00035                                      ((y) < PURPLE_MINOR_VERSION || \
00036                                       ((y) == PURPLE_MINOR_VERSION && (z) <= PURPLE_MICRO_VERSION)))
00037 
00038 #ifdef __cplusplus
00039 extern "C" {
00040 #endif
00041 
00053 const char *purple_version_check(guint required_major, guint required_minor, guint required_micro);
00054 
00062 extern const guint purple_major_version;
00063 
00071 extern const guint purple_minor_version;
00072 
00081 extern const guint purple_micro_version;
00082 
00083 #ifdef __cplusplus
00084 }
00085 #endif
00086 
00087 #endif /* _PURPLE_VERSION_H_ */
00088