windowing/windowserver/test/t_gdcoverage/wsgdcov.h
changeset 0 5d03bc08d59c
equal deleted inserted replaced
-1:000000000000 0:5d03bc08d59c
       
     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".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // calls the CGraphicDrawerCoverage tests
       
    15 // 
       
    16 //
       
    17 
       
    18 /**
       
    19  @file
       
    20  @test
       
    21  @internalComponent - Internal Symbian coverage test code, 
       
    22 */
       
    23 
       
    24 #ifndef __WSGDCOVERAGE_H__
       
    25 #define __WSGDCOVERAGE_H__
       
    26 
       
    27 #include <w32std.h>
       
    28 #include "gdcovcommon.h"
       
    29 
       
    30 NONSHARABLE_CLASS(CWsGdCoverage): public CWsGraphic
       
    31 	{
       
    32 public:		
       
    33 	IMPORT_C static CWsGdCoverage* NewL();
       
    34 	IMPORT_C static CWsGdCoverage* NewL(TInt aScreenId);
       
    35 	IMPORT_C ~CWsGdCoverage();
       
    36 	IMPORT_C TInt RunTest(TInt aCode);
       
    37 	IMPORT_C TInt QueryPlugin(TGdCoverageInfo& aInfo);
       
    38 	IMPORT_C void SetCallBack(TCallBack aCallBack);
       
    39 private:
       
    40 	// override CWsGraphic
       
    41 	virtual void HandleMessage(const TDesC8& aData);
       
    42 	virtual void OnReplace();
       
    43 private:
       
    44 	TBool iIsReady;
       
    45 	TGdCoverageInfo* iReq;
       
    46 	TCallBack iCallBack;
       
    47 	};
       
    48 
       
    49 #endif