graphics/wserv/AnimPlugin/inc/T_TFreeTimerWinAnim.h
branchSymbian2
changeset 1 8758140453c0
child 6 c108117318cb
equal deleted inserted replaced
0:e8c1ea2c6496 1:8758140453c0
       
     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 the License "Symbian Foundation License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.symbianfoundation.org/legal/sfl-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