From 091238ed92d3bff08ce0cd46f0165206527694b3 Mon Sep 17 00:00:00 2001 From: J-P Nurmi Date: Mon, 2 Feb 2009 15:39:49 +0000 Subject: [PATCH] Removed exports from template types. --- src/core/qxtboundcfunction.h | 48 ++++++++++++++++++------------------ src/core/qxtmetatype.h | 4 +-- 2 files changed, 26 insertions(+), 26 deletions(-) diff --git a/src/core/qxtboundcfunction.h b/src/core/qxtboundcfunction.h index 7271c19f..f36ce69d 100644 --- a/src/core/qxtboundcfunction.h +++ b/src/core/qxtboundcfunction.h @@ -38,7 +38,7 @@ template < typename RETURN, typename T1 = void, typename T2 = void, typename T3 = void, typename T4 = void, typename T5 = void, typename T6 = void, typename T7 = void, typename T8 = void, typename T9 = void, typename T10 = void > -class QXT_CORE_EXPORT qxt_cfunction_return : public QxtGenericFunctionPointer +class /*QXT_CORE_EXPORT*/ qxt_cfunction_return : public QxtGenericFunctionPointer { public: typedef RETURN(*FUNCTION)(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10); @@ -53,7 +53,7 @@ private: }; template -class QXT_CORE_EXPORT qxt_cfunction_return : public QxtGenericFunctionPointer +class /*QXT_CORE_EXPORT*/ qxt_cfunction_return : public QxtGenericFunctionPointer { public: typedef RETURN(*FUNCTION)(); @@ -68,7 +68,7 @@ private: }; template -class QXT_CORE_EXPORT qxt_cfunction_return : public QxtGenericFunctionPointer +class /*QXT_CORE_EXPORT*/ qxt_cfunction_return : public QxtGenericFunctionPointer { public: typedef RETURN(*FUNCTION)(T1); @@ -83,7 +83,7 @@ private: }; template -class QXT_CORE_EXPORT qxt_cfunction_return : public QxtGenericFunctionPointer +class /*QXT_CORE_EXPORT*/ qxt_cfunction_return : public QxtGenericFunctionPointer { public: typedef RETURN(*FUNCTION)(T1, T2); @@ -98,7 +98,7 @@ private: }; template -class QXT_CORE_EXPORT qxt_cfunction_return : public QxtGenericFunctionPointer +class /*QXT_CORE_EXPORT*/ qxt_cfunction_return : public QxtGenericFunctionPointer { public: typedef RETURN(*FUNCTION)(T1, T2, T3); @@ -113,7 +113,7 @@ private: }; template -class QXT_CORE_EXPORT qxt_cfunction_return : public QxtGenericFunctionPointer +class /*QXT_CORE_EXPORT*/ qxt_cfunction_return : public QxtGenericFunctionPointer { public: typedef RETURN(*FUNCTION)(T1, T2, T3, T4); @@ -128,7 +128,7 @@ private: }; template -class QXT_CORE_EXPORT qxt_cfunction_return : public QxtGenericFunctionPointer +class /*QXT_CORE_EXPORT*/ qxt_cfunction_return : public QxtGenericFunctionPointer { public: typedef RETURN(*FUNCTION)(T1, T2, T3, T4, T5); @@ -143,7 +143,7 @@ private: }; template -class QXT_CORE_EXPORT qxt_cfunction_return : public QxtGenericFunctionPointer +class /*QXT_CORE_EXPORT*/ qxt_cfunction_return : public QxtGenericFunctionPointer { public: typedef RETURN(*FUNCTION)(T1, T2, T3, T4, T5, T6); @@ -158,7 +158,7 @@ private: }; template -class QXT_CORE_EXPORT qxt_cfunction_return : public QxtGenericFunctionPointer +class /*QXT_CORE_EXPORT*/ qxt_cfunction_return : public QxtGenericFunctionPointer { public: typedef RETURN(*FUNCTION)(T1, T2, T3, T4, T5, T6, T7); @@ -171,7 +171,7 @@ public: }; template -class QXT_CORE_EXPORT qxt_cfunction_return : public QxtGenericFunctionPointer +class /*QXT_CORE_EXPORT*/ qxt_cfunction_return : public QxtGenericFunctionPointer { public: typedef RETURN(*FUNCTION)(T1, T2, T3, T4, T5, T6, T7, T8); @@ -186,7 +186,7 @@ private: }; template -class QXT_CORE_EXPORT qxt_cfunction_return : public QxtGenericFunctionPointer +class /*QXT_CORE_EXPORT*/ qxt_cfunction_return : public QxtGenericFunctionPointer { public: typedef RETURN(*FUNCTION)(T1, T2, T3, T4, T5, T6, T7, T8, T9); @@ -202,7 +202,7 @@ private: template < typename T1 = void, typename T2 = void, typename T3 = void, typename T4 = void, typename T5 = void, typename T6 = void, typename T7 = void, typename T8 = void, typename T9 = void, typename T10 = void > -class QXT_CORE_EXPORT qxt_cfunction : public QxtGenericFunctionPointer +class /*QXT_CORE_EXPORT*/ qxt_cfunction : public QxtGenericFunctionPointer { public: typedef void(*FUNCTION)(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10); @@ -217,7 +217,7 @@ private: }; template <> -class QXT_CORE_EXPORT qxt_cfunction : public QxtGenericFunctionPointer +class /*QXT_CORE_EXPORT*/ qxt_cfunction : public QxtGenericFunctionPointer { public: typedef void(*FUNCTION)(); @@ -232,7 +232,7 @@ private: }; template -class QXT_CORE_EXPORT qxt_cfunction : public QxtGenericFunctionPointer +class /*QXT_CORE_EXPORT*/ qxt_cfunction : public QxtGenericFunctionPointer { public: typedef void(*FUNCTION)(T1); @@ -247,7 +247,7 @@ private: }; template -class QXT_CORE_EXPORT qxt_cfunction : public QxtGenericFunctionPointer +class /*QXT_CORE_EXPORT*/ qxt_cfunction : public QxtGenericFunctionPointer { public: typedef void(*FUNCTION)(T1, T2); @@ -262,7 +262,7 @@ private: }; template -class QXT_CORE_EXPORT qxt_cfunction : public QxtGenericFunctionPointer +class /*QXT_CORE_EXPORT*/ qxt_cfunction : public QxtGenericFunctionPointer { public: typedef void(*FUNCTION)(T1, T2, T3); @@ -277,7 +277,7 @@ private: }; template -class QXT_CORE_EXPORT qxt_cfunction : public QxtGenericFunctionPointer +class /*QXT_CORE_EXPORT*/ qxt_cfunction : public QxtGenericFunctionPointer { public: typedef void(*FUNCTION)(T1, T2, T3, T4); @@ -292,7 +292,7 @@ private: }; template -class QXT_CORE_EXPORT qxt_cfunction : public QxtGenericFunctionPointer +class /*QXT_CORE_EXPORT*/ qxt_cfunction : public QxtGenericFunctionPointer { public: typedef void(*FUNCTION)(T1, T2, T3, T4, T5); @@ -307,7 +307,7 @@ private: }; template -class QXT_CORE_EXPORT qxt_cfunction : public QxtGenericFunctionPointer +class /*QXT_CORE_EXPORT*/ qxt_cfunction : public QxtGenericFunctionPointer { public: typedef void(*FUNCTION)(T1, T2, T3, T4, T5, T6); @@ -322,7 +322,7 @@ private: }; template -class QXT_CORE_EXPORT qxt_cfunction : public QxtGenericFunctionPointer +class /*QXT_CORE_EXPORT*/ qxt_cfunction : public QxtGenericFunctionPointer { public: typedef void(*FUNCTION)(T1, T2, T3, T4, T5, T6, T7); @@ -337,7 +337,7 @@ private: }; template -class QXT_CORE_EXPORT qxt_cfunction : public QxtGenericFunctionPointer +class /*QXT_CORE_EXPORT*/ qxt_cfunction : public QxtGenericFunctionPointer { public: typedef void(*FUNCTION)(T1, T2, T3, T4, T5, T6, T7, T8); @@ -352,7 +352,7 @@ private: }; template -class QXT_CORE_EXPORT qxt_cfunction : public QxtGenericFunctionPointer +class /*QXT_CORE_EXPORT*/ qxt_cfunction : public QxtGenericFunctionPointer { public: typedef void(*FUNCTION)(T1, T2, T3, T4, T5, T6, T7, T8, T9); @@ -368,7 +368,7 @@ private: template < typename RETURN = void, typename T1 = void, typename T2 = void, typename T3 = void, typename T4 = void, typename T5 = void, typename T6 = void, typename T7 = void, typename T8 = void, typename T9 = void, typename T10 = void > -class QXT_CORE_EXPORT QxtBoundCFunction : public QxtBoundFunctionBase +class /*QXT_CORE_EXPORT*/ QxtBoundCFunction : public QxtBoundFunctionBase { public: QxtGenericFunctionPointer funcPtr; @@ -390,7 +390,7 @@ public: }; template -class QXT_CORE_EXPORT QxtBoundCFunction : public QxtBoundFunctionBase +class /*QXT_CORE_EXPORT*/ QxtBoundCFunction : public QxtBoundFunctionBase { public: QxtGenericFunctionPointer funcPtr; diff --git a/src/core/qxtmetatype.h b/src/core/qxtmetatype.h index 6d39c539..da170bcf 100644 --- a/src/core/qxtmetatype.h +++ b/src/core/qxtmetatype.h @@ -32,7 +32,7 @@ #include template -class QXT_CORE_EXPORT QxtMetaType +class /*QXT_CORE_EXPORT*/ QxtMetaType { public: static inline T* construct(const T* copy = 0) @@ -69,7 +69,7 @@ public: }; template <> -class QXT_CORE_EXPORT QxtMetaType +class /*QXT_CORE_EXPORT*/ QxtMetaType { public: static inline void* construct(const void* copy = 0)