diff -r a15d9966050f -r 6f657153cbc5 messagingapp/msgui/msguiutils/inc/mmsconformancecheck.h --- a/messagingapp/msgui/msguiutils/inc/mmsconformancecheck.h Fri Sep 17 08:28:39 2010 +0300 +++ b/messagingapp/msgui/msguiutils/inc/mmsconformancecheck.h Mon Oct 04 00:13:15 2010 +0300 @@ -23,10 +23,14 @@ #include #include +#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