Changeset View
Changeset View
Standalone View
Standalone View
network/network/molletnetwork_export.h
Show All 17 Lines | 1 | /* | |||
---|---|---|---|---|---|
18 | 18 | | |||
19 | You should have received a copy of the GNU Lesser General Public | 19 | You should have received a copy of the GNU Lesser General Public | ||
20 | License along with this library. If not, see <http://www.gnu.org/licenses/>. | 20 | License along with this library. If not, see <http://www.gnu.org/licenses/>. | ||
21 | */ | 21 | */ | ||
22 | 22 | | |||
23 | #ifndef MOLLETNETWORK_EXPORT_H | 23 | #ifndef MOLLETNETWORK_EXPORT_H | ||
24 | #define MOLLETNETWORK_EXPORT_H | 24 | #define MOLLETNETWORK_EXPORT_H | ||
25 | 25 | | |||
26 | // KDE | | |||
27 | #include <kdemacros.h> | | |||
28 | | ||||
29 | | ||||
30 | #ifndef MOLLETNETWORK_EXPORT | 26 | #ifndef MOLLETNETWORK_EXPORT | ||
31 | // building the library? | 27 | // building the library? | ||
32 | # if defined(MAKE_MOLLETNETWORK_LIB) | 28 | # if defined(MAKE_MOLLETNETWORK_LIB) | ||
33 | # define MOLLETNETWORK_EXPORT Q_DECL_EXPORT | 29 | # define MOLLETNETWORK_EXPORT Q_DECL_EXPORT | ||
34 | // using the library | 30 | // using the library | ||
35 | # else | 31 | # else | ||
36 | # define MOLLETNETWORK_EXPORT KDE_IMPORT | 32 | # define MOLLETNETWORK_EXPORT Q_DECL_IMPORT | ||
37 | # endif | 33 | # endif | ||
38 | #endif | 34 | #endif | ||
39 | 35 | | |||
40 | # ifndef MOLLETNETWORK_EXPORT_DEPRECATED | 36 | # ifndef MOLLETNETWORK_EXPORT_DEPRECATED | ||
41 | # define MOLLETNETWORK_EXPORT_DEPRECATED KDE_DEPRECATED MOLLETNETWORK_EXPORT | 37 | # define MOLLETNETWORK_EXPORT_DEPRECATED QT_DEPRECATED MOLLETNETWORK_EXPORT | ||
42 | # endif | 38 | # endif | ||
43 | 39 | | |||
44 | #endif | 40 | #endif |