ccservices/cmsservices/cmscontactor/inc/cmsemailoperation.h
branchRCL_3
changeset 20 f4a778e096c2
parent 0 e686773b3f54
equal deleted inserted replaced
19:5b6f26637ad3 20:f4a778e096c2
       
     1 /*
       
     2 * Copyright (c) 2007 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:  Email operation. 
       
    15  *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef C_CMSEMAILOPERATION_H
       
    20 #define C_CMSEMAILOPERATION_H
       
    21 
       
    22 #include <e32base.h>
       
    23 
       
    24 #include "cmsoperationhandlerbase.h"
       
    25 #include "cmscontactfield.h"
       
    26 
       
    27 /**
       
    28  *  CCMSEmailOperation
       
    29  *  Unieditor operation. 
       
    30  *
       
    31  *  @code
       
    32  *   
       
    33  *  @endcode
       
    34  *
       
    35  *  @since S60 v5.0
       
    36  */
       
    37 class CCMSEmailOperation : public CCMSOperationHandlerBase
       
    38     {
       
    39 
       
    40 public:
       
    41 
       
    42     /**
       
    43      * Two-phased constructor.
       
    44      */
       
    45     static CCMSEmailOperation* NewL(
       
    46         const RArray<CCmsContactFieldItem::TCmsContactField>& aContactFieldTypesFilter,
       
    47         const RPointerArray<CCmsContactField>& aItemArray,
       
    48         const TCmsContactor::TCMSCommLaunchFlag aCommLaunchFlag );
       
    49 
       
    50 public:
       
    51 
       
    52     // from base class CCMSOperationHandlerBase
       
    53 
       
    54     /**
       
    55      * Operation for starting executing the operation.
       
    56      *
       
    57      * @since S60 v5.0
       
    58      */
       
    59     void ExecuteLD();
       
    60 
       
    61 private:
       
    62 
       
    63     // from base class CCMSOperationHandlerBase
       
    64 
       
    65     /**
       
    66      * Initiaties operation.
       
    67      *
       
    68      * @since S60 v5.0
       
    69      * @param aContactFieldItem: Selected field item to complete operation.
       
    70      */
       
    71     void StartOperationL( const CCmsContactFieldItem& aContactFieldItem);
       
    72 
       
    73 private:
       
    74 
       
    75     void ConstructL();
       
    76     CCMSEmailOperation(
       
    77         const RArray<CCmsContactFieldItem::TCmsContactField>& aContactFieldTypesFilter,
       
    78         const RPointerArray<CCmsContactField>& aItemArray,
       
    79         const TCmsContactor::TCMSCommLaunchFlag aCommLaunchFlag );
       
    80 
       
    81     };
       
    82 
       
    83 #endif // C_CMSEMAILOPERATION_H
       
    84 
       
    85 // End of File