exports.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) Microsoft Corporation. All rights reserved.
3  *
4  * Redistribution and use in source and binary forms, with or without
5  * modification, are permitted provided that the following conditions
6  * are met:
7  *
8  * * Redistributions of source code must retain the above copyright
9  * notice, this list of conditions and the following disclaimer.
10  * * Redistributions in binary form must reproduce the above
11  * copyright notice, this list of conditions and the following
12  * disclaimer in the documentation and/or other materials provided
13  * with the distribution.
14  * * Neither the name of the TU Darmstadt nor the names of its
15  * contributors may be used to endorse or promote products derived
16  * from this software without specific prior written permission.
17  *
18  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
21  * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
22  * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
23  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
24  * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
25  * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
26  * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
27  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
28  * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
29  * POSSIBILITY OF SUCH DAMAGE.
30  */
31 
32 #ifndef qt_gui_cpp__EXPORTS_H
33 #define qt_gui_cpp__EXPORTS_H
34 
35 /*
36  Windows import/export and gnu http://gcc.gnu.org/wiki/Visibility
37  macros.
38  */
39 #if defined(_MSC_VER)
40  #define QT_GUI_CPP_HELPER_IMPORT __declspec(dllimport)
41  #define QT_GUI_CPP_HELPER_EXPORT __declspec(dllexport)
42  #define QT_GUI_CPP_HELPER_LOCAL
43 #elif __GNUC__ >= 4
44  #define QT_GUI_CPP_HELPER_IMPORT __attribute__ ((visibility("default")))
45  #define QT_GUI_CPP_HELPER_EXPORT __attribute__ ((visibility("default")))
46  #define QT_GUI_CPP_HELPER_LOCAL __attribute__ ((visibility("hidden")))
47 #else
48  #define QT_GUI_CPP_HELPER_IMPORT
49  #define QT_GUI_CPP_HELPER_EXPORT
50  #define QT_GUI_CPP_HELPER_LOCAL
51 #endif
52 
53 #ifdef ROS_BUILD_SHARED_LIBS // ros is being built around shared libraries
54  #ifdef qt_gui_cpp_EXPORTS // we are building a shared lib/dll
55  #define QT_GUI_CPP_DECL QT_GUI_CPP_HELPER_EXPORT
56  #else // we are using shared lib/dll
57  #define QT_GUI_CPP_DECL QT_GUI_CPP_HELPER_IMPORT
58  #endif
59 #else // ros is being built around static libraries
60  #define QT_GUI_CPP_DECL
61 #endif
62 
63 #endif


qt_gui_cpp
Author(s): Dirk Thomas
autogenerated on Tue Apr 13 2021 03:03:14