forked from COVESA/dlt-viewer
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'COVESA:master' into master
- Loading branch information
Showing
24 changed files
with
179 additions
and
311 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#ifndef EXPORT_C_RULES_H | ||
#define EXPORT_C_RULES_H | ||
|
||
/// \file export_c_rules.h | ||
/// \brief Export rules for C code to control symbols visibility | ||
|
||
#if defined(QDLT_LIBRARY) | ||
# if defined(_WIN32) || defined(_WIN64) | ||
# define QDLT_C_EXPORT __declspec(dllexport) | ||
# else | ||
# define QDLT_C_EXPORT __attribute__((visibility("default"))) | ||
# endif | ||
#else | ||
# if defined(_WIN32) || defined(_WIN64) | ||
# define QDLT_C_EXPORT __declspec(dllimport) | ||
# else | ||
# define QDLT_C_EXPORT | ||
# endif | ||
#endif | ||
|
||
#endif // EXPORT_C_RULES_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,17 @@ | ||
#ifndef EXPORT_RULES_H | ||
#define EXPORT_RULES_H | ||
|
||
/// \file export_rules.h | ||
/// \brief Export rules for C++ code to control symbols visibility | ||
/// \details This file is used to control the visibility of symbols in the shared library. See | ||
/// https://doc.qt.io/qt-5/sharedlibrary.html#using-symbols-from-shared-libraries for details | ||
|
||
#include <QtCore/QtGlobal> | ||
|
||
#if defined(QDLT_LIBRARY) | ||
# define QDLT_EXPORT Q_DECL_EXPORT | ||
# if defined(_WIN32) || defined(_WIN64) | ||
# define QDLT_C_EXPORT __declspec(dllexport) | ||
# else | ||
# define QDLT_C_EXPORT __attribute__((visibility("default"))) | ||
# endif | ||
#else | ||
# define QDLT_EXPORT Q_DECL_IMPORT | ||
# if defined(_WIN32) || defined(_WIN64) | ||
# define QDLT_C_EXPORT __declspec(dllimport) | ||
# else | ||
# define QDLT_C_EXPORT | ||
# endif | ||
#endif | ||
|
||
#endif // EXPORT_RULES_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.