Pleora Technologies Inc. eBUS SDK v5.1.10.4642 API



PvBaseLib.h
1 // *****************************************************************************
2 //
3 // Copyright (c) 2007, Pleora Technologies Inc., All rights reserved.
4 //
5 // *****************************************************************************
6 
7 #ifndef __PVBASELIB_H__
8 #define __PVBASELIB_H__
9 
10 #if !defined( PV_BASE_NO_DECLSPEC )
11  #if defined( PV_BASE_EXPORTS )
12 
13  #if !defined( PT_LIB_STATIC ) && defined( WIN32 )
14  #define PV_BASE_API __declspec( dllexport )
15  #else
16  #define PV_BASE_API
17  #endif
18 
19  #else
20 
21  #if !defined( PT_LIB_STATIC ) && defined( WIN32 )
22  #define PV_BASE_API __declspec( dllimport )
23  #else
24  #define PV_BASE_API
25  #endif
26 
27  #define PT_LIB_NAME "PvBase"
28  #include <PvLinkLib.h>
29 
30  #endif
31 #endif
32 
33 #if !defined( PV_BASE_API )
34  #define PV_BASE_API
35 #endif
36 
37 #include <PvTypes.h>
38 
39 PV_BASE_API int PvGetVersionMajor();
40 PV_BASE_API int PvGetVersionMinor();
41 PV_BASE_API int PvGetVersionSub();
42 PV_BASE_API int PvGetVersionBuild();
43 
44 #ifdef PT_VLD
45 #include <vld.h>
46 #endif
47 
48 #define PVDELETE(a) if ( a != NULL ) { delete a; a = NULL; }
49 #define PVDELETEARRAY( a ) if ( a != NULL ) { delete []a; a = NULL; }
50 
51 #endif

Copyright (c) 2002-2018 Pleora Technologies Inc.
www.pleora.com