diff -r 8bda91a87a00 -r 8ee96d21d9bf gssettingsuis/Gs/GSNetworkPlugin/Inc/PSMNetworkPlugin.h --- a/gssettingsuis/Gs/GSNetworkPlugin/Inc/PSMNetworkPlugin.h Thu Aug 19 10:12:30 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,87 +0,0 @@ -/* -* Copyright (c) 2009 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: -* -*/ - - -#ifndef PSMNETWORKPLUGIN_H -#define PSMNETWORKPLUGIN_H - -// INCLUDES -#include -#include -#include //CPsmPluginBase -#include - -class CGSNetworkPluginModel; -class CRepository; - -/** -* PSMNetwork plugin stub -* -* @lib ?library -* @since Series 60_5.1 -*/ -class CPSMNetworkPlugin : public CPsmPluginBase - { - public: // Constructors and destructor - - /** - * Two-phased constructor. - * @return The created object. - */ - static CPSMNetworkPlugin* NewL( TPsmPluginCTorParams& initParams ); - - /** - * Destructor. - */ - virtual ~CPSMNetworkPlugin(); - - public: - - // From CPsmPluginBase - void NotifyModeChange( const TInt aMode ); - - private: - - CPSMNetworkPlugin( TPsmPluginCTorParams& aInitParams ); - void ConstructL(); - - /** - * Internal leaving function calleb from non-leaving NotifyModeChange. - */ - void DoModeChangeL( const TInt aMode ); - - /** - * To verify if the phone is in the offline mode. (or mostly if mode is supported???) - */ - TBool IsPhoneOfflineL() const; - - /** - * To verify if the network mode needs to be changed. - * not change when from EPsmsrvModeNormal to EPsmsrvPartialMode - * and from EPsmsrvModePowerSave to EPsmsrvPartialMode - */ - TBool IsChangeNetworkMode( TPsmsrvMode& aOldMode, TPsmsrvMode aNewMode ); - - private: // data - - CGSNetworkPluginModel *iModel; //data model - CRepository* iPsmRepository; - TPsmsrvMode iPsmMode; - - }; - -#endif // PSMNETWORKPLUGIN_H