[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: koffice/libs/kotext
From: Thomas Zander <zander () kde ! org>
Date: 2010-09-10 20:57:36
Message-ID: 20100910210200.9278BAC88F () svn ! kde ! org
[Download RAW message or body]
SVN commit 1173915 by zander:
Make the KoTextDebug not be exported
The KoTextDebug can still be used by autotests, though.
M +1 -1 KoTextDebug.h
M +16 -0 kotext_export.h
--- trunk/koffice/libs/kotext/KoTextDebug.h #1173914:1173915
@@ -87,7 +87,7 @@
*
* @sa dumpDocument(), dumpFrame(), dumpBlock()
*/
-class KOTEXT_EXPORT KoTextDebug
+class KOTEXT_TEST_EXPORT KoTextDebug
{
public:
/**
--- trunk/koffice/libs/kotext/kotext_export.h #1173914:1173915
@@ -42,4 +42,20 @@
#endif
+/* Now the same for KOTEXT_TEST_EXPORT, if compiling with unit tests enabled */
+
+#ifdef COMPILING_TESTS
+#if defined _WIN32 || defined _WIN64
+# if defined(MAKE_KOTEXT_LIB)
+# define KOTEXT_TEST_EXPORT KDE_EXPORT
+# else
+# define KOTEXT_TEST_EXPORT KDE_IMPORT
#endif
+# else /* not windows */
+# define KOTEXT_TEST_EXPORT KDE_EXPORT
+# endif
+#else /* not compiling tests */
+# define KOTEXT_TEST_EXPORT
+#endif
+
+#endif
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic