phoneuis/easydialing/edcontactor/src/edcontactorcalloperation.cpp
branchRCL_3
changeset 3 8871b09be73b
equal deleted inserted replaced
2:c84cf270c54f 3:8871b09be73b
       
     1 /*
       
     2 * Copyright (c) 2010 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:  Implementation of the call operation
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 // INCLUDE FILES
       
    20 #include "edcontactorheaders.h"
       
    21 
       
    22 
       
    23 // ============================ MEMBER FUNCTIONS ===============================
       
    24 
       
    25 // -----------------------------------------------------------------------------
       
    26 // CEDContactorCallOperation::CEDContactorCallOperation()
       
    27 // -----------------------------------------------------------------------------
       
    28 //
       
    29 CEDContactorCallOperation::CEDContactorCallOperation(const TDesC& aParam, 
       
    30         TBool aForcedCallType) : CEDContactorOperation(aParam), 
       
    31         iForcedCallType( aForcedCallType )
       
    32     {
       
    33     }
       
    34 
       
    35 // -----------------------------------------------------------------------------
       
    36 // CEDContactorCallOperation::~CEDContactorCallOperation()
       
    37 // -----------------------------------------------------------------------------
       
    38 //
       
    39 CEDContactorCallOperation::~CEDContactorCallOperation()
       
    40     {
       
    41     }
       
    42 
       
    43 // -----------------------------------------------------------------------------
       
    44 // CEDContactorCallOperation::NewLC()
       
    45 // -----------------------------------------------------------------------------
       
    46 //
       
    47 CEDContactorCallOperation* CEDContactorCallOperation::NewLC(const TDesC& aParam,
       
    48         TBool aForcedCallType )
       
    49     {
       
    50     CEDContactorCallOperation* self = 
       
    51         new (ELeave)CEDContactorCallOperation(aParam, aForcedCallType);
       
    52     CleanupStack::PushL(self);
       
    53     self->ConstructL();
       
    54     return self;
       
    55     }
       
    56 
       
    57 // -----------------------------------------------------------------------------
       
    58 // CEDContactorCallOperation::NewL()
       
    59 // -----------------------------------------------------------------------------
       
    60 //
       
    61 CEDContactorCallOperation* CEDContactorCallOperation::NewL(const TDesC& aParam,
       
    62         TBool aForcedCallType)
       
    63     {
       
    64     CEDContactorCallOperation* self =
       
    65         CEDContactorCallOperation::NewLC(aParam,aForcedCallType);
       
    66     CleanupStack::Pop(); // self;
       
    67     return self;
       
    68     }
       
    69 
       
    70 // -----------------------------------------------------------------------------
       
    71 // CEDContactorCallOperation::ConstructL()
       
    72 // -----------------------------------------------------------------------------
       
    73 //
       
    74 void CEDContactorCallOperation::ConstructL()
       
    75     {
       
    76 
       
    77     }
       
    78 
       
    79 // -----------------------------------------------------------------------------
       
    80 // CEDContactorCallOperation::ExecuteLD()
       
    81 // -----------------------------------------------------------------------------
       
    82 //
       
    83 void CEDContactorCallOperation::ExecuteLD()
       
    84     {
       
    85     CleanupStack::PushL(this);
       
    86     CEDPhoneCall::ExecuteL(iParam, CEDPhoneCall::ECCACallTypeVoice, iForcedCallType );
       
    87     CleanupStack::PopAndDestroy(this);
       
    88     }
       
    89 // End of File