OniVersion.h
Go to the documentation of this file.
1 /*****************************************************************************
2 * *
3 * OpenNI 2.x Alpha *
4 * Copyright (C) 2012 PrimeSense Ltd. *
5 * *
6 * This file is part of OpenNI. *
7 * *
8 * Licensed under the Apache License, Version 2.0 (the "License"); *
9 * you may not use this file except in compliance with the License. *
10 * You may obtain a copy of the License at *
11 * *
12 * http://www.apache.org/licenses/LICENSE-2.0 *
13 * *
14 * Unless required by applicable law or agreed to in writing, software *
15 * distributed under the License is distributed on an "AS IS" BASIS, *
16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *
17 * See the License for the specific language governing permissions and *
18 * limitations under the License. *
19 * *
20 *****************************************************************************/
21 #include "OniPlatform.h"
22 
23 #define ONI_VERSION_MAJOR 2
24 #define ONI_VERSION_MINOR 2
25 #define ONI_VERSION_MAINTENANCE 0
26 #define ONI_VERSION_BUILD 33
27 
29 #define ONI_BRIEF_VERSION_STRING \
30  ONI_STRINGIFY(ONI_VERSION_MAJOR) "." \
31  ONI_STRINGIFY(ONI_VERSION_MINOR) "." \
32  ONI_STRINGIFY(ONI_VERSION_MAINTENANCE) \
33  " (Build " ONI_STRINGIFY(ONI_VERSION_BUILD) ")"
34 
36 #define ONI_VERSION (ONI_VERSION_MAJOR*100000000 + ONI_VERSION_MINOR*1000000 + ONI_VERSION_MAINTENANCE*10000 + ONI_VERSION_BUILD)
37 #define ONI_CREATE_API_VERSION(major, minor) ((major)*1000 + (minor))
38 #define ONI_API_VERSION ONI_CREATE_API_VERSION(ONI_VERSION_MAJOR, ONI_VERSION_MINOR)
39 
41 #define ONI_VERSION_STRING \
42  ONI_BRIEF_VERSION_STRING "-" \
43  ONI_PLATFORM_STRING " (" ONI_TIMESTAMP ")"


libfreenect
Author(s): Hector Martin, Josh Blake, Kyle Machulis, OpenKinect community
autogenerated on Thu Jun 6 2019 19:25:38