iaupdate/IAD/ui/inc/iaupdatestatusdialog.h
author Pat Downey <patd@symbian.org>
Wed, 01 Sep 2010 12:22:02 +0100
branchRCL_3
changeset 26 8b7f4e561641
parent 0 ba25891c3a9e
permissions -rw-r--r--
Revert incorrect RCL_3 drop: Revision: 201033 Kit: 201035

/*
* Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:   Header file of CIAUpdateStatusDialog
*
*/



#ifndef IAUPDATESTATUSDIALOG_H
#define IAUPDATESTATUSDIALOG_H


//  INCLUDES
#include <e32base.h>

// FORWARD DECLARATIONS
class TIAUpdateDialogParam;
class MIAUpdateTextLinkObserver;




/**
* CIAUpdateStatusDialog
*
* CIAUpdateStatusDialog is used for displaying status details.
*/
class CIAUpdateStatusDialog : public CBase
    {
	public:
	
	    /**
        * Launches dialog.
        * @param aParam Class that contains dialog parameters.
        * @return Completion code.
        */
		static TInt ShowDialogL( TIAUpdateDialogParam* aParam );
		
	public:// Constructors and destructor

        /**
        * Two-phased constructor.
        */
		static CIAUpdateStatusDialog* NewL( TIAUpdateDialogParam* aParam );
        
        /**
        * Destructor.
        */
        virtual ~CIAUpdateStatusDialog();
    
    private:

        /**
        * C++ default constructor.
        */
        CIAUpdateStatusDialog( TIAUpdateDialogParam* aParam );
	
        /**
        * By default Symbian OS constructor is private.
        */
        void ConstructL();
        
    private:
        void ConstructTextL();
        TInt ShowDialogL();
        void HandleLinkL();
        
    private:
        // callback function in message query
        static TInt HandleLink( TAny* aPtr );
        
    private:
        TIAUpdateDialogParam* iParam;
        HBufC* iBuf;
        MIAUpdateTextLinkObserver* iObserver;
    };


#endif      // IAUPDATESTATUSDIALOG_H
            
// End of File