diff -r 000000000000 -r ba25891c3a9e iaupdate/IAD/ui/inc/iaupdatestatusdialog.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/iaupdate/IAD/ui/inc/iaupdatestatusdialog.h Thu Dec 17 08:51:10 2009 +0200 @@ -0,0 +1,92 @@ +/* +* 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 + +// 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