diff -r 8bda91a87a00 -r 8ee96d21d9bf gssettingsuis/Gs/GSPDataAccessPointPlugin/inc/GSPDataAccessPointPlugin.h --- a/gssettingsuis/Gs/GSPDataAccessPointPlugin/inc/GSPDataAccessPointPlugin.h Thu Aug 19 10:12:30 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,160 +0,0 @@ -/* -* Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies). -* All rights reserved. -* This component and the accompanying materials are made available -* under the terms of "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: GSPDataAccessPointPlugin implementation. -* -*/ - -#ifndef GSPDATAACCESSPOINTPLUGIN_H -#define GSPDATAACCESSPOINTPLUGIN_H - -// User includes - -// System includes -#include -#include -#include -#include - -// Classes referenced -class CAknViewAppUi; -class CGSPDataAccessPointModel; - - -// Constants -const TUid KGSPDataAccessPointPluginUID = { 0x10282DC6 }; -_LIT( KPDataAccessPointResourceFileName, "z:GSPDataAccessPointPluginRsc.rsc" ); - -// CLASS DECLARATION - -/** -* CGSPDataAccessPointPlugin view class. -* -* This class handles state and application logic of PDataAccessPoint settings. -* The plugin is a type of EGSItemTypeSettingDialog and therefore the GS FW will -* call HandleSelection() instead of DoActivate(). -* -*/ -class CGSPDataAccessPointPlugin : public CGSPluginInterface - { - public: // Constructors and destructor - - /** - * Symbian OS two-phased constructor - * @return - */ - static CGSPDataAccessPointPlugin* NewL( TAny* aInitParams ); - - /** - * Destructor. - */ - ~CGSPDataAccessPointPlugin(); - - public: // From CAknView - - /** - * See base class. - */ - TUid Id() const; - - public: // From CGSPluginInterface - - /** - * See base class. - */ - void GetCaptionL( TDes& aCaption ) const; - - /** - * See base class. - */ - TInt PluginProviderCategory() const; - - /** - * See base class. - */ - TGSListboxItemTypes ItemType(); - - /** - * See base class. - */ - void GetValue( const TGSPluginValueKeys aKey, - TDes& aValue ); - - /** - * See base class. - */ - void HandleSelection( const TGSSelectionTypes aSelectionType ); - - /** - * See base class. - */ - TGSMenuActivationItems MenuActivationItem(); - - protected: // New - - /** - * C++ default constructor. - */ - CGSPDataAccessPointPlugin(); - - /** - * Symbian OS default constructor. - */ - void ConstructL(); - - protected: // From CAknView - - /** - * See base class. - */ - void DoActivateL( const TVwsViewId& aPrevViewId, - TUid aCustomMessageId, - const TDesC8& aCustomMessage ); - - /** - * See base class. - */ - void DoDeactivate(); - - private: // New - - /** - * Show Access point setting page. - * - */ - void ShowAccessPointSettingPageL(); - - /** - * Opens localized resource file. - */ - void OpenLocalizedResourceFileL( - const TDesC& aResourceFileName, - RConeResourceLoader& aResourceLoader ); - - /** - * Leaving version of GetValue() - */ - void GetValueL( TDes& aValue ); - - protected: // Data - - // PDataAccessPoint model. - CGSPDataAccessPointModel* iModel; - - // Resource loader. - RConeResourceLoader iResources; - }; - -#endif // GSPDATAACCESSPOINTPLUGIN_H - -// End of File