startupservices/Startup/inc/StartupOperatorAnimation.h
author Pat Downey <patd@symbian.org>
Wed, 01 Sep 2010 12:24:48 +0100
branchRCL_3
changeset 20 c2c61fdca848
parent 0 2e3d3ce01487
permissions -rw-r--r--
Revert incorrect RCL_3 drop: Revision: 201033 Kit: 201035

/*
* Copyright (c) 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 class is the container class of the CStartupOperatorAnimation.
*           It is used for showing predefined animation.
*
*/



#ifndef STARTUPOPERATORANIMATION_H
#define STARTUPOPERATORANIMATION_H

// INCLUDES
#include <coecntrl.h>
#include "Startup.hrh"
#include "StartupWelcomeAnimation.h"

// CONSTANTS

// FORWARD DECLARATIONS
class CStartupModel;
class CAknBitmapAnimation;
class CStartupAppUi;

// CLASS DECLARATION

/**
*  This class takes care of showing welcome animatio to the user.
*/
class CStartupOperatorAnimation : public CStartupWelcomeAnimation 
    {
    public:


        /**
        * Two-phased constructor.
        */
        static CStartupOperatorAnimation* NewL( CStartupAppUi* aStartupAppUi, const TRect& aRect);

        /**
        *  This handles the key events in this control.
        */
        TKeyResponse OfferKeyEventL(const TKeyEvent& aKeyEvent, TEventCode aType);

    private:
        /**
        *  C++ default constructor.
        */
        CStartupOperatorAnimation( CStartupAppUi* aStartupAppUi );

        /**
        *  EPOC default constructor
        */
        void ConstructL(const TRect& aRect);

		/**
        *  Is called by Draw()-function and contains
        *  the drawing intelligence about different states of the execution.
        */
        void DoDrawing() const;
    };

#endif      // STARTUPOPERATORANIMATION_H
            
// End of File