pkiutilities/SecModUI/inc/SecModUIViewCode.h
changeset 0 164170e6151a
equal deleted inserted replaced
-1:000000000000 0:164170e6151a
       
     1 /*
       
     2 * Copyright (c) 2005 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:   Declaration of the CSecModUIViewCode class
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef SECMODUIVIEWCODE_H
       
    20 #define SECMODUIVIEWCODE_H
       
    21 
       
    22 // INCLUDES
       
    23 #include "SecModUIViewBase.h"
       
    24 
       
    25 
       
    26 // CONSTANTS
       
    27 
       
    28 // FORWARD DECLARATIONS
       
    29 class CSecModUIContainerCode;
       
    30 class CSecModUIModel;
       
    31 
       
    32 // CLASS DECLARATION
       
    33 
       
    34 /**
       
    35 *  CSecModUIViewCode view class.
       
    36 * 
       
    37 */
       
    38 class CSecModUIViewCode : public CSecModUIViewBase
       
    39     {
       
    40     public: // Constructors and destructor
       
    41 
       
    42         /**
       
    43         * Two-phased constructor.
       
    44         */
       
    45         static CSecModUIViewCode* NewLC(CSecModUIModel& aModel);
       
    46 
       
    47         /**
       
    48         * Destructor.
       
    49         */
       
    50         virtual ~CSecModUIViewCode();
       
    51 
       
    52     public: // Functions from base classes
       
    53         
       
    54         /**
       
    55         * From MEikMenuObserver delegate commands from the menu
       
    56         * @param aCommand a command emitted by the menu 
       
    57         * @return void
       
    58         */
       
    59         virtual void HandleCommandL(TInt aCommand);
       
    60         
       
    61         /**
       
    62         * From CAknView returns Uid of View
       
    63         * @return TUid uid of the view
       
    64         */
       
    65         TUid Id() const;
       
    66         
       
    67         void HandleListBoxEventL(
       
    68             CEikListBox* aListBox, 
       
    69             TListBoxEvent aEventType);
       
    70         
       
    71    //protected: // Functions from base classes
       
    72    
       
    73         /**
       
    74         * From CAknView activate the view
       
    75         * @param aPrevViewId 
       
    76         * @param aCustomMessageId 
       
    77         * @param aCustomMessage 
       
    78         * @return void
       
    79         */
       
    80         //virtual void DoActivateL(const TVwsViewId& aPrevViewId, TUid aCustomMessageId,
       
    81         //    const TDesC8& aCustomMessage);
       
    82             
       
    83         /**
       
    84         * From CAknView deactivate the view (free resources)
       
    85         * @return void
       
    86         */
       
    87         //virtual void DoDeactivate();                 
       
    88 
       
    89     private: // Functions from base classes
       
    90     
       
    91         void CreateContainerL();
       
    92         
       
    93         /**
       
    94         * Constructor
       
    95         */
       
    96         CSecModUIViewCode(CSecModUIModel& aModel);
       
    97 
       
    98         /**
       
    99         * EPOC default constructor.
       
   100         */
       
   101         void ConstructL();
       
   102 
       
   103     private: // Data
       
   104     };
       
   105 
       
   106 #endif // SECMODUIVIEWCODE_H
       
   107 
       
   108 // End of File