landmarksui/app/inc/CLmkCategorySettingsView.h
branchRCL_3
changeset 17 1fc85118c3ae
parent 16 8173571d354e
child 18 870918037e16
equal deleted inserted replaced
16:8173571d354e 17:1fc85118c3ae
     1 /*
       
     2 * Copyright (c) 2002 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:    LandmarksUi Content File -    LMK application category view's definition.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 
       
    22 
       
    23 #ifndef __CLMKCATEGORYSETTINGSVIEW_H__
       
    24 #define __CLMKCATEGORYSETTINGSVIEW_H__
       
    25 
       
    26 // INCLUDES
       
    27 #include "CLmkBaseView.h"
       
    28 
       
    29 // FORWARD DECLARATIONS
       
    30 class CLmkCategorySettingsContainer;
       
    31 
       
    32 // CLASS DECLARATION
       
    33 
       
    34 /**
       
    35 *  CLmkCategorySettingsView view class.
       
    36 *
       
    37 */
       
    38 class CLmkCategorySettingsView : public CLmkBaseView
       
    39     {
       
    40     public: // Constructors and destructor
       
    41         /**
       
    42         * C++ default constructor.
       
    43         * @param aKeyProcessor
       
    44         * @return Created CLmkCategorySettingsView object
       
    45         */
       
    46         static CLmkCategorySettingsView* NewLC( MLmkKeyProcessor& aKeyProcessor );
       
    47 
       
    48         /**
       
    49         * Destructor
       
    50         */
       
    51         ~CLmkCategorySettingsView();
       
    52 
       
    53     private: // constructor
       
    54         /**
       
    55         * C++ constructor
       
    56         * @param aKeyProcessor
       
    57         * @return newly instantiated object
       
    58         */
       
    59         CLmkCategorySettingsView( MLmkKeyProcessor& aKeyProcessor );
       
    60 
       
    61         /**
       
    62         * By default Symbian 2nd phase constructor is private.
       
    63         */
       
    64         void ConstructL();
       
    65 
       
    66     public: // From MLmkKeyProcessor
       
    67 		TBool ProcessKeyEventL( const TKeyEvent& aKeyEvent,
       
    68                                 TEventCode aType );
       
    69 
       
    70     public: // From CAknView
       
    71         TUid Id() const;
       
    72         void HandleCommandL(TInt aCommand);
       
    73 
       
    74     protected:  // From MEikMenuObserver
       
    75         void DynInitMenuPaneL( TInt aResourceId, CEikMenuPane* aMenuPane );
       
    76 
       
    77     private: //From CAknView
       
    78         void DoActivateL(const TVwsViewId& aPrevViewId,TUid aCustomMessageId,
       
    79             const TDesC8& aCustomMessage);
       
    80         void DoDeactivate();
       
    81 
       
    82 	public: // for landscape support
       
    83 		void Update();
       
    84 
       
    85 	private://From CLmkBaseView
       
    86 
       
    87     	void EnableMskMenuL(TBool aEnable);
       
    88 
       
    89     #ifdef RD_SCALABLE_UI_V2
       
    90 	protected://for touch support
       
    91 
       
    92 		//from MEikListBoxObserver
       
    93     	void HandleListBoxEventL( CEikListBox* aListBox, TListBoxEvent aEventType );
       
    94     #endif//RD_SCALABLE_UI_V2
       
    95 
       
    96     private: // Data
       
    97         /// Own: A pointer to container
       
    98         CLmkCategorySettingsContainer* iContainer;
       
    99 
       
   100         /// Own: previous view's id
       
   101         TInt iPrevViewId;
       
   102 
       
   103     };
       
   104 
       
   105 #endif // __CLMKCATEGORYSETTINGSVIEW_H__
       
   106 
       
   107 // End of File