iaupdate/IAD/ui/inc/iaupdatewaitdialog.h
changeset 0 ba25891c3a9e
child 25 7333d7932ef7
equal deleted inserted replaced
-1:000000000000 0:ba25891c3a9e
       
     1 /*
       
     2 * Copyright (c) 2007-2008 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:   This file contains the header file of the CIAUpdateWaitDialog class.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef IAUPDATEWAITDIALOG_H
       
    21 #define IAUPDATEWAITDIALOG_H
       
    22 
       
    23 // INCLUDES
       
    24 #include <AknWaitDialog.h>
       
    25 
       
    26 
       
    27 // FORWARD DECLARATIONS
       
    28 class MIAUpdateWaitDialogObserver;
       
    29 
       
    30 // CLASS DECLARATION
       
    31 
       
    32 /**
       
    33 * Wait dialog for IA Update client
       
    34 */
       
    35 class CIAUpdateWaitDialog : public CAknWaitDialog
       
    36     {
       
    37 
       
    38     public: // Constructors and destructor
       
    39 
       
    40         /**
       
    41         * Constructor
       
    42         */
       
    43         CIAUpdateWaitDialog( CEikDialog** aSelfPtr, TBool aVisibilityDelayOff );
       
    44 
       
    45         virtual ~CIAUpdateWaitDialog();
       
    46 
       
    47     public:
       
    48         
       
    49         /**
       
    50         * From CEikDialog, respond to softkey inputs.
       
    51         * @para aButtonId, type of pressed Button or Softkey
       
    52         * @return TBool, ETrue if exit the dialog, otherwise EFalse.
       
    53         */
       
    54         TBool OkToExitL( TInt aButtonId );
       
    55 
       
    56     public:  // New functions
       
    57         void SetCallback( MIAUpdateWaitDialogObserver* aCallback );        
       
    58 
       
    59     private: //data
       
    60 
       
    61         MIAUpdateWaitDialogObserver* iCallback;        
       
    62     };
       
    63 
       
    64 
       
    65 #endif // IAUPDATEWAITDIALOG_H
       
    66 
       
    67 // End of file