1 // Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
16 #ifndef __CIMATTACHMENTWAITER_H__
17 #define __CIMATTACHMENTWAITER_H__
21 class CImEmailMessage;
24 An Waiter object used to wait for an attachment to be added to an email message.
29 class CImAttachmentWaiter : public CActive
32 IMPORT_C static CImAttachmentWaiter* NewL();
33 IMPORT_C ~CImAttachmentWaiter();
34 IMPORT_C void StartWaitingL(TRequestStatus& aStatus, CImEmailMessage* aMailMessage, TBool aDeleteMessage = ETrue);
37 CImAttachmentWaiter();
45 TRequestStatus* iReportStatus;
46 CImEmailMessage* iMailMessage;
50 #endif // __CIMATTACHMENTWAITER_H__