00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef UNI_VERSION_H
00020 #define UNI_VERSION_H
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036 #define UNI_MAJOR_VERSION 1
00037
00038
00039
00040
00041
00042 #define UNI_MINOR_VERSION 0
00043
00044
00045
00046
00047
00048 #define UNI_PATCH_VERSION 0
00049
00050
00051
00052
00053
00054
00055 #define UNI_VERSION_AT_LEAST(major,minor,patch) \
00056 (((major) < UNI_MAJOR_VERSION) \
00057 || ((major) == UNI_MAJOR_VERSION && (minor) < UNI_MINOR_VERSION) \
00058 || ((major) == UNI_MAJOR_VERSION && (minor) == UNI_MINOR_VERSION && (patch) <= UNI_PATCH_VERSION))
00059
00060
00061
00062 #define UNI_STRINGIFY(n) UNI_STRINGIFY_HELPER(n)
00063
00064 #define UNI_STRINGIFY_HELPER(n) #n
00065
00066
00067 #define UNI_VERSION_STRING \
00068 UNI_STRINGIFY(UNI_MAJOR_VERSION) "." \
00069 UNI_STRINGIFY(UNI_MINOR_VERSION) "." \
00070 UNI_STRINGIFY(UNI_PATCH_VERSION)
00071
00072
00073
00074 #define UNI_VERSION_STRING_CSV UNI_MAJOR_VERSION ##, \
00075 ##UNI_MINOR_VERSION ##, \
00076 ##UNI_PATCH_VERSION
00077
00078
00079 #define UNI_COPYRIGHT "Copyright 2008-2010 Arsen Chaloyan"
00080
00081
00082 #define UNI_LICENSE \
00083 "Licensed under the Apache License, Version 2.0 (the ""License"");" \
00084 "you may not use this file except in compliance with the License." \
00085 "You may obtain a copy of the License at" \
00086 "" \
00087 " http://www.apache.org/licenses/LICENSE-2.0" \
00088 "" \
00089 "Unless required by applicable law or agreed to in writing, software" \
00090 "distributed under the License is distributed on an ""AS IS"" BASIS," \
00091 "WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied." \
00092 "See the License for the specific language governing permissions and" \
00093 "limitations under the License."
00094
00095
00096 #endif