phoneuis/easydialing/edcontactor/inc/edcontactoroperation.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Thu, 19 Aug 2010 09:54:27 +0300
branchRCL_3
changeset 58 40a3f856b14d
parent 9 8871b09be73b
permissions -rw-r--r--
Revision: 201031 Kit: 201033

/*
* Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). 
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:  Base class for communication method launching operations
*
*/


#ifndef EDCONTACTOROPERATION_H
#define EDCONTACTOROPERATION_H

// INCLUDES
#include <e32std.h>
#include <e32base.h>

// CLASS DECLARATION

/**
 * Base class for communication method launching operations
 */
NONSHARABLE_CLASS(CEDContactorOperation) : public CBase
    {
public:
    // Constructors and destructor

    /**
     * Destructor.
     */
    virtual ~CEDContactorOperation();
    
    /**
     * Executes the operation
     */
    virtual void ExecuteLD()=0;

protected:

    /**
     * Constructor for performing 1st stage construction
     * 
     * @param aParam Communication parameter, for example phone number or e-mail address
     * @param aName Name of the contact to which the communication is started (optional)
     */
    CEDContactorOperation(const TDesC& aParam, const TDesC& aName = KNullDesC);
    
protected:

    const TDesC& iParam;
    
    const TDesC& iName;

    };

#endif // EDCONTACTOROPERATION_H
// End of File