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