diff -r fc7b30ed2058 -r 05bc53fe583b connectionutilities/ConnectionDialogs/cconndlg/inc/NewIapDialog.h --- a/connectionutilities/ConnectionDialogs/cconndlg/inc/NewIapDialog.h Thu Aug 19 10:18:49 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,96 +0,0 @@ -/* -* Copyright (c) 2002 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: Declaration of class CNewIapDialog. -* -*/ - - -#ifndef __NEWIAPDIALOG_H__ -#define __NEWIAPDIALOG_H__ - - -// INCLUDES -#include -#include -#include -#include "ExpiryTimerCallback.h" - -// FORWARD DECLARATIONS -class CConnDlgNewIapPlugin; -class CExpiryTimer; - -// CLASS DECLARATIONS - -/** - * Class implementing New IAP warning dialog. - */ -NONSHARABLE_CLASS( CNewIapDialog ) : public CAknQueryDialog, public MExpiryTimerCallback - { - public: - - /** - * Constructor the CNewIapDialog class - * @param aPlugin plugin pointer - * @param aConnect connect to the IAP - * @param aPrefs preferences infomation - * @return - - */ - CNewIapDialog( CConnDlgNewIapPlugin* aPlugin, - TBool& aConnect, - const TNewIapConnectionPrefs& aPrefs ); - - /** - * Destructor - */ - virtual ~CNewIapDialog(); - - /** - * CBA handling function - * @param aButtonId button Uid - * @return TBool exit or no - */ - virtual TBool OkToExitL( TInt aButtonId ); - - /** - * Dialog expiration timeout callback - */ - void HandleTimedOut(); - - private: - /** - * PreLayoutDynInitL function - * @param - - * @return - - */ - void PreLayoutDynInitL(); - - private: - // Pointer to the plugin - CConnDlgNewIapPlugin* iPlugin; - - // Specifies way of closing of the dialog. ETrue when 'Yes' or 'Done' - // softkeys pressed. - TBool& iConnect; - - // Selected preferences - const TNewIapConnectionPrefs& iPrefs; - - // Pointer for dialog expiration timer - CExpiryTimer* iExpiryTimer; - }; - - -#endif - -// End of File