Pleora Technologies Inc. eBUS SDK v7.0.1.7536 API



Loading...
Searching...
No Matches
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
39PV_BASE_API int PvGetVersionMajor();
40PV_BASE_API int PvGetVersionMinor();
41PV_BASE_API int PvGetVersionSub();
42PV_BASE_API int PvGetVersionBuild();
43
44#ifdef PT_VLD
45#include <vld.h>
46#endif
47
48#define PVUNREFPARAM( a ) ( static_cast<void>( a ) )
49#define PVUNREFFUNC( a ) ( static_cast<void>( a ) )
50
51#define PVDELETE(a) if ( a != NULL ) { delete a; a = NULL; }
52#define PVDELETEARRAY( a ) if ( a != NULL ) { delete []a; a = NULL; }
53
54#endif

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