os/graphics/windowing/windowserver/test/t_ratelimiter/tratelimitdrawer/wsratelimitdrawer.h
Update contrib.
     1 // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
 
     2 // All rights reserved.
 
     3 // This component and the accompanying materials are made available
 
     4 // under the terms of "Eclipse Public License v1.0"
 
     5 // which accompanies this distribution, and is available
 
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
 
     8 // Initial Contributors:
 
     9 // Nokia Corporation - initial contribution.
 
    14 // Test GraphicTestFrameRate plugins
 
    20  @test - Test plug-in to test wsgraphic animation artwork framerate with rate limiting renterstage enabled
 
    21  @internalComponent - Internal Symbian test code
 
    24 #ifndef WSRATELIMITDRAWER_H_
 
    25 #define WSRATELIMITDRAWER_H_
 
    29 const TUid KRateLimitDrawerInterfaceId = {0x102869F5};
 
    30 const TUid KRateLimitDrawerImplId = {0x102869F6};
 
    33 Holds draw count values of two different animations
 
    35 NONSHARABLE_STRUCT(TAnimData)
 
    40 /** Client representation of a test anim that displays its frame-rate
 
    45 NONSHARABLE_CLASS(CWsRateLimitGraphic): public CWsGraphic
 
    49 	IMPORT_C static CWsRateLimitGraphic* NewL(TUid aUid);
 
    50 	IMPORT_C static CWsRateLimitGraphic* NewL();
 
    51 	IMPORT_C ~CWsRateLimitGraphic();
 
    52 	IMPORT_C TInt QueryPluginForFrameRate(TAnimData& aCount);
 
    54 	CWsRateLimitGraphic();
 
    55 	void HandleMessage(const TDesC8& aData);
 
    61 #endif /*WSRATELIMITDRAWER_H_*/