equal
deleted
inserted
replaced
|
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 // |
|
15 |
|
16 #ifndef SCRDEVEXTENSION_H_ |
|
17 #define SCRDEVEXTENSION_H_ |
|
18 |
|
19 #include <w32std.h> |
|
20 #include <graphics/testscreencapture.h> |
|
21 |
|
22 |
|
23 class CWsScreenDevice::CScrDevExtension : public CBase, public MTestScreenCapture, public MWsClientClass |
|
24 { |
|
25 public: |
|
26 CScrDevExtension(RWsBuffer *aBuffer,TInt32 aWsHandle); |
|
27 ~CScrDevExtension(); |
|
28 //get a specific interface |
|
29 void* GetInterface(TUint aId); |
|
30 //Access pre-existing data members |
|
31 CFbsTypefaceStore* TypefaceStore(); |
|
32 void SetTypefaceStore(CFbsTypefaceStore*); |
|
33 virtual TInt TranslateExtent(const TRect& aInitial, TRect& aTarget) const; |
|
34 virtual TInt GetCompositedSize(TSize& aSize) const; |
|
35 virtual TInt ComposeScreen(const CFbsBitmap& aBitmap) const; |
|
36 |
|
37 protected: |
|
38 TInt iSupportedExtensionsBits; |
|
39 CFbsTypefaceStore* iTypefaceStore; |
|
40 }; |
|
41 |
|
42 #endif /*SCRDEVEXTENSION_H_*/ |