startupservices/Startup/inc/StartupOperatorAnimation.h
branchRCL_3
changeset 19 924385140d98
parent 18 0818dd463d41
child 20 c2c61fdca848
equal deleted inserted replaced
18:0818dd463d41 19:924385140d98
     1 /*
       
     2 * Copyright (c) 2004 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  
       
    15 *           This class is the container class of the CStartupOperatorAnimation.
       
    16 *           It is used for showing predefined animation.
       
    17 *
       
    18 */
       
    19 
       
    20 
       
    21 
       
    22 #ifndef STARTUPOPERATORANIMATION_H
       
    23 #define STARTUPOPERATORANIMATION_H
       
    24 
       
    25 // INCLUDES
       
    26 #include <coecntrl.h>
       
    27 #include "Startup.hrh"
       
    28 #include "StartupWelcomeAnimation.h"
       
    29 
       
    30 // CONSTANTS
       
    31 
       
    32 // FORWARD DECLARATIONS
       
    33 class CStartupModel;
       
    34 class CAknBitmapAnimation;
       
    35 class CStartupAppUi;
       
    36 
       
    37 // CLASS DECLARATION
       
    38 
       
    39 /**
       
    40 *  This class takes care of showing welcome animatio to the user.
       
    41 */
       
    42 class CStartupOperatorAnimation : public CStartupWelcomeAnimation 
       
    43     {
       
    44     public:
       
    45 
       
    46 
       
    47         /**
       
    48         * Two-phased constructor.
       
    49         */
       
    50         static CStartupOperatorAnimation* NewL( CStartupAppUi* aStartupAppUi, const TRect& aRect);
       
    51 
       
    52         /**
       
    53         *  This handles the key events in this control.
       
    54         */
       
    55         TKeyResponse OfferKeyEventL(const TKeyEvent& aKeyEvent, TEventCode aType);
       
    56 
       
    57     private:
       
    58         /**
       
    59         *  C++ default constructor.
       
    60         */
       
    61         CStartupOperatorAnimation( CStartupAppUi* aStartupAppUi );
       
    62 
       
    63         /**
       
    64         *  EPOC default constructor
       
    65         */
       
    66         void ConstructL(const TRect& aRect);
       
    67 
       
    68 		/**
       
    69         *  Is called by Draw()-function and contains
       
    70         *  the drawing intelligence about different states of the execution.
       
    71         */
       
    72         void DoDrawing() const;
       
    73     };
       
    74 
       
    75 #endif      // STARTUPOPERATORANIMATION_H
       
    76             
       
    77 // End of File