emailuis/emailui/inc/FreestyleEmailUiSendAttachmentsListControl.h
branchRCL_3
changeset 13 8592a65ad3fb
parent 0 8466d47a6819
child 14 b13141f05c3d
--- a/emailuis/emailui/inc/FreestyleEmailUiSendAttachmentsListControl.h	Wed Mar 31 21:08:33 2010 +0300
+++ b/emailuis/emailui/inc/FreestyleEmailUiSendAttachmentsListControl.h	Wed Apr 14 15:42:15 2010 +0300
@@ -24,6 +24,7 @@
 
 // LOCAL INCLUDES
 #include "FreestyleEmailUiAttachmentsListModel.h"
+#include "FreestyleEmailUiUtilities.h"
 #include "fsccontactactionmenudefines.h"
 
 // FORWARD DECLARATIONS
@@ -43,7 +44,7 @@
 */
 // <cmail>
 class CFreestyleEmailUiSendAttachmentsListControl 
-	: public CAlfControl, public MFsActionMenuPositionGiver, public MMGFetchVerifier
+	: public CAlfControl, public MFsActionMenuPositionGiver, public MMGFetchVerifier, public MFSEmailUiGenericTimerCallback
     {  
 // </cmail>
 public:
@@ -87,6 +88,11 @@
     */
     TBool OfferEventL( const TAlfEvent& aEvent );  
 
+    TBool IsAttachmentAddingLocked() const;
+    
+	// Fire timer callback
+	void TimerEventL( CFSEmailUiGenericTimer* aTriggeredTimer );
+    
     /**
     * AppendAttachmentToListL
     * Adds new attachment to list and email body
@@ -235,6 +241,12 @@
 
     // Wait note for long running operations. Owns itself.
     CAknWaitDialog*                             iWaitNote;
+    
+    // adding attachment locked
+    TBool iAttachmentAddingLocked;
+    
+    // Timer to postpone the Info Dialog 
+    CFSEmailUiGenericTimer* iDialogTimer;
     };
 
 #endif /*FREESTYLEMAILUI_SENDATTACHMENTSLISTCONTROL_H_*/