diff -r 000000000000 -r c8830336c852 wlansecuritysettings/wepsecuritysettingsui/inc/WEPSecuritySettingsUiImpl.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/wlansecuritysettings/wepsecuritysettingsui/inc/WEPSecuritySettingsUiImpl.h Thu Dec 17 08:47:43 2009 +0200 @@ -0,0 +1,95 @@ +/* +* 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. +* +*/ + + +#ifndef WEPSECURITYSETTINGSUIIMPL_H +#define WEPSECURITYSETTINGSUIIMPL_H + +// INCLUDES + +#include + + +// 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