wlansecuritysettings/wepsecuritysettingsui/inc/WEPSecuritySettingsUiImpl.h
branchRCL_3
changeset 46 c74b3d9f6b9e
equal deleted inserted replaced
45:bad0cc58d154 46:c74b3d9f6b9e
       
     1 /*
       
     2 * Copyright (c) 2001-2009 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 the License "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 class CWEPSecuritySettingsUiImpl.  
       
    15 *
       
    16 */
       
    17 
       
    18 /*
       
    19 * %version: tr1cfwln#8 %
       
    20 */
       
    21 
       
    22 #ifndef WEPSECURITYSETTINGSUIIMPL_H
       
    23 #define WEPSECURITYSETTINGSUIIMPL_H
       
    24 
       
    25 // INCLUDES
       
    26 
       
    27 #include <e32base.h>
       
    28 
       
    29 
       
    30 // FORWARD DECLARATIONS
       
    31 
       
    32 class CEikonEnv;
       
    33 class CWEPSecuritySettings;
       
    34 class CWEPSecuritySettingsUiImpl;
       
    35 class CWEPSecuritySettingsImpl;
       
    36 
       
    37 
       
    38 // CLASS DECLARATION
       
    39 
       
    40 /**
       
    41 * WEP Security Settings UI implementation (behind proxy class
       
    42 * CWEPSecuritySettingsUi)
       
    43 */
       
    44 NONSHARABLE_CLASS( CWEPSecuritySettingsUiImpl ) : public CBase
       
    45     {
       
    46 
       
    47     public:     // Constructors and destructor
       
    48 
       
    49         /**
       
    50         * Two-phased constructor. Leaves on failure.
       
    51         * @param aEikEnv Eikon environment.
       
    52         * @return The constructed CWEPSecuritySettingsUiImpl object.
       
    53         */
       
    54         static CWEPSecuritySettingsUiImpl* NewL( CEikonEnv& aEikEnv );
       
    55 
       
    56         /**
       
    57         * Destructor.
       
    58         */
       
    59         virtual ~CWEPSecuritySettingsUiImpl();
       
    60 
       
    61     protected:  // Constructors
       
    62 
       
    63         /**
       
    64         * Constructor.
       
    65         * @param aEikEnv Eikon environment.
       
    66         */
       
    67         CWEPSecuritySettingsUiImpl( CEikonEnv& aEikEnv );
       
    68 
       
    69         /**
       
    70         * Second-phase constructor.
       
    71         */
       
    72         void ConstructL();
       
    73 
       
    74     public:     // New methods
       
    75 
       
    76         /**
       
    77         * Edit the settings.
       
    78         * @param aSettings Settings to edit.
       
    79         * @param aTitle Title Pane text to display during edit.
       
    80         * @return Exit code. Value from CWEPSecuritySettings::TEvent bits 
       
    81         * combined.
       
    82         */
       
    83         TInt EditL( CWEPSecuritySettingsImpl& aSettings, const TDesC& aTitle );
       
    84 
       
    85 
       
    86     private:    // Data 
       
    87 
       
    88         // To hold the events
       
    89         TInt        iEventStore;
       
    90 
       
    91         // Resource file offset.
       
    92         TInt        iResOffset; 
       
    93         
       
    94         // Eikon environment. Not owned.
       
    95         CEikonEnv*  iEikEnv;        
       
    96     };
       
    97 
       
    98 #endif