graphicsapitest/graphicssvs/wserv/AnimPlugin/inc/T_TFreeTimerWinAnim.h
changeset 103 2717213c588a
parent 98 bf7481649c98
child 116 171fae344dd4
child 121 d72fc2aace31
child 187 9f66f99ee56f
equal deleted inserted replaced
98:bf7481649c98 103:2717213c588a
     1 /*
       
     2 * Copyright (c) 2005-2009 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 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef CFREETIMERWINANIM_H
       
    20 #define CFREETIMERWINANIM_H
       
    21 
       
    22 // INCLUDES
       
    23 #include <e32std.h>
       
    24 #include <e32base.h>
       
    25 #include <w32adll.h>
       
    26 // CLASS DECLARATION
       
    27 
       
    28 /**
       
    29  * CTFreeTimerWinAnim
       
    30  *
       
    31  */
       
    32 class CTFreeTimerWinAnim : public CFreeTimerWindowAnim
       
    33 	{
       
    34 public:
       
    35 	CTFreeTimerWinAnim();
       
    36 	~CTFreeTimerWinAnim();
       
    37 
       
    38 	//from CAnim
       
    39 	virtual TInt CommandReplyL(TInt aOpcode, TAny *aArgs);
       
    40 	virtual void Command(TInt aOpcode, TAny *aArgs);
       
    41 	virtual void Animate(TDateTime *aDateTime);
       
    42 	//from MEventHandler
       
    43 	virtual TBool OfferRawEvent(const TRawEvent &aRawEvent);
       
    44 	//from CWindowAnim
       
    45 	virtual void ConstructL(TAny *aArgs, TBool aHasFocus);
       
    46 	virtual void Redraw();
       
    47 	virtual void FocusChanged(TBool aState);
       
    48 	
       
    49 private:
       
    50 	TBool iResult;
       
    51 	TInt iCurrentCommand;
       
    52 	TRect iScreenSize;		// The screen size
       
    53 	}; // class CTFreeTimerWinAnim
       
    54 
       
    55 #endif // CFREETIMERWINANIM_H