phonebookui/Phonebook2/ccapplication/ccacontactorservice/src/ccacontactoremailoperation.cpp
changeset 0 e686773b3f54
child 21 9da50d567e3c
equal deleted inserted replaced
-1:000000000000 0:e686773b3f54
       
     1 /*
       
     2 * Copyright (c) 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:  Implementation of the email operation
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 // INCLUDE FILES
       
    20 #include "ccacontactorheaders.h"
       
    21 
       
    22 // ============================ MEMBER FUNCTIONS ===============================
       
    23 
       
    24 // -----------------------------------------------------------------------------
       
    25 // CCCAContactorEmailOperation::CCCAContactorEmailOperation()
       
    26 // -----------------------------------------------------------------------------
       
    27 //
       
    28 CCCAContactorEmailOperation::CCCAContactorEmailOperation(const TDesC& aParam, const TDesC& aName) : 
       
    29     CCCAContactorOperation(aParam, aName)
       
    30     {
       
    31     }
       
    32 
       
    33 // -----------------------------------------------------------------------------
       
    34 // CCCAContactorEmailOperation::~CCCAContactorEmailOperation()
       
    35 // -----------------------------------------------------------------------------
       
    36 //
       
    37 CCCAContactorEmailOperation::~CCCAContactorEmailOperation()
       
    38     {
       
    39     // No implementation required
       
    40     }
       
    41 
       
    42 // -----------------------------------------------------------------------------
       
    43 // CCCAContactorEmailOperation::NewLC()
       
    44 // -----------------------------------------------------------------------------
       
    45 //
       
    46 CCCAContactorEmailOperation* CCCAContactorEmailOperation::NewLC(const TDesC& aParam, const TDesC& aName)
       
    47     {
       
    48     CCCAContactorEmailOperation* self = new (ELeave)CCCAContactorEmailOperation(aParam, aName);
       
    49     CleanupStack::PushL(self);
       
    50     self->ConstructL();
       
    51     return self;
       
    52     }
       
    53 
       
    54 // -----------------------------------------------------------------------------
       
    55 // CCCAContactorEmailOperation::NewL()
       
    56 // -----------------------------------------------------------------------------
       
    57 //
       
    58 CCCAContactorEmailOperation* CCCAContactorEmailOperation::NewL(const TDesC& aParam, const TDesC& aName)
       
    59     {
       
    60     CCCAContactorEmailOperation* self=CCCAContactorEmailOperation::NewLC(aParam, aName);
       
    61     CleanupStack::Pop(); // self;
       
    62     return self;
       
    63     }
       
    64 
       
    65 // -----------------------------------------------------------------------------
       
    66 // CCCAContactorEmailOperation::ConstructL()
       
    67 // -----------------------------------------------------------------------------
       
    68 //
       
    69 void CCCAContactorEmailOperation::ConstructL()
       
    70     {
       
    71 
       
    72     }
       
    73 
       
    74 // -----------------------------------------------------------------------------
       
    75 // CCCAContactorEmailOperation::ExecuteLD()
       
    76 // -----------------------------------------------------------------------------
       
    77 //
       
    78 void CCCAContactorEmailOperation::ExecuteLD()
       
    79     {
       
    80     CleanupStack::PushL(this);
       
    81     CCCAMsgEditors::ExecuteL(KSenduiMtmSmtpUid, iParam,
       
    82                 iName);
       
    83     CleanupStack::PopAndDestroy(this);
       
    84     }
       
    85 // Enf of File