00001
00002
00003
00004
00005
00006
00007 #ifndef SAGA_PACKAGE_DATA_ADVERT_VERSION_HPP
00008 #define SAGA_PACKAGE_DATA_ADVERT_VERSION_HPP
00009
00010 #if defined(_MSC_VER) && (_MSC_VER >= 1200)
00011 #pragma once
00012 #endif
00013
00014 #include <saga/saga/util.hpp>
00015 #include <saga/saga/version.hpp>
00016 #include <saga/saga/packages/advert/config.hpp>
00017
00019
00020
00021
00022
00023
00024
00025 #define SAGA_VERSION_PACKAGE_ADVERT_FULL SAGA_VERSION_FULL
00026
00027 #define SAGA_VERSION_PACKAGE_ADVERT_MAJOR SAGA_VERSION_MAJOR
00028 #define SAGA_VERSION_PACKAGE_ADVERT_MINOR SAGA_VERSION_MINOR
00029 #define SAGA_VERSION_PACKAGE_ADVERT_SUBMINOR SAGA_VERSION_SUBMINOR
00030
00031 #define SAGA_VERSION_PACKAGE_ADVERT_DATE SAGA_VERSION_DATE
00032
00033 #define SAGA_VERSION_PACKAGE_ADVERT_SUBMINORMASK SAGA_VERSION_SUBMINORMASK
00034
00036
00037 #define SAGA_VERSION_PACKAGE_ADVERT_API 0x000100
00038
00040
00041
00042
00043
00044
00045
00046
00047 #define SAGA_VERSION_PACKAGE_ADVERT_ISCOMPATIBLE_EX(version) \
00048 (((version) & ~SAGA_VERSION_PACKAGE_ADVERT_SUBMINORMASK) >= \
00049 (SAGA_VERSION_PACKAGE_ADVERT_FULL & \
00050 ~SAGA_VERSION_PACKAGE_ADVERT_SUBMINORMASK)) \
00051
00052
00053 #define SAGA_VERSION_PACKAGE_ADVERT_ISCOMPATIBLE() \
00054 SAGA_VERSION_PACKAGE_ADVERT_ISCOMPATIBLE_EX( \
00055 saga::get_advert_package_version()) \
00056
00057
00059 namespace saga {
00060
00061
00062 SAGA_ADVERT_PACKAGE_EXPORT
00063 unsigned long get_advert_package_version (void);
00064
00065
00066 SAGA_ADVERT_PACKAGE_EXPORT
00067 unsigned long get_advert_package_api_version (void);
00068
00069 }
00071
00072 #endif // SAGA_PACKAGE_DATA_ADVERT_VERSION_HPP
00073
00074