|
1 // Copyright (c) 2006-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 // This is the actual plugin CWsGraphicDrawerCoverage |
|
15 // |
|
16 // |
|
17 |
|
18 /** |
|
19 @file |
|
20 @test |
|
21 @internalComponent - Internal Symbian test coverage code for GraphicDrawer related code |
|
22 */ |
|
23 |
|
24 #ifndef __WSGRAPHICDRAWER_COVERAGE_H__ |
|
25 #define __WSGRAPHICDRAWER_COVERAGE_H__ |
|
26 |
|
27 #include "Graphics/WSGRAPHICDRAWER.H" |
|
28 #include <Graphics/WSGRAPHICDRAWERINTERFACE.H> |
|
29 |
|
30 #include "gdcovcommon.h" |
|
31 |
|
32 NONSHARABLE_CLASS(CWsGraphicDrawerCoverage): public CWsGraphicDrawer |
|
33 { |
|
34 public: |
|
35 enum {EImplUid = 0x10285D5B}; |
|
36 |
|
37 public: |
|
38 static CWsGraphicDrawerCoverage* NewL(); |
|
39 virtual ~CWsGraphicDrawerCoverage(); |
|
40 |
|
41 // override CWsGraphicDrawer |
|
42 virtual void ConstructL(MWsGraphicDrawerEnvironment& aEnv,const TGraphicDrawerId& aId, MWsClient& aOwner, const TDesC8& aData); |
|
43 virtual void HandleMessage(const TDesC8& aData); |
|
44 private: |
|
45 // override CWsGraphicDrawer |
|
46 virtual void DoDraw(MWsGc& aGc, const TRect& aRect, const TDesC8& aData) const; |
|
47 void SendInfo(); |
|
48 |
|
49 TInt iScreenId; |
|
50 }; |
|
51 |
|
52 #endif |