emailuis/emailui/inc/FreestyleEmailUiSendAttachmentsListControl.h
branchRCL_3
changeset 17 8592a65ad3fb
parent 0 8466d47a6819
child 19 b13141f05c3d
equal deleted inserted replaced
16:4ce476e64c59 17:8592a65ad3fb
    22 
    22 
    23 #include <MsgAttachmentUtils.h>
    23 #include <MsgAttachmentUtils.h>
    24 
    24 
    25 // LOCAL INCLUDES
    25 // LOCAL INCLUDES
    26 #include "FreestyleEmailUiAttachmentsListModel.h"
    26 #include "FreestyleEmailUiAttachmentsListModel.h"
       
    27 #include "FreestyleEmailUiUtilities.h"
    27 #include "fsccontactactionmenudefines.h"
    28 #include "fsccontactactionmenudefines.h"
    28 
    29 
    29 // FORWARD DECLARATIONS
    30 // FORWARD DECLARATIONS
    30 class CFSEmailUiSendAttachmentsListVisualiser;
    31 class CFSEmailUiSendAttachmentsListVisualiser;
    31 class CFSEmailUiSendAttachmentsListModel;
    32 class CFSEmailUiSendAttachmentsListModel;
    41 * Interacts with the user through the UI and request message processing
    42 * Interacts with the user through the UI and request message processing
    42 * from the handler class
    43 * from the handler class
    43 */
    44 */
    44 // <cmail>
    45 // <cmail>
    45 class CFreestyleEmailUiSendAttachmentsListControl 
    46 class CFreestyleEmailUiSendAttachmentsListControl 
    46 	: public CAlfControl, public MFsActionMenuPositionGiver, public MMGFetchVerifier
    47 	: public CAlfControl, public MFsActionMenuPositionGiver, public MMGFetchVerifier, public MFSEmailUiGenericTimerCallback
    47     {  
    48     {  
    48 // </cmail>
    49 // </cmail>
    49 public:
    50 public:
    50 	
    51 	
    51     /**
    52     /**
    85     * OfferEventL
    86     * OfferEventL
    86     * From ALF
    87     * From ALF
    87     */
    88     */
    88     TBool OfferEventL( const TAlfEvent& aEvent );  
    89     TBool OfferEventL( const TAlfEvent& aEvent );  
    89 
    90 
       
    91     TBool IsAttachmentAddingLocked() const;
       
    92     
       
    93 	// Fire timer callback
       
    94 	void TimerEventL( CFSEmailUiGenericTimer* aTriggeredTimer );
       
    95     
    90     /**
    96     /**
    91     * AppendAttachmentToListL
    97     * AppendAttachmentToListL
    92     * Adds new attachment to list and email body
    98     * Adds new attachment to list and email body
    93     * @param aType Type of attachment to add
    99     * @param aType Type of attachment to add
    94     * 
   100     * 
   233     // Contact action service. Owned.
   239     // Contact action service. Owned.
   234     CFscContactActionService* 					iService;
   240     CFscContactActionService* 					iService;
   235 
   241 
   236     // Wait note for long running operations. Owns itself.
   242     // Wait note for long running operations. Owns itself.
   237     CAknWaitDialog*                             iWaitNote;
   243     CAknWaitDialog*                             iWaitNote;
       
   244     
       
   245     // adding attachment locked
       
   246     TBool iAttachmentAddingLocked;
       
   247     
       
   248     // Timer to postpone the Info Dialog 
       
   249     CFSEmailUiGenericTimer* iDialogTimer;
   238     };
   250     };
   239 
   251 
   240 #endif /*FREESTYLEMAILUI_SENDATTACHMENTSLISTCONTROL_H_*/
   252 #endif /*FREESTYLEMAILUI_SENDATTACHMENTSLISTCONTROL_H_*/