appinstaller/AppinstUi/Plugin/CommonUI/Inc/CUIWaitDialog.h
changeset 80 9dcba1ee99f7
parent 77 d1838696558c
equal deleted inserted replaced
77:d1838696558c 80:9dcba1ee99f7
     1 /*
       
     2 * Copyright (c) 2002-2004 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 CCUIWaitDialog class.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef CUIWAITDIALOG_H
       
    20 #define CUIWAITDIALOG_H
       
    21 
       
    22 // INCLUDES
       
    23 #include <AknWaitDialog.h>
       
    24 
       
    25 namespace SwiUI
       
    26 {
       
    27 namespace CommonUI
       
    28 {
       
    29 
       
    30 // FORWARD DECLARATIONS
       
    31 class MCUIWaitDialogCallback;
       
    32 
       
    33 // CLASS DECLARATION
       
    34 
       
    35 /**
       
    36 * Wait dialog for installer
       
    37 * @lib SWInstCommonUI.lib
       
    38 * @since 3.0
       
    39 */
       
    40 NONSHARABLE_CLASS(CCUIWaitDialog) : public CAknWaitDialog
       
    41     {
       
    42 
       
    43     public: // Constructors and destructor
       
    44 
       
    45         /**
       
    46         * Constructor, parameter aAppUi is used in function OkToExitL()
       
    47         */
       
    48         CCUIWaitDialog( CEikDialog** aSelfPtr, TBool aVisibilityDelayOff );
       
    49 
       
    50         virtual ~CCUIWaitDialog();
       
    51 
       
    52     public:
       
    53         
       
    54         /**
       
    55         * From CEikDialog, respond to softkey inputs.
       
    56         * @para aButtonId, type of pressed Button or Softkey
       
    57         * @return TBool, ETrue if exit the dialog, otherwise EFalse.
       
    58         */
       
    59         TBool OkToExitL( TInt aButtonId );
       
    60 
       
    61     public:  // New functions
       
    62         void SetCallback( MCUIWaitDialogCallback* aCallback );        
       
    63 
       
    64     private: //data
       
    65 
       
    66         MCUIWaitDialogCallback* iCallback;        
       
    67     };
       
    68 }
       
    69 }
       
    70 
       
    71 #endif // CUIWAITDIALOG_H
       
    72 
       
    73 // End of file