phoneuis/easydialing/edcontactor/inc/edcontactoroperation.h
branchRCL_3
changeset 9 8871b09be73b
equal deleted inserted replaced
4:c84cf270c54f 9: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:  Base class for communication method launching operations
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef EDCONTACTOROPERATION_H
       
    20 #define EDCONTACTOROPERATION_H
       
    21 
       
    22 // INCLUDES
       
    23 #include <e32std.h>
       
    24 #include <e32base.h>
       
    25 
       
    26 // CLASS DECLARATION
       
    27 
       
    28 /**
       
    29  * Base class for communication method launching operations
       
    30  */
       
    31 NONSHARABLE_CLASS(CEDContactorOperation) : public CBase
       
    32     {
       
    33 public:
       
    34     // Constructors and destructor
       
    35 
       
    36     /**
       
    37      * Destructor.
       
    38      */
       
    39     virtual ~CEDContactorOperation();
       
    40     
       
    41     /**
       
    42      * Executes the operation
       
    43      */
       
    44     virtual void ExecuteLD()=0;
       
    45 
       
    46 protected:
       
    47 
       
    48     /**
       
    49      * Constructor for performing 1st stage construction
       
    50      * 
       
    51      * @param aParam Communication parameter, for example phone number or e-mail address
       
    52      * @param aName Name of the contact to which the communication is started (optional)
       
    53      */
       
    54     CEDContactorOperation(const TDesC& aParam, const TDesC& aName = KNullDesC);
       
    55     
       
    56 protected:
       
    57 
       
    58     const TDesC& iParam;
       
    59     
       
    60     const TDesC& iName;
       
    61 
       
    62     };
       
    63 
       
    64 #endif // EDCONTACTOROPERATION_H
       
    65 // End of File