File: export_rules.h

package info (click to toggle)
dlt-viewer 2.23.0%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 7,432 kB
  • sloc: cpp: 27,832; ansic: 4,454; xml: 491; sh: 154; makefile: 75
file content (24 lines) | stat: -rw-r--r-- 547 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#include <QtGlobal>

#ifndef EXPORT_RULES_H
#define EXPORT_RULES_H

#if defined(QDLT_LIBRARY)
# define QDLT_EXPORT Q_DECL_EXPORT
# ifdef Q_OS_WIN
#  define QDLT_C_EXPORT __declspec(dllexport)
# else
#  define QDLT_C_EXPORT __attribute__((visibility("default")))
# endif
#else
# define QDLT_EXPORT Q_DECL_IMPORT
# ifdef Q_OS_WIN
#  define QDLT_C_EXPORT __declspec(dllimport)
# else
#  define QDLT_C_EXPORT
# endif
#endif

#define USECOLOR yes // use QColor class in qdlt, without the automarking of messages does not work

#endif // EXPORT_RULES_H