wlansecuritysettings/wepsecuritysettingsui/inc/WEPSecuritySettingsUiImpl.h
branchRCL_3
changeset 46 c74b3d9f6b9e
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/wlansecuritysettings/wepsecuritysettingsui/inc/WEPSecuritySettingsUiImpl.h	Wed Sep 01 12:23:57 2010 +0100
@@ -0,0 +1,98 @@
+/*
+* 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