Pleora Technologies Inc. eBUS SDK v5.1.10.4642 API



PvGUILib.h
1 // *****************************************************************************
2 //
3 // Copyright (c) 2007, Pleora Technologies Inc., All rights reserved.
4 //
5 // *****************************************************************************
6 
7 #ifndef __PVGUILIB_H__
8 #define __PVGUILIB_H__
9 
10 #if !defined( PV_GUI_DOTNET )
11  #if defined( PV_GUI_EXPORTS )
12 
13  #if !defined( PT_LIB_STATIC ) && defined( WIN32 )
14  #define PV_GUI_API __declspec( dllexport )
15  #else
16  #define PV_GUI_API
17  #endif
18 
19  #else
20 
21  #if !defined( PT_LIB_STATIC ) && defined( WIN32 )
22  #define PV_GUI_API __declspec( dllimport )
23  #else
24  #define PV_GUI_API
25  #endif
26 
27  #if defined ( PV_DEBUG )
28  #define _PT_DEBUG_
29  #define PT_DEBUG_ENABLED
30  #endif
31 
32  #if defined( PT_LIB_STATIC )
33  #define PT_SUFFIX_STATIC "_s"
34  #else
35  #define PT_SUFFIX_STATIC
36  #endif
37 
38  #if defined( _PT_DEBUG_ ) && defined( PT_DEBUG_ENABLED )
39  #define PT_SUFFIX_DEBUG "_Dbg"
40  #else
41  #define PT_SUFFIX_DEBUG
42  #endif
43 
44  #if defined( _PT_64_ ) || defined( _WIN64 )
45  #define PT_SUFFIX_64 "64"
46  #else
47  #define PT_SUFFIX_64
48  #endif
49 
50  #if ( _MSC_VER >= 1910 )
51  // VC 15.0 (aka 2017)
52  #define PT_SUFFIX_COMPILER "_VC15"
53  #elif( _MSC_VER >= 1900 )
54  // VC 14.0 (aka 2015)
55  #define PT_SUFFIX_COMPILER "_VC14"
56  #elif( _MSC_VER >= 1800 )
57  // VC 12.0 (aka 2013)
58  #define PT_SUFFIX_COMPILER "_VC12"
59  #elif( _MSC_VER >= 1700 )
60  // VC 11.0 (aka 2012)
61  #define PT_SUFFIX_COMPILER "_VC11"
62  #elif( _MSC_VER >= 1600 )
63  // VC 10.0 (aka 2010)
64  #define PT_SUFFIX_COMPILER "_VC10"
65  #else
66  #if defined( WIN32 )
67  #pragma message ( "Warning: Your compiler is not officially supported by the eBUS SDK. Currently supported compiler versions on Windows include Visual C++ 10 2010 to Visual C++ 15 2017." )
68  #endif
69  #define PT_SUFFIX_COMPILER
70  #endif
71 
72  #pragma comment( lib, "PvGUI" PT_SUFFIX_64 PT_SUFFIX_STATIC PT_SUFFIX_COMPILER PT_SUFFIX_DEBUG ".lib" )
73 
74  #undef PT_SUFFIX_STATIC
75  #undef PT_SUFFIX_DEBUG
76  #undef PT_SUFFIX_64
77 
78  #endif
79 
80  #include <PvTypes.h>
81  #include <PvString.h>
82  #include <PvResult.h>
83 
84  #if defined( WIN32 )
85 
86  #include <Windows.h>
87  typedef HWND PvWindowHandle;
88 
89  #endif
90 #endif
91 
92 #include <PvResult.h>
93 
94 #endif

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