iaupdate/IAD/ui/inc/iaupdatestatusdialog.h
changeset 0 ba25891c3a9e
equal deleted inserted replaced
-1:000000000000 0:ba25891c3a9e
       
     1 /*
       
     2 * Copyright (c) 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:   Header file of CIAUpdateStatusDialog
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef IAUPDATESTATUSDIALOG_H
       
    21 #define IAUPDATESTATUSDIALOG_H
       
    22 
       
    23 
       
    24 //  INCLUDES
       
    25 #include <e32base.h>
       
    26 
       
    27 // FORWARD DECLARATIONS
       
    28 class TIAUpdateDialogParam;
       
    29 class MIAUpdateTextLinkObserver;
       
    30 
       
    31 
       
    32 
       
    33 
       
    34 /**
       
    35 * CIAUpdateStatusDialog
       
    36 *
       
    37 * CIAUpdateStatusDialog is used for displaying status details.
       
    38 */
       
    39 class CIAUpdateStatusDialog : public CBase
       
    40     {
       
    41 	public:
       
    42 	
       
    43 	    /**
       
    44         * Launches dialog.
       
    45         * @param aParam Class that contains dialog parameters.
       
    46         * @return Completion code.
       
    47         */
       
    48 		static TInt ShowDialogL( TIAUpdateDialogParam* aParam );
       
    49 		
       
    50 	public:// Constructors and destructor
       
    51 
       
    52         /**
       
    53         * Two-phased constructor.
       
    54         */
       
    55 		static CIAUpdateStatusDialog* NewL( TIAUpdateDialogParam* aParam );
       
    56         
       
    57         /**
       
    58         * Destructor.
       
    59         */
       
    60         virtual ~CIAUpdateStatusDialog();
       
    61     
       
    62     private:
       
    63 
       
    64         /**
       
    65         * C++ default constructor.
       
    66         */
       
    67         CIAUpdateStatusDialog( TIAUpdateDialogParam* aParam );
       
    68 	
       
    69         /**
       
    70         * By default Symbian OS constructor is private.
       
    71         */
       
    72         void ConstructL();
       
    73         
       
    74     private:
       
    75         void ConstructTextL();
       
    76         TInt ShowDialogL();
       
    77         void HandleLinkL();
       
    78         
       
    79     private:
       
    80         // callback function in message query
       
    81         static TInt HandleLink( TAny* aPtr );
       
    82         
       
    83     private:
       
    84         TIAUpdateDialogParam* iParam;
       
    85         HBufC* iBuf;
       
    86         MIAUpdateTextLinkObserver* iObserver;
       
    87     };
       
    88 
       
    89 
       
    90 #endif      // IAUPDATESTATUSDIALOG_H
       
    91             
       
    92 // End of File