--- 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