datacommsserver/networkcontroller/src/CNetConDlgProcessor.h
changeset 0 dfb7c4ff071f
equal deleted inserted replaced
-1:000000000000 0:dfb7c4ff071f
       
     1 #ifndef __CNETCONDLGPROCESSOR_H__
       
     2 #define __CNETCONDLGPROCESSOR_H__
       
     3 // Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     4 // All rights reserved.
       
     5 // This component and the accompanying materials are made available
       
     6 // under the terms of "Eclipse Public License v1.0"
       
     7 // which accompanies this distribution, and is available
       
     8 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     9 //
       
    10 // Initial Contributors:
       
    11 // Nokia Corporation - initial contribution.
       
    12 //
       
    13 // Contributors:
       
    14 //
       
    15 // Description:
       
    16 //
       
    17 
       
    18 #include <e32base.h>
       
    19 #include <agentdialog.h>
       
    20 
       
    21 #include "MNetConDialogProcAccess.h"
       
    22 
       
    23 /**
       
    24 Wrap the interface to the Dialog Processor implementation in a non-virtual interface class.
       
    25 
       
    26 @internalComponent
       
    27 */
       
    28 NONSHARABLE_CLASS(CNetConDlgProcessor) : public CBase
       
    29 	{
       
    30 public:
       
    31 	static CNetConDlgProcessor* NewL();
       
    32 	static CNetConDlgProcessor* NewL( MNetConDialogProcAccess *aImpl, TBool aOwnImpl );
       
    33 
       
    34 	virtual ~CNetConDlgProcessor();
       
    35 
       
    36 	void CancelEverything();
       
    37 	void SelectConnection(MDialogProcessorObserver& aObserver, const TConnectionPrefs& aPrefs);
       
    38 	void SelectConnection(MDialogProcessorObserver& aObserver, const TConnectionPrefs& aPrefs, TInt aLastError );
       
    39 	void SelectModemAndLocation(MDialogProcessorObserver& aObserver);
       
    40 	void WarnNewConnection(MDialogProcessorObserver& aObserver, const TConnectionPrefs& aPrefs, const TDesC* aNewIapName, const TIspConnectionNames* aNewConnectionNames, TInt aLastError );
       
    41 	void Reconnect(MDialogProcessorObserver& aObserver);
       
    42 
       
    43 protected:
       
    44 	explicit CNetConDlgProcessor( MNetConDialogProcAccess* aImpl );
       
    45 
       
    46 private:
       
    47 	MNetConDialogProcAccess* GetImpl() const;
       
    48 
       
    49 private:	
       
    50 	MNetConDialogProcAccess* const iDialogProc; //< The actual implementation of the dialog processor to use
       
    51 	};
       
    52 
       
    53 #endif /* #ifndef __CNETCONDLGPROCESSOR_H__ */
       
    54