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