phonebookui/Phonebook2/CommandsExtension/inc/CPbk2RemoveImageCmd.h
changeset 0 e686773b3f54
equal deleted inserted replaced
-1:000000000000 0:e686773b3f54
       
     1 /*
       
     2 * Copyright (c) 2005-2007 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: 
       
    15 *     Remove image command event handling class.
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 #ifndef CPBK2REMOVEIMAGECMD_H
       
    21 #define CPBK2REMOVEIMAGECMD_H
       
    22 
       
    23 //  INCLUDES
       
    24 #include "CPbk2ImageCmdBase.h"
       
    25 
       
    26 // FORWARD DECLARATIONS
       
    27 
       
    28 // CLASS DECLARATION
       
    29 
       
    30 /**
       
    31  * Image remove command event handling class.
       
    32  */
       
    33 NONSHARABLE_CLASS(CPbk2RemoveImageCmd) : 
       
    34         public CPbk2ImageCmdBase
       
    35     {
       
    36     public:  // Constructors and destructor
       
    37         /**
       
    38          * Creates a new instance of this class.
       
    39          * @param aUiControl 	A related ui control
       
    40          * @return a new instance of this class.
       
    41          */
       
    42         static CPbk2RemoveImageCmd* NewL(
       
    43                 MPbk2ContactUiControl& aUiControl);
       
    44         
       
    45         /**
       
    46          * Destructor.
       
    47          */
       
    48         ~CPbk2RemoveImageCmd();
       
    49         
       
    50     private:  // from CPbk2ImageCmdBase
       
    51         TBool ExecuteCommandL();
       
    52        
       
    53     private:  // Implementation
       
    54         CPbk2RemoveImageCmd(
       
    55                 MPbk2ContactUiControl& aUiControl);
       
    56         void ConstructL();
       
    57     };
       
    58 
       
    59 #endif // CPBK2REMOVEIMAGECMD_H
       
    60             
       
    61 // End of File