omadm/omadmappui/inc/NSmlDMProfilesView.h
changeset 0 3ce708148e4d
equal deleted inserted replaced
-1:000000000000 0:3ce708148e4d
       
     1 /*
       
     2 * Copyright (c) 2005-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:  Header file for Server Profiles View
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef CNSMLDMPROFILESVIEW_H
       
    21 #define CNSMLDMPROFILESVIEW_H
       
    22 
       
    23 // INCLUDES
       
    24 #include <aknview.h>
       
    25 
       
    26 // FORWARD DECLARATIONS
       
    27 class CNSmlDMProfilesContainer;
       
    28 
       
    29 // CLASS DECLARATION
       
    30 
       
    31 /**
       
    32 * CNSmlDMProfilesView dialog class
       
    33 * 
       
    34 */
       
    35 class CNSmlDMProfilesView : public CAknView
       
    36     {
       
    37     public: // Constructors and destructor
       
    38         
       
    39         /**
       
    40         * Symbian 2nd phase constructor.
       
    41         */
       
    42         void ConstructL();
       
    43 
       
    44 		/**
       
    45         * Destructor.
       
    46         */
       
    47         ~CNSmlDMProfilesView();
       
    48 
       
    49     public: // New functions
       
    50 
       
    51         /**
       
    52         * Refreshes the container contents.
       
    53         * @since Series 60 3.1
       
    54         * @param None.
       
    55         * @return None.
       
    56         */
       
    57         void RefreshL();
       
    58 
       
    59     public: // Functions from base classes
       
    60 
       
    61         /**
       
    62         * From CAknView Returns view id.
       
    63         * @since Series 60 3.1
       
    64         * @param None.
       
    65         * @return View identifier.
       
    66         */
       
    67         TUid Id() const;
       
    68 		
       
    69 		/**
       
    70         * From CAknView Handles user commands.
       
    71         * @since Series 60 3.1
       
    72         * @param aCommand The command identifier.
       
    73         * @return None.
       
    74         */
       
    75         void HandleCommandL( TInt aCommand );
       
    76 
       
    77     private:  // Functions from base classes
       
    78         /**
       
    79         * From CAknView Activates view.
       
    80         * @since Series 60 3.1
       
    81         * @param aPrevViewId Id of previous view.
       
    82         * @param aCustomMessageId Custom message id.
       
    83         * @param aCustomMessage Custom message.
       
    84         * @return None.
       
    85         */
       
    86         void DoActivateL( const TVwsViewId& aPrevViewId,
       
    87                                 TUid aCustomMessageId,
       
    88                           const TDesC8& aCustomMessage );		
       
    89 
       
    90         /**
       
    91         * From CAknView Deactivates view.        
       
    92         * @since Series 60 3.1
       
    93         * @param None.
       
    94         * @return None.
       
    95         */
       
    96         void DoDeactivate();
       
    97 
       
    98         /**
       
    99         * From CAknView Dynamically initialises options menu.
       
   100         * @since Series 60 3.1
       
   101         * @param aResourceId Id identifying the menu pane to initialise.
       
   102         * @param aMenuPane The in-memory representation of the menu pane.
       
   103         * @return None.
       
   104         */
       
   105         void DynInitMenuPaneL( TInt aResourceId, CEikMenuPane* aMenuPane );
       
   106         
       
   107 	    protected:
       
   108 	    /**
       
   109 	    * From CAknView to handle foreground events
       
   110 	    * @since Series 60 5.0
       
   111 	    * @param aForeground         
       
   112 	    * @return None.
       
   113 	    */ 
       
   114 		void HandleForegroundEventL(TBool aForeground);   
       
   115 
       
   116     private: //data
       
   117         // Control container for profiles view.
       
   118         CNSmlDMProfilesContainer*       iContainer;
       
   119     };
       
   120 
       
   121 #endif // CNSMLDMPROFILESVIEW_H
       
   122 
       
   123 // End of File