QuakeGod
2022-01-16 326d3e312c74726814c39c9d112faab03c4a167c
提交 | 用户 | age
4b03ae 1
Q 2 #ifndef _MV_INCLUDE_H_
3 #define _MV_INCLUDE_H_
4
5 #include "CameraParams.h"
6
7 /**
8  *  @brief  动态库导入导出定义
9  */
10 #ifndef MV_CAMCTRL_API
11
12     #ifdef WIN32
13         #if defined(MV_CAMCTRL_EXPORTS)
14             #define MV_CAMCTRL_API __declspec(dllexport)
15         #else
16             #define MV_CAMCTRL_API __declspec(dllimport)
17         #endif
18     #else
19         #ifndef __stdcall
20             #define __stdcall
21         #endif
22
23         #ifndef MV_CAMCTRL_API
24             #define  MV_CAMCTRL_API
25         #endif
26     #endif
27
28 #endif
29
30
31 #ifdef WIN32
32 #include <objbase.h> // interface
33 #else
34 #define interface struct
35 #endif
36
37 namespace MvCamCtrl
38 {
39
40     typedef  void       ITransportLayer;
41     typedef  void*      TlProxy;
42     class               MvCamera;
43     class               CTlRefs;
44     class               CDevRefs;
45
46
47 }
48
49 #endif /* _MV_INCLUDE_H_ */