voiceui/vcommand/inc/vcsettingsview.h
branchRCL_3
changeset 19 e36f3802f733
parent 0 bf1d17376201
equal deleted inserted replaced
18:cad71a31b7fc 19:e36f3802f733
       
     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:  Settings view class
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef CVCSETTINGSVIEW_H
       
    20 #define CVCSETTINGSVIEW_H
       
    21 
       
    22 // INCLUDES
       
    23 #include <aknview.h>
       
    24 #include <eiklbo.h>
       
    25 
       
    26 // FORWARD DECLARATIONS
       
    27 class CVCSettingsContainer;
       
    28 
       
    29 
       
    30 // CLASS DECLARATION
       
    31 
       
    32 /**
       
    33 * Settings view class.
       
    34 */
       
    35 class CVCSettingsView : public CAknView
       
    36     {
       
    37     public: // Constructors and destructor
       
    38 
       
    39         /**
       
    40         * Symbian OS 2nd phase constructor.
       
    41         */
       
    42         void ConstructL();
       
    43 
       
    44         /**
       
    45         * Destructor.
       
    46         */
       
    47         virtual ~CVCSettingsView();
       
    48 
       
    49     public: // Functions from base classes
       
    50 
       
    51         /**
       
    52         * From CAknView Return UID of view
       
    53         * @return TUid uid of the view
       
    54         */
       
    55         TUid Id() const;
       
    56 
       
    57         /**
       
    58         * From CAknView, handle commands
       
    59         * @param aCommand command to be handled
       
    60         */
       
    61         void HandleCommandL( TInt aCommand );
       
    62 
       
    63         /**
       
    64         * From MEikMenuObserver Dynamically customize menu items
       
    65         * @param aResourceId Menu pane resource ID
       
    66         * @param aMenuPane Menu pane pointer
       
    67         */
       
    68         void DynInitMenuPaneL( TInt aResourceId, CEikMenuPane* aMenuPane );
       
    69 
       
    70         /**
       
    71         * From CAknView
       
    72         * @see CAknView for more information
       
    73         */
       
    74         void HandleClientRectChange();
       
    75         
       
    76     private: // Functions from base classes
       
    77 
       
    78         /**
       
    79         * From CAknView Activate this view
       
    80         * @param aPrevViewId 
       
    81         * @param aCustomMessageId 
       
    82         * @param aCustomMessage 
       
    83         */
       
    84         void DoActivateL( const TVwsViewId& aPrevViewId,
       
    85                           TUid aCustomMessageId,
       
    86                           const TDesC8& aCustomMessage );
       
    87 
       
    88         /**
       
    89         * From CAknView Deactivate this view
       
    90         */
       
    91         void DoDeactivate();
       
    92 
       
    93     private: // Data
       
    94     
       
    95         CVCSettingsContainer*	iContainer; // owned
       
    96         TInt                    iListBoxSelectedItemIndex;
       
    97         TVwsViewId              iPreviousView;
       
    98         TBool                   iOperationInProgress;
       
    99         
       
   100     };
       
   101 
       
   102 #endif	// CVCSETTINGSVIEW_H
       
   103 
       
   104 // End of File