vpnui/vpnmanagementui/inc/vpnmanagementuiserversettingsview.h
branchRCL_3
changeset 23 473321461bba
parent 22 9f4e37332ce5
child 24 e06095241a65
equal deleted inserted replaced
22:9f4e37332ce5 23:473321461bba
     1 /*
       
     2 * Copyright (c) 2003-2007 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 CServerSettingsView class.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef  __VPNMANAGEMENTUISERVERSETTINGSVIEW_H__
       
    21 #define  __VPNMANAGEMENTUISERVERSETTINGSVIEW_H__
       
    22 
       
    23 // INCLUDES
       
    24 #include <aknview.h>
       
    25 #include "vpnmanagementuiviewid.h"
       
    26 
       
    27 // FORWARD DECLERATIONS
       
    28 class CServerSettingsContainer;
       
    29 
       
    30 // CLASS DECLARATION
       
    31 
       
    32 /**
       
    33 *  CServerSettingsView view class.
       
    34 *
       
    35 *  @lib vpnmanagementui.dll
       
    36 */
       
    37 class CServerSettingsView : public CAknView
       
    38     {
       
    39     public: // functions
       
    40 
       
    41        /**
       
    42         * Destructor
       
    43         */
       
    44 		~CServerSettingsView();
       
    45 
       
    46        /**
       
    47         * NewL
       
    48         */
       
    49 		static CServerSettingsView* NewL(
       
    50 		    const TRect& aRect, CVpnUiLoader& aLoader);
       
    51 
       
    52        /**
       
    53         * NewLC
       
    54         */
       
    55 		static CServerSettingsView* NewLC(
       
    56 		    const TRect& aRect, CVpnUiLoader& aLoader);
       
    57 
       
    58         /**
       
    59         * Returns Trust view id
       
    60         */
       
    61         TUid Id() const;
       
    62 
       
    63         /**
       
    64         * Handles ClientRectChange
       
    65         */
       
    66         void HandleClientRectChange();
       
    67        
       
    68 
       
    69         /**
       
    70         * Handles Softkey and Options list commands
       
    71         */
       
    72         void HandleCommandL(TInt aCommand);
       
    73 
       
    74   	public: // data
       
    75 
       
    76        /**
       
    77         * To get hold of CVpnUiLoader
       
    78         */
       
    79 		CVpnUiLoader&				iLoader;
       
    80 
       
    81        /**
       
    82         * To get access to ServerSettingsContainer
       
    83 		*/
       
    84         CServerSettingsContainer*		iContainer;
       
    85 
       
    86     private: // functions
       
    87 
       
    88         /**
       
    89         * Constructor.
       
    90         */
       
    91 		CServerSettingsView(CVpnUiLoader& aLoader);
       
    92 
       
    93         /**
       
    94         * Symbian OS default constructor.
       
    95         */
       
    96         void ConstructL();
       
    97 
       
    98         /**
       
    99         * Updates the view when opening it
       
   100         */
       
   101         void DoActivateL(const TVwsViewId& aPrevViewId,TUid aCustomMessageId,
       
   102             const TDesC8& aCustomMessage);
       
   103 
       
   104         /**
       
   105         * Closes the view
       
   106         */
       
   107         void DoDeactivate();
       
   108 
       
   109 
       
   110         TInt CompleteSettingsL();
       
   111 
       
   112     private: // Data
       
   113     };
       
   114 
       
   115 #endif // __VPNMANAGEMENTUISERVERSETTINGSVIEW_H__
       
   116 
       
   117 // End of File