diff -r 000000000000 -r 5a93021fdf25 connectionutilities/ConnectionDialogs/cconndlg/inc/ReconnectDialog.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/connectionutilities/ConnectionDialogs/cconndlg/inc/ReconnectDialog.h Thu Dec 17 08:55:21 2009 +0200 @@ -0,0 +1,90 @@ +/* +* 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: Implementation of class CReconnectDialog. +* +*/ + + +#ifndef __RECONNECTDIALOG_H__ +#define __RECONNECTDIALOG_H__ + +// INCLUDES +#include +#include +#include "ExpiryTimerCallback.h" + +// FORWARD DECLARATIONS +class CConnDlgReconnectPlugin; +class CExpiryTimer; + +// CLASS DECLARATIONS + +/** + * Class implementing Reconnect dialog + */ +NONSHARABLE_CLASS( CReconnectDialog ) : public CAknQueryDialog, public MExpiryTimerCallback + { + public: + /** + * Constructor of the CReconnetDialog class + * @param aPlugin plugin pointer + * @param aBool reconnect to the IAP + * @return - + */ + CReconnectDialog( CConnDlgReconnectPlugin* aPlugin, TBool& aBool ); + + /** + * Exit function the CReconnectDialog + * @param aButtonId plugin pointer + * @param aBool reconnect to the IAP + * @return TBool exit or no + */ + virtual TBool OkToExitL( TInt aButtonId ); + + /** + * Dialog expiration timeout callback + */ + void HandleTimedOut(); + + + /** + * Destructor + */ + virtual ~CReconnectDialog(); + + + private: + /** + * PreLayoutDynInitL + * @param - + */ + virtual void PreLayoutDynInitL(); + + + private: + // Pointer to the plugin + CConnDlgReconnectPlugin* iPlugin; + + // Specifies way of closing of the dialog. ETrue when 'Yes' or 'Done' + // softkeys pressed. + TBool& iBool; + + // Pointer for dialog expiration timer + CExpiryTimer* iExpiryTimer; + }; + +#endif // __RECONNECTDIALOG_H__ + + +// End of File