cmmanager/cmmgr/Framework/Inc/ccmdexec.h
changeset 0 5a93021fdf25
equal deleted inserted replaced
-1:000000000000 0:5a93021fdf25
       
     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:  Signaling class for destination edit.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef C_CCMDEXEC_H
       
    20 #define C_CCMDEXEC_H
       
    21 
       
    22 class MCmdExec;
       
    23 
       
    24 NONSHARABLE_CLASS(CCmdExec) : public CActive
       
    25     {
       
    26 
       
    27 public:
       
    28 
       
    29     /**
       
    30     * Destructor.
       
    31     */
       
    32     virtual ~CCmdExec();
       
    33     
       
    34     void Execute();
       
    35     
       
    36 // from base class CActive
       
    37 public:
       
    38     virtual void RunL();
       
    39 
       
    40     virtual TInt RunError( TInt /*aError*/ );
       
    41 
       
    42     virtual void DoCancel();
       
    43 
       
    44     CCmdExec(MCmdExec& aOwner);
       
    45 
       
    46 protected: // data
       
    47 
       
    48     /**
       
    49      * Owner
       
    50      * Not own.
       
    51      */
       
    52     MCmdExec& iOwner;
       
    53     };
       
    54 
       
    55 #endif