C++ Web Framework  3.0
cppwebframework_global.h
1 /*
2  Copyright 2017 Herik Lima de Castro and Marcelo Medeiros Eler
3  Distributed under MIT license, or public domain if desired and
4  recognized in your jurisdiction.
5  See file LICENSE for detail.
6 */
7 
8 #ifndef CPPWEBFRAMEWORK_GLOBAL_H
9 #define CPPWEBFRAMEWORK_GLOBAL_H
10 
11 #include <QtCore/qglobal.h>
12 
13 #if defined(CPPWEBFRAMEWORK_LIBRARY)
14 # define CPPWEBFRAMEWORKSHARED_EXPORT Q_DECL_EXPORT
15 #else
16 # define CPPWEBFRAMEWORKSHARED_EXPORT Q_DECL_IMPORT
17 #endif
18 
19 #define CWF_BEGIN_NAMESPACE namespace CWF {
20 #define CWF_END_NAMESPACE }
21 
22 #endif // CPPWEBFRAMEWORK_GLOBAL_H