iaupdate/IAD/ui/inc/iaupdatefwdetailsdialog.h
branchRCL_3
changeset 26 8b7f4e561641
parent 0 ba25891c3a9e
equal deleted inserted replaced
25:7333d7932ef7 26:8b7f4e561641
       
     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:   This file contains the header file of the CIAUpdateDetailsDialog
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef IAUPDATEFWDETAILSDIALOG_H
       
    21 #define IAUPDATEFWDETAILSDIALOG_H
       
    22 
       
    23 
       
    24 //  INCLUDES
       
    25 #include <e32base.h>
       
    26 
       
    27 //FORWARD
       
    28 class MIAUpdateFwNode;
       
    29 
       
    30 /*
       
    31 * CIAUpdateFwDetailsDialog
       
    32 *
       
    33 * CIAUpdateFwDetailsDialog is used for displaying update details.
       
    34 */
       
    35 class CIAUpdateFwDetailsDialog : public CBase
       
    36     {
       
    37 	public:
       
    38 	
       
    39 	    /**
       
    40         * Launches dialog.
       
    41         * @param aFwNode present FW node.
       
    42         * @return Completion code.
       
    43         */
       
    44 		static TBool ShowDialogL( MIAUpdateFwNode* aFwNode );
       
    45 		
       
    46 	public:// Constructors and destructor
       
    47 
       
    48         /**
       
    49         * Two-phased constructor.
       
    50         */
       
    51 		static CIAUpdateFwDetailsDialog* NewL( MIAUpdateFwNode* aFwNode );
       
    52         
       
    53         /**
       
    54         * Destructor.
       
    55         */
       
    56         virtual ~CIAUpdateFwDetailsDialog();
       
    57     
       
    58     private:
       
    59 
       
    60         /**
       
    61         * C++ default constructor.
       
    62         */
       
    63         CIAUpdateFwDetailsDialog( MIAUpdateFwNode* aFwNode );
       
    64 	
       
    65         /**
       
    66         * By default Symbian OS constructor is private.
       
    67         */
       
    68         void ConstructL();
       
    69         
       
    70     private:
       
    71         void ConstructTextL();
       
    72         TInt BufferSize();
       
    73         HBufC* FileSizeTextLC( TInt aFileSize );
       
    74         TBool ShowDialogL();
       
    75         
       
    76     private:
       
    77         
       
    78         MIAUpdateFwNode* iFwNode;
       
    79         HBufC* iBuf;
       
    80   
       
    81     };
       
    82 #endif      // IAUPDATEDETAILSDIALOG_H
       
    83             
       
    84 // End of File