diff -r d8ac8e5e4721 -r fc91263aee62 messagingapp/msgui/unifiedviewer/inc/univiewerattachmentwidget.h --- a/messagingapp/msgui/unifiedviewer/inc/univiewerattachmentwidget.h Tue Sep 14 22:54:56 2010 +0530 +++ b/messagingapp/msgui/unifiedviewer/inc/univiewerattachmentwidget.h Fri Sep 17 20:01:45 2010 +0530 @@ -150,6 +150,13 @@ * Mime type of media. */ QString mMimeType; + +#ifdef MSGUI_UNIT_TEST + /** + * Unit Testing + */ + friend class TestUniViewerAttachmentWidget; +#endif }; #endif // UNI_VIEWER_ATTACHMENT_WIDGET_H