wlansecuritysettings/wepsecuritysettingsui/inc/WEPSecuritySettingsUiImpl.h
author Pat Downey <patd@symbian.org>
Wed, 01 Sep 2010 12:23:57 +0100
branchRCL_3
changeset 46 c74b3d9f6b9e
permissions -rw-r--r--
Revert incorrect RCL_3 drop: Revision: 201029 Kit: 201035

/*
* Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of the License "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description: Declaration of class CWEPSecuritySettingsUiImpl.  
*
*/

/*
* %version: tr1cfwln#8 %
*/

#ifndef WEPSECURITYSETTINGSUIIMPL_H
#define WEPSECURITYSETTINGSUIIMPL_H

// INCLUDES

#include <e32base.h>


// FORWARD DECLARATIONS

class CEikonEnv;
class CWEPSecuritySettings;
class CWEPSecuritySettingsUiImpl;
class CWEPSecuritySettingsImpl;


// CLASS DECLARATION

/**
* WEP Security Settings UI implementation (behind proxy class
* CWEPSecuritySettingsUi)
*/
NONSHARABLE_CLASS( CWEPSecuritySettingsUiImpl ) : public CBase
    {

    public:     // Constructors and destructor

        /**
        * Two-phased constructor. Leaves on failure.
        * @param aEikEnv Eikon environment.
        * @return The constructed CWEPSecuritySettingsUiImpl object.
        */
        static CWEPSecuritySettingsUiImpl* NewL( CEikonEnv& aEikEnv );

        /**
        * Destructor.
        */
        virtual ~CWEPSecuritySettingsUiImpl();

    protected:  // Constructors

        /**
        * Constructor.
        * @param aEikEnv Eikon environment.
        */
        CWEPSecuritySettingsUiImpl( CEikonEnv& aEikEnv );

        /**
        * Second-phase constructor.
        */
        void ConstructL();

    public:     // New methods

        /**
        * Edit the settings.
        * @param aSettings Settings to edit.
        * @param aTitle Title Pane text to display during edit.
        * @return Exit code. Value from CWEPSecuritySettings::TEvent bits 
        * combined.
        */
        TInt EditL( CWEPSecuritySettingsImpl& aSettings, const TDesC& aTitle );


    private:    // Data 

        // To hold the events
        TInt        iEventStore;

        // Resource file offset.
        TInt        iResOffset; 
        
        // Eikon environment. Not owned.
        CEikonEnv*  iEikEnv;        
    };

#endif