Pleora Technologies Inc. eBUS SDK v6.2.8.5877 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 >= 1920 )
51  // VC 16.0 (aka 2019)
52  #define PT_SUFFIX_COMPILER "_VC16"
53  #elif( _MSC_VER >= 1910 )
54  // VC 15.0 (aka 2017)
55  #define PT_SUFFIX_COMPILER "_VC15"
56  #elif( _MSC_VER >= 1900 )
57  // VC 14.0 (aka 2015)
58  #define PT_SUFFIX_COMPILER "_VC14"
59  #elif( _MSC_VER >= 1800 )
60  // VC 12.0 (aka 2013)
61  #define PT_SUFFIX_COMPILER "_VC12"
62  #elif( _MSC_VER >= 1700 )
63  // VC 11.0 (aka 2012)
64  #define PT_SUFFIX_COMPILER "_VC11"
65  #elif( _MSC_VER >= 1600 )
66  // VC 10.0 (aka 2010)
67  #define PT_SUFFIX_COMPILER "_VC10"
68  #else
69  #if defined( WIN32 )
70  #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." )
71  #endif
72  #define PT_SUFFIX_COMPILER
73  #endif
74 
75  #if defined( WIN32 )
76  #pragma comment( lib, "PvGUI" PT_SUFFIX_64 PT_SUFFIX_STATIC PT_SUFFIX_COMPILER PT_SUFFIX_DEBUG ".lib" )
77  #endif
78 
79  #undef PT_SUFFIX_STATIC
80  #undef PT_SUFFIX_DEBUG
81  #undef PT_SUFFIX_64
82 
83  #endif
84 
85  #include <PvTypes.h>
86  #include <PvString.h>
87  #include <PvResult.h>
88 
89  #if defined( WIN32 )
90 
91  #include <Windows.h>
92  typedef HWND PvWindowHandle;
93 
94  #endif
95 #endif
96 
97 #include <PvResult.h>
98 
99 #endif

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