messagingapp/msgui/conversationview/inc/msgconversationbaseview.h
changeset 56 f42d9a78f435
parent 37 518b245aa84c
child 62 fdbe8253b596
--- a/messagingapp/msgui/conversationview/inc/msgconversationbaseview.h	Wed Aug 18 00:46:12 2010 +0530
+++ b/messagingapp/msgui/conversationview/inc/msgconversationbaseview.h	Tue Aug 31 18:53:38 2010 +0530
@@ -18,10 +18,14 @@
 #ifndef MSG_CONVERSATION_VIEW_INTERFACE_H
 #define MSG_CONVERSATION_VIEW_INTERFACE_H
 
-#ifdef  CONVERSATIONVIEW_DLL
-#define CONVERSATION_VIEW_EXPORT Q_DECL_EXPORT
+#ifdef MSGUI_UNIT_TEST
+ #define CONVERSATION_VIEW_EXPORT
 #else
-#define CONVERSATION_VIEW_EXPORT Q_DECL_IMPORT
+ #ifdef  CONVERSATIONVIEW_DLL
+  #define CONVERSATION_VIEW_EXPORT Q_DECL_EXPORT
+ #else
+  #define CONVERSATION_VIEW_EXPORT Q_DECL_IMPORT
+ #endif
 #endif
 
 #include <xqsettingskey.h>