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