messagingapp/msgui/msguiutils/inc/mmsconformancecheck.h
changeset 67 fc91263aee62
parent 37 518b245aa84c
child 73 ecf6a73a9186
--- a/messagingapp/msgui/msguiutils/inc/mmsconformancecheck.h	Tue Sep 14 22:54:56 2010 +0530
+++ b/messagingapp/msgui/msguiutils/inc/mmsconformancecheck.h	Fri Sep 17 20:01:45 2010 +0530
@@ -23,10 +23,14 @@
 #include <MsgMediaInfo.h>
 #include <qstring.h>
 
+#ifdef MSGUI_UNIT_TEST
+ #define MSGUI_UTILS_DLL_EXPORT
+#else
 #ifdef BUILD_MSGUI_UTILS_DLL
-#define MSGUI_UTILS_DLL_EXPORT Q_DECL_EXPORT
+ #define MSGUI_UTILS_DLL_EXPORT Q_DECL_EXPORT
 #else
-#define MSGUI_UTILS_DLL_EXPORT Q_DECL_IMPORT
+ #define MSGUI_UTILS_DLL_EXPORT Q_DECL_IMPORT
+#endif
 #endif
 
 class CMmsConformance;
@@ -110,6 +114,12 @@
      * Conformance status
      */
     TUint32 iConfStatus;
-
+    
+#ifdef MSGUI_UNIT_TEST
+    /**
+     * Unit Testing
+     */
+    friend class TestMmsConformanceCheck;
+#endif    
 };
 #endif //MMS_CONFORMANCE_CHECK_OPERATION_H