ZOOM Windows SDK  5.2.42037.1112
zoom_sdk_platform.h
1 #ifndef _ZOOM_SDK_PLATFORM_H_
2 #define _ZOOM_SDK_PLATFORM_H_
3 #if defined ( _WIN32 ) || defined ( __WIN32__ ) || defined ( WIN32 )
4 #ifdef ZOOMSDK_EXPORT
5 #define ZOOMSDK_MODULE_API __declspec(dllexport)
6 #else
7 #define ZOOMSDK_MODULE_API
8 #endif
9 #elif defined ( macintosh ) || defined ( __APPLE__ ) || defined ( __APPLE_CC__ ) || defined (ANDROID)
10 #ifdef ZOOMSDK_EXPORT
11 #define ZOOMSDK_MODULE_API __attribute__((visibility("default")))
12 #else
13 #define ZOOMSDK_MODULE_API
14 #endif
15 #else
16 #define ZOOMSDK_MODULE_API
17 #endif
18 
19 #define ZOOM_RAWDATA_NAMESPACE ZOOMSDKRAWDATA
20 #define BEGIN_ZOOM_RAWDATA_NAMESPACE namespace ZOOM_RAWDATA_NAMESPACE {
21 #define END_ZOOM_RAWDATA_NAMESPACE };
22 #define USING_ZOOM_RAWDATA_NAMESPACE using namespace ZOOM_RAWDATA_NAMESPACE;
23 
24 #if defined ( _WIN32 ) || defined ( __WIN32__ ) || defined ( WIN32 )
25 #include <tchar.h>
26 #define zTCHAR TCHAR
27 #else
28 #define zTCHAR char
29 #endif
30 
31 template<class T>
32 class IVector
33 {
34 public:
35  virtual ~IVector(){};
36  virtual int GetCount() = 0;
37  virtual T GetItem(int index) = 0;
38 };
39 #endif
Definition: zoom_sdk_platform.h:32