MythTV  master
mythbaseexp.h
Go to the documentation of this file.
1 #ifndef MYTHBASEEXP_H_
2 #define MYTHBASEEXP_H_
3 
4 // This header is called from some non-QT projects,
5 // and if non C++ then Q_DECL_XXX never defined
6 
7 #if defined( QT_CORE_LIB ) && defined( __cplusplus )
8 # include <QtCore/qglobal.h>
9 # ifdef MBASE_API
10 # define MBASE_PUBLIC Q_DECL_EXPORT
11 # else
12 # define MBASE_PUBLIC Q_DECL_IMPORT
13 # endif
14 #else
15 # define MBASE_PUBLIC
16 #endif
17 
18 #endif // MYTHBASEEXP_H_