Changeset View
Changeset View
Standalone View
Standalone View
src/lib/plugin/kexportplugin.h
Show All 36 Lines | |||||
37 | * Take a look at the documentation of Q_EXPORT_PLUGIN2 for some details. | 37 | * Take a look at the documentation of Q_EXPORT_PLUGIN2 for some details. | ||
38 | */ | 38 | */ | ||
39 | 39 | | |||
40 | #if defined (Q_OS_WIN32) && defined(Q_CC_BOR) | 40 | #if defined (Q_OS_WIN32) && defined(Q_CC_BOR) | ||
41 | #define Q_STANDARD_CALL __stdcall | 41 | #define Q_STANDARD_CALL __stdcall | ||
42 | #else | 42 | #else | ||
43 | #define Q_STANDARD_CALL | 43 | #define Q_STANDARD_CALL | ||
44 | 44 | | |||
45 | #ifndef KCOREADDONS_NO_DEPRECATED | 45 | #if KCOREADDONS_ENABLE_DEPRECATED_SINCE(5, 0) | ||
46 | class KCOREADDONS_DEPRECATED_EXPORT K_EXPORT_PLUGIN_is_deprecated_see_KDE5PORTING | 46 | class KCOREADDONS_DEPRECATED_EXPORT K_EXPORT_PLUGIN_is_deprecated_see_KDE5PORTING | ||
47 | { | 47 | { | ||
48 | }; | 48 | }; | ||
49 | 49 | | |||
50 | #define K_EXPORT_PLUGIN(factory) \ | 50 | #define K_EXPORT_PLUGIN(factory) \ | ||
51 | K_EXPORT_PLUGIN_is_deprecated_see_KDE5PORTING dummy; | 51 | K_EXPORT_PLUGIN_is_deprecated_see_KDE5PORTING dummy; | ||
52 | #endif | 52 | #endif | ||
53 | 53 | | |||
54 | #endif | 54 | #endif | ||
55 | 55 | | |||
56 | #endif // KEXPORTPLUGIN_H | 56 | #endif // KEXPORTPLUGIN_H | ||
57 | 57 | |