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

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