appinstaller/AppinstUi/Plugin/CommonUI/Inc/CUIWaitDialog.h
author Simon Howkins <simonh@symbian.org>
Mon, 22 Nov 2010 12:04:39 +0000
branchRCL_3
changeset 84 e6c5e34cd9b9
parent 0 ba25891c3a9e
permissions -rw-r--r--
Adjusted to avoid exports, etc, from a top-level bld.inf

/*
* 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