Zivid  1.0.1+3607.8a7510c4
Zivid API
APIExport.h
Go to the documentation of this file.
1 /*[
2  * This file is part of the Zivid 3D Camera API
3  *
4  * Copyright 2015-2018 (C) Zivid Labs. All rights reserved.
5  * Contact info@zividlabs.com or see http://www.zividlabs.com
6  *
7  * This code is proprietary and confidential.
8  * Unauthorized copying of this file, via any medium is strictly prohibited.
9 ]*/
10 
11 #pragma once
12 
15 
16 #ifdef _WIN32
17  #ifdef ZividCommon_EXPORTS
18  #define ZIVID_COMMON __declspec(dllexport)
19  #else
20  #define ZIVID_COMMON __declspec(dllimport)
21  #endif
22 #else
23  #define ZIVID_COMMON
24 #endif
25 
26 #ifdef _WIN32
27  #ifdef ZividCommonCompute_EXPORTS
28  #define ZIVID_COMMON_COMPUTE __declspec(dllexport)
29  #else
30  #define ZIVID_COMMON_COMPUTE __declspec(dllimport)
31  #endif
32 #else
33  #define ZIVID_COMMON_COMPUTE
34 #endif
35 
36 #ifdef _WIN32
37  #ifdef ZividAPI_EXPORTS
38  #define ZIVID_API __declspec(dllexport)
39  #else
40  #define ZIVID_API __declspec(dllimport)
41  #endif
42 #else
43  #define ZIVID_API
44 #endif
45 
46 #ifdef _WIN32
47  #ifdef ZividVis3D_EXPORTS
48  #define ZIVID_VIS3D __declspec(dllexport)
49  #else
50  #define ZIVID_VIS3D __declspec(dllimport)
51  #endif
52 #else
53  #define ZIVID_VIS3D
54 #endif
55 
56 #ifdef _WIN32
57  #ifdef ZividViewerLib_EXPORTS
58  #define ZIVID_VIEWER __declspec(dllexport)
59  #else
60  #define ZIVID_VIEWER __declspec(dllimport)
61  #endif
62 #else
63  #define ZIVID_VIEWER
64 #endif