vtuis/videotelui/inc/features/menu/cvtuimenucontext.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:  Menu context class definition.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef C_VTUIMENUCONTEXT_H
       
    20 #define C_VTUIMENUCONTEXT_H
       
    21 
       
    22 #include <e32base.h>
       
    23 
       
    24 #include "cvtuicmdcontext.h"
       
    25 
       
    26 /**
       
    27  *  CVtUiMenuContext
       
    28  *
       
    29  *  Menu command context class definition.
       
    30  *
       
    31  *  @since S60 v3.2
       
    32  */
       
    33 class CVtUiMenuContext : public CVtUiCmdContext
       
    34     {
       
    35 
       
    36 public: // public methods
       
    37 
       
    38     /**
       
    39      * C++ destructor.
       
    40      *
       
    41      */
       
    42     ~CVtUiMenuContext();
       
    43 
       
    44     /**
       
    45      * Leave safe destructor.
       
    46      *
       
    47      */
       
    48     static CVtUiMenuContext* NewL( MVtUiCommandManager& aCommandManager );
       
    49 
       
    50 public: // from CVtUiCmdContext
       
    51 
       
    52     /**
       
    53      *  @see CVtUiCmdContext::ValidateL
       
    54      */
       
    55     void ValidateL( CVtUiCmdValidationActionBase& aAction );
       
    56 
       
    57 private:
       
    58 
       
    59     /**
       
    60      * C++ constructor
       
    61      *
       
    62      * @param aPriority Validator priority.
       
    63      */
       
    64     CVtUiMenuContext( MVtUiCommandManager& aCommandManager );
       
    65 
       
    66     /**
       
    67      * 2nd consttuctor, may leave.
       
    68      */
       
    69     void ConstructL();
       
    70 
       
    71 private: // data
       
    72 
       
    73     };
       
    74 
       
    75 #endif // C_VTUIMENUCONTEXT_H