startupservices/startupanimation/sanimengine/inc/sanimobserver.h
changeset 0 2e3d3ce01487
equal deleted inserted replaced
-1:000000000000 0:2e3d3ce01487
       
     1 /*
       
     2 * Copyright (c) 2007 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:  Declaration of MSAnimObserver class
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef SANIMOBSERVER_H
       
    20 #define SANIMOBSERVER_H
       
    21 
       
    22 #include <e32def.h>
       
    23 
       
    24 class CFbsBitmap;
       
    25 
       
    26 /**
       
    27 *  Observer interface for start-up animation events.
       
    28 *
       
    29 *  @lib None
       
    30 *  @since S60 3.2
       
    31 */
       
    32 class MSAnimObserver
       
    33     {
       
    34 
       
    35 public:
       
    36 
       
    37     /**
       
    38     * Draw an animation frame on the screen with a mask.
       
    39     *
       
    40     * @since S60 3.2
       
    41     *
       
    42     * @param aFrame Contains the animation frame to draw on the screen.
       
    43     * @param aMask Contains mask for the animation frame to draw on the screen.
       
    44     */
       
    45     virtual void UpdateScreen( const CFbsBitmap& aFrame, const CFbsBitmap& aMask ) = 0;
       
    46 
       
    47     /**
       
    48     * Draw an animation frame on the screen without a mask.
       
    49     *
       
    50     * @since S60 3.2
       
    51     *
       
    52     * @param aFrame Contains the animation frame to draw on the screen.
       
    53     */
       
    54     virtual void UpdateScreen( const CFbsBitmap& aFrame ) = 0;
       
    55 
       
    56     };
       
    57 
       
    58 
       
    59 #endif // SANIMOBSERVER_H