ipsservices/ipssosplugin/inc/ipsplgcreateforwardmessageoperation.h
branchRCL_3
changeset 63 d189ee25cf9d
equal deleted inserted replaced
61:dcf0eedfc1a3 63:d189ee25cf9d
       
     1 /*
       
     2 * Copyright (c) 2007-2008 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  New forward message creation operation
       
    15 *
       
    16 */
       
    17 
       
    18 // <qmail>
       
    19 #ifndef IPSPLGCREATEFORWARDMESSAGEOPERATION_H
       
    20 #define IPSPLGCREATEFORWARDMESSAGEOPERATION_H
       
    21 
       
    22 #include "ipsplgcreatemessageoperation.h"
       
    23 
       
    24 /**
       
    25 * class 
       
    26 *
       
    27 * Email operation to create a new forward message asynchronously.
       
    28 */
       
    29 NONSHARABLE_CLASS ( CIpsPlgCreateForwardMessageOperation ) : public CIpsPlgCreateMessageOperation
       
    30     {
       
    31 public:
       
    32     //<qmail> comments added
       
    33 	//<qmail> para to refe
       
    34     /**
       
    35     * Two-phased constructor
       
    36     * 
       
    37     * @param aSmtpService               contains SMTP message services
       
    38     * @param aMsvSession                client/server session to MsvServer
       
    39     * @param aObserverRequestStatus     operations observer status
       
    40     * @param aPartList                  specifies one or more parts of a message
       
    41     * @param aMailBoxId                 id's for mailbox and plugin
       
    42     * @param aOriginalMessageId         id of message to be forward
       
    43     * @param aOperationObserver         observes the progress of this operation
       
    44     * @param aRequestId                 identifier for this instance of operation, 
       
    45     *                                   assigned by the client
       
    46     * @return CIpsPlgCreateForwardMessageOperation* self pointer                                  
       
    47     */
       
    48     static CIpsPlgCreateForwardMessageOperation* NewL(
       
    49         CIpsPlgSmtpService& aSmtpService,
       
    50         CMsvSession& aMsvSession,
       
    51         TRequestStatus& aObserverRequestStatus,
       
    52         TMsvPartList aPartList,
       
    53         TFSMailMsgId aMailBoxId,
       
    54         TMsvId aOriginalMessageId,
       
    55         MFSMailRequestObserver& aOperationObserver,
       
    56         TInt aRequestId );
       
    57         //</qmail>
       
    58     /**
       
    59     * Destructor.
       
    60     */
       
    61     virtual ~CIpsPlgCreateForwardMessageOperation();
       
    62     
       
    63 private:
       
    64 
       
    65     /**
       
    66     * Constructor.
       
    67     */
       
    68 		//<qmail> para to refe
       
    69     CIpsPlgCreateForwardMessageOperation(
       
    70         CIpsPlgSmtpService& aSmtpService,
       
    71         CMsvSession& aMsvSession,
       
    72         TRequestStatus& aObserverRequestStatus,
       
    73         TMsvPartList aPartList,
       
    74         TFSMailMsgId aMailBoxId,
       
    75         TMsvId aOriginalMessageId, 
       
    76         MFSMailRequestObserver& aOperationObserver,
       
    77         TInt aRequestId );
       
    78 	//</qmail>
       
    79     /**
       
    80     * From CActive
       
    81     */
       
    82     void RunL();
       
    83     
       
    84     void StartMessageCreationL();
       
    85 
       
    86 private:
       
    87     TMsvId iOriginalMessageId;
       
    88     };
       
    89 
       
    90 
       
    91 #endif//IPSPLGCREATEFORWARDMESSAGEOPERATION_H
       
    92 
       
    93 // </qmail>