diff -r e7aa27f58ae1 -r 578830873419 ipsservices/ipssosplugin/inc/ipsplgcreateforwardmessageoperation.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ipsservices/ipssosplugin/inc/ipsplgcreateforwardmessageoperation.h Fri Apr 16 14:51:52 2010 +0300 @@ -0,0 +1,80 @@ +/* +* Copyright (c) 2007-2008 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: New forward message creation operation +* +*/ + +// +#ifndef IPSPLGCREATEFORWARDMESSAGEOPERATION_H +#define IPSPLGCREATEFORWARDMESSAGEOPERATION_H + +#include "ipsplgcreatemessageoperation.h" + +/** +* class +* +* Email operation to create a new forward message asynchronously. +*/ +NONSHARABLE_CLASS ( CIpsPlgCreateForwardMessageOperation ) : public CIpsPlgCreateMessageOperation + { +public: + + /** + * Constructor. + */ + static CIpsPlgCreateForwardMessageOperation* NewL( + CIpsPlgSmtpService* aSmtpService, + CMsvSession& aMsvSession, + TRequestStatus& aObserverRequestStatus, + TMsvPartList aPartList, + TMsvId aMailBoxId, + TMsvId aOriginalMessageId, + MFSMailRequestObserver& aOperationObserver, + const TInt aRequestId ); + + /** + * Destructor. + */ + virtual ~CIpsPlgCreateForwardMessageOperation(); + +private: + + /** + * Constructor. + */ + CIpsPlgCreateForwardMessageOperation( + CIpsPlgSmtpService* aSmtpService, + CMsvSession& aMsvSession, + TRequestStatus& aObserverRequestStatus, + TMsvPartList aPartList, + TMsvId aMailBoxId, + TMsvId aOriginalMessageId, + MFSMailRequestObserver& aOperationObserver, + const TInt aRequestId ); + + /** + * From CActive + */ + void RunL(); + + void StartMessageCreationL(); + +private: + TMsvId iOriginalMessageId; + }; + + +#endif//IPSPLGCREATEFORWARDMESSAGEOPERATION_H + +//