appinstaller/AppinstUi/Plugin/CommonUI/Inc/CUIWaitDialog.h
author Pat Downey <patd@symbian.org>
Tue, 18 May 2010 13:42:18 +0100
changeset 35 4a49a8c90306
parent 0 ba25891c3a9e
permissions -rw-r--r--
Merge docml changeset, iby creation mods and sqlite_secure (bug 2548).

/*
* Copyright (c) 2002-2004 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:   This file contains the header file of the CCUIWaitDialog class.
*
*/


#ifndef CUIWAITDIALOG_H
#define CUIWAITDIALOG_H

// INCLUDES
#include <AknWaitDialog.h>

namespace SwiUI
{
namespace CommonUI
{

// FORWARD DECLARATIONS
class MCUIWaitDialogCallback;

// CLASS DECLARATION

/**
* Wait dialog for installer
* @lib SWInstCommonUI.lib
* @since 3.0
*/
NONSHARABLE_CLASS(CCUIWaitDialog) : public CAknWaitDialog
    {

    public: // Constructors and destructor

        /**
        * Constructor, parameter aAppUi is used in function OkToExitL()
        */
        CCUIWaitDialog( CEikDialog** aSelfPtr, TBool aVisibilityDelayOff );

        virtual ~CCUIWaitDialog();

    public:
        
        /**
        * From CEikDialog, respond to softkey inputs.
        * @para aButtonId, type of pressed Button or Softkey
        * @return TBool, ETrue if exit the dialog, otherwise EFalse.
        */
        TBool OkToExitL( TInt aButtonId );

    public:  // New functions
        void SetCallback( MCUIWaitDialogCallback* aCallback );        

    private: //data

        MCUIWaitDialogCallback* iCallback;        
    };
}
}

#endif // CUIWAITDIALOG_H

// End of file