iaupdate/IAD/ui/inc/iaupdatewaitdialog.h
changeset 77 d1838696558c
parent 75 2d2d25361590
child 80 9dcba1ee99f7
equal deleted inserted replaced
75:2d2d25361590 77:d1838696558c
     1 /*
       
     2 * Copyright (c) 2007-2010 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 IAUpdateWaitDialog class.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef IAUPDATEWAITDIALOG_H
       
    21 #define IAUPDATEWAITDIALOG_H
       
    22 
       
    23 // INCLUDES
       
    24 #include <QObject>
       
    25 
       
    26 #include "iaupdatewaitdialog.h"
       
    27 
       
    28 
       
    29 // FORWARD DECLARATIONS
       
    30 class HbProgressDialog;
       
    31 class MIAUpdateWaitDialogObserver;
       
    32 
       
    33 // CLASS DECLARATION
       
    34 
       
    35 /**
       
    36 * Wait dialog for IA Update client
       
    37 */
       
    38 class IAUpdateWaitDialog : public QObject
       
    39 {
       
    40     Q_OBJECT
       
    41 
       
    42 public: // Constructors and destructor
       
    43 
       
    44     /**
       
    45     * Constructor
       
    46     */
       
    47     IAUpdateWaitDialog();
       
    48 
       
    49     ~IAUpdateWaitDialog();
       
    50 
       
    51 public:  // New functions
       
    52     
       
    53     int showDialog(const QString& text);
       
    54         
       
    55     void SetCallback(MIAUpdateWaitDialogObserver* callback );  
       
    56     
       
    57     void close();
       
    58     
       
    59 public slots:
       
    60 
       
    61     void dialogCancelled();
       
    62 
       
    63 private: //data
       
    64     
       
    65     HbProgressDialog *mWaitDialog;
       
    66     MIAUpdateWaitDialogObserver *mCallback;        
       
    67 };
       
    68 
       
    69 
       
    70 #endif // IAUPDATEWAITDIALOG_H
       
    71 
       
    72 // End of file