phoneuis/easydialing/edcontactor/inc/edcontactorunieditoroperation.h
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:  Class implementing the unieditor operation (SMS/MMS)
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef EDCONTACTORUNIEDITOROPERATION_H
       
    20 #define EDCONTACTORUNIEDITOROPERATION_H
       
    21 
       
    22 // INCLUDES
       
    23 #include <e32std.h>
       
    24 #include <e32base.h>
       
    25 
       
    26 // CLASS DECLARATION
       
    27 class CEDContactorOperation;
       
    28 
       
    29 /**
       
    30  * Class implementing the unieditor operation (SMS/MMS)
       
    31  *
       
    32  *  @code
       
    33  *   ?good_class_usage_example(s)
       
    34  *  @endcode
       
    35  *
       
    36  *  @lib ccappcommlauncherplugin.dll
       
    37  *  @since S60 v5.0
       
    38  */
       
    39 NONSHARABLE_CLASS(CEDContactorUniEditorOperation) : public CEDContactorOperation
       
    40     {
       
    41 public:
       
    42     // Constructors and destructor
       
    43 
       
    44     /**
       
    45      * Destructor.
       
    46      */
       
    47     ~CEDContactorUniEditorOperation();
       
    48 
       
    49     /**
       
    50      * Two-phased constructor.
       
    51      * 
       
    52      * @param aParam The phone number to send the message to
       
    53      * @param aName The name of the contact, to be shown in the "to" field
       
    54      */
       
    55     static CEDContactorUniEditorOperation* NewL(const TDesC& aParam, const TDesC& aName);
       
    56 
       
    57     /**
       
    58      * Two-phased constructor.
       
    59      * 
       
    60      * @param aParam The phone number to send the message to
       
    61      * @param aName The name of the contact, to be shown in the "to" field
       
    62      */
       
    63     static CEDContactorUniEditorOperation* NewLC(const TDesC& aParam, const TDesC& aName);
       
    64     
       
    65     /**
       
    66      * Executes the operation (starts editor for sending the message)
       
    67      */
       
    68     virtual void ExecuteLD();
       
    69 
       
    70 private:
       
    71 
       
    72     /**
       
    73      * Constructor for performing 1st stage construction
       
    74      * 
       
    75      * @param aParam The phone number to send the message to
       
    76      * @param aName The name of the contact, to be shown in the "to" field
       
    77      */
       
    78     CEDContactorUniEditorOperation(const TDesC& aParam, const TDesC& aName);
       
    79 
       
    80     /**
       
    81      * EPOC default constructor for performing 2nd stage construction
       
    82      */
       
    83     void ConstructL();
       
    84 
       
    85     };
       
    86 
       
    87 #endif // EDCONTACTORUNIEDITOROPERATION_H
       
    88 // End of File