connectionutilities/ConnectionDialogs/ConnectionUiUtilities/NotifInc/OfflineWlanNoteDlg.h
changeset 0 5a93021fdf25
child 1 40cb640ef159
equal deleted inserted replaced
-1:000000000000 0:5a93021fdf25
       
     1 /*
       
     2 * Copyright (c) 2005 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Implementation of class COfflineWlanNoteDlg.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef __COFFLINEWLANNOTEDLG_H__
       
    20 #define __COFFLINEWLANNOTEDLG_H__
       
    21 
       
    22 // INCLUDES
       
    23 #include <AknQueryDialog.h>
       
    24 #include "ExpiryTimerCallback.h"
       
    25 
       
    26 // FORWARD DECLARATIONS
       
    27 class COfflineWlanNoteNotif;
       
    28 class CExpiryTimer;
       
    29 
       
    30 // CLASS DECLARATIONS
       
    31 
       
    32 /**
       
    33  * Class implements a query dialog.
       
    34  */
       
    35 NONSHARABLE_CLASS( COfflineWlanNoteDlg ) : public CAknQueryDialog, public MExpiryTimerCallback
       
    36     {
       
    37 public:
       
    38     /**
       
    39     * Constructor the COfflineWlanNoteDlg class
       
    40     * @param aNotif notifier pointer
       
    41     * @return -
       
    42     */
       
    43     COfflineWlanNoteDlg( COfflineWlanNoteNotif* aNotif );
       
    44 
       
    45     /**
       
    46     * Exit function the COfflineWlanNoteDlg
       
    47     * @param aButtonId 
       
    48     * @return TBool exit or no
       
    49     */
       
    50     virtual TBool OkToExitL( TInt aButtonId );
       
    51     
       
    52     /**
       
    53     * Dialog expiration timeout callback
       
    54     */
       
    55     void HandleTimedOut();
       
    56     
       
    57     /**
       
    58     * Destructor
       
    59     */
       
    60     virtual ~COfflineWlanNoteDlg();
       
    61     
       
    62     TBool NeedToDismissQueryL(const TKeyEvent& aKeyEvent);     
       
    63 
       
    64 private:
       
    65     /**
       
    66     * PreLayoutDynInitL
       
    67     * @param    -
       
    68     */
       
    69     virtual void PreLayoutDynInitL();    
       
    70 
       
    71 private:
       
    72     COfflineWlanNoteNotif* iNotif;  // Pointer to the Notifier
       
    73     
       
    74     // Pointer for dialog expiration timer
       
    75     CExpiryTimer* iExpiryTimer;
       
    76     };
       
    77 
       
    78 
       
    79 #endif  // __COFFLINEWLANNOTEDLG_H__
       
    80 
       
    81 // End of File