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 1
00043
00044
00045
00046
00047
00048 #define UNI_PATCH_VERSION 0
00049
00050
00051
00052 #define UNI_VERSION_AT_LEAST(major,minor,patch) \
00053 (((major) < UNI_MAJOR_VERSION) \
00054 || ((major) == UNI_MAJOR_VERSION && (minor) < UNI_MINOR_VERSION) \
00055 || ((major) == UNI_MAJOR_VERSION && (minor) == UNI_MINOR_VERSION && (patch) <= UNI_PATCH_VERSION))
00056
00057
00058 #define UNI_STRINGIFY(n) UNI_STRINGIFY_HELPER(n)
00059
00060 #define UNI_STRINGIFY_HELPER(n) #n
00061
00062
00063 #define UNI_VERSION_STRING \
00064 UNI_STRINGIFY(UNI_MAJOR_VERSION) "." \
00065 UNI_STRINGIFY(UNI_MINOR_VERSION) "." \
00066 UNI_STRINGIFY(UNI_PATCH_VERSION)
00067
00068
00069
00070 #define UNI_VERSION_STRING_CSV UNI_MAJOR_VERSION ##, \
00071 ##UNI_MINOR_VERSION ##, \
00072 ##UNI_PATCH_VERSION
00073
00074
00075 #define UNI_COPYRIGHT "Copyright 2008-2013 Arsen Chaloyan"
00076
00077
00078 #define UNI_LICENSE \
00079 " * Licensed under the Apache License, Version 2.0 (the ""License"");\n" \
00080 " * you may not use this file except in compliance with the License.\n" \
00081 " * You may obtain a copy of the License at\n" \
00082 " * \n" \
00083 " * http://www.apache.org/licenses/LICENSE-2.0 \n" \
00084 " * \n" \
00085 " * Unless required by applicable law or agreed to in writing, software\n" \
00086 " * distributed under the License is distributed on an ""AS IS"" BASIS,\n" \
00087 " * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n" \
00088 " * See the License for the specific language governing permissions and\n" \
00089 " * limitations under the License.\n"
00090
00091 #endif