OniPlatformAndroid-Arm.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 #ifndef ONIPLATFORMANDROID_ARM_H
22 #define ONIPLATFORMANDROID_ARM_H
23 
24 // Start with Linux-x86, and override what's different
25 #include "../Linux-x86/OniPlatformLinux-x86.h"
26 
27 //---------------------------------------------------------------------------
28 // Platform Basic Definition
29 //---------------------------------------------------------------------------
30 #undef ONI_PLATFORM
31 #undef ONI_PLATFORM_STRING
32 
33 #define ONI_PLATFORM ONI_PLATFORM_ANDROID_ARM
34 #define ONI_PLATFORM_STRING "Android-Arm"
35 
36 #ifdef HAVE_ANDROID_OS
37  #define ONI_PLATFORM_ANDROID_OS
38 
39  #undef ONI_PLATFORM_STRING
40  #define ONI_PLATFORM_STRING "AndroidOS-Arm"
41 #endif
42 
43 #endif // ONIPLATFORMANDROID_ARM_H


astra_camera
Author(s): Tim Liu
autogenerated on Wed Dec 16 2020 03:54:34