messagingapp/msgui/conversationview/inc/msgconversationview.h
changeset 56 f42d9a78f435
parent 51 3507212d340e
child 62 fdbe8253b596
--- a/messagingapp/msgui/conversationview/inc/msgconversationview.h	Wed Aug 18 00:46:12 2010 +0530
+++ b/messagingapp/msgui/conversationview/inc/msgconversationview.h	Tue Aug 31 18:53:38 2010 +0530
@@ -33,6 +33,8 @@
 class HbStaticVkbHost;
 class QGraphicsLinearLayout;
 class HbAction;
+class MsgAudioFetcherDialog;
+
 //Defines
 #define INVALID_MSG_ID -1
 
@@ -337,6 +339,12 @@
      */
     bool isSharedMessage(qint32 messageId);
     
+    /** 
+     * This slot is called after sound clip is 
+     * selected from audio fetcher dialog    
+     */
+    void onAudioSelected(QString& filePath);
+    
 signals:
     /**
      * Signal emitted to inform close the conversation view.
@@ -449,6 +457,12 @@
     HbStaticVkbHost* mVkbHost;
     
     /**
+     * Instance of Audio Fetcher Dialog
+     * Need to show when attachment audio selected
+     */
+    MsgAudioFetcherDialog* mDialog;
+    
+    /**
      * variable holding the visible model index
      */
     QModelIndex mVisibleIndex;
@@ -463,6 +477,13 @@
      * Flag is set when 
      */
     bool mViewReady;
+
+#ifdef MSGUI_UNIT_TEST
+    /**
+     * Unit Testing
+     */
+    friend class TestMsgConversationView;
+#endif
 };
 
 #endif // MSG_CONVERSATION_VIEW_H