diff -r 000000000000 -r dfb7c4ff071f datacommsserver/networkcontroller/src/CNetConDlgProcessor.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/datacommsserver/networkcontroller/src/CNetConDlgProcessor.h Thu Dec 17 09:22:25 2009 +0200 @@ -0,0 +1,54 @@ +#ifndef __CNETCONDLGPROCESSOR_H__ +#define __CNETCONDLGPROCESSOR_H__ +// Copyright (c) 2004-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: +// + +#include +#include + +#include "MNetConDialogProcAccess.h" + +/** +Wrap the interface to the Dialog Processor implementation in a non-virtual interface class. + +@internalComponent +*/ +NONSHARABLE_CLASS(CNetConDlgProcessor) : public CBase + { +public: + static CNetConDlgProcessor* NewL(); + static CNetConDlgProcessor* NewL( MNetConDialogProcAccess *aImpl, TBool aOwnImpl ); + + virtual ~CNetConDlgProcessor(); + + void CancelEverything(); + void SelectConnection(MDialogProcessorObserver& aObserver, const TConnectionPrefs& aPrefs); + void SelectConnection(MDialogProcessorObserver& aObserver, const TConnectionPrefs& aPrefs, TInt aLastError ); + void SelectModemAndLocation(MDialogProcessorObserver& aObserver); + void WarnNewConnection(MDialogProcessorObserver& aObserver, const TConnectionPrefs& aPrefs, const TDesC* aNewIapName, const TIspConnectionNames* aNewConnectionNames, TInt aLastError ); + void Reconnect(MDialogProcessorObserver& aObserver); + +protected: + explicit CNetConDlgProcessor( MNetConDialogProcAccess* aImpl ); + +private: + MNetConDialogProcAccess* GetImpl() const; + +private: + MNetConDialogProcAccess* const iDialogProc; //< The actual implementation of the dialog processor to use + }; + +#endif /* #ifndef __CNETCONDLGPROCESSOR_H__ */ +