vtuis/videotelui/inc/features/softkey/cvtuisoftkeycontext.h
branchRCL_3
changeset 25 779871d1e4f4
parent 0 ed9695c8bcbe
equal deleted inserted replaced
24:f15ac8e65a02 25:779871d1e4f4
       
     1 /*
       
     2 * Copyright (c) 2006 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:  Softkey context class definition.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef C_VTUISOFTKEYCONTEXT_H
       
    20 #define C_VTUISOFTKEYCONTEXT_H
       
    21 
       
    22 #include <e32base.h>
       
    23 
       
    24 #include "cvtuicmdcontext.h"
       
    25 
       
    26 /**
       
    27  *  CVtUiSoftkeyContext
       
    28  *
       
    29  *  Softkey command context class definition.
       
    30  *
       
    31  *  @since S60 v3.2
       
    32  */
       
    33 class CVtUiSoftkeyContext : public CVtUiCmdContext
       
    34     {
       
    35 
       
    36 public: // public methods
       
    37 
       
    38     /**
       
    39      * C++ destructor.
       
    40      */
       
    41     ~CVtUiSoftkeyContext();
       
    42 
       
    43     /**
       
    44      * Static constructor
       
    45      * @param aCommandManager Reference to command manager.
       
    46      */
       
    47     static CVtUiSoftkeyContext* NewL( MVtUiCommandManager& aCommandManager );
       
    48 
       
    49 public: // virtual methods
       
    50 
       
    51     /**
       
    52      * Make validations.
       
    53      *
       
    54      * @param aAction Reference to validation action base.
       
    55      */
       
    56     void ValidateL( CVtUiCmdValidationActionBase& aAction );
       
    57 
       
    58 private:
       
    59 
       
    60     /**
       
    61      * C++ constructor
       
    62      *
       
    63      *  @param aCommandManager Reference to command manager.
       
    64      */
       
    65     CVtUiSoftkeyContext( MVtUiCommandManager& aCommandManager );
       
    66 
       
    67     /**
       
    68      * 2nd consttuctor, may leave.
       
    69      */
       
    70     void ConstructL();
       
    71 
       
    72     };
       
    73 
       
    74 #endif // C_VTUISOFTKEYCONTEXT_H