equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2010 Ixonos Plc. |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of the "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - Initial contribution |
|
11 * |
|
12 * Contributors: |
|
13 * Ixonos Plc |
|
14 * |
|
15 * Description: |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 #ifndef __CFILTERBUFFER_H__ |
|
21 #define __CFILTERBUFFER_H__ |
|
22 |
|
23 #include <e32base.h> |
|
24 #include "MImageFilter.h" |
|
25 #include <fbs.h> |
|
26 |
|
27 class CFilterBuffer |
|
28 : public CBase |
|
29 , public MImageFilter |
|
30 { |
|
31 public: |
|
32 IMPORT_C static TInt Create(); |
|
33 virtual ~CFilterBuffer(); |
|
34 |
|
35 private: |
|
36 static CFilterBuffer* NewL(); |
|
37 CFilterBuffer(); |
|
38 void ConstructL(); |
|
39 |
|
40 public: // MImageFilter |
|
41 virtual TRect Rect(); |
|
42 virtual TReal Scale(); |
|
43 virtual TSize ViewPortSize(); |
|
44 virtual TBlock * GetBlockL ( const TRect & aRect ); |
|
45 virtual void SetParent( MImageFilter* aParent ); |
|
46 virtual void SetChild( MImageFilter* aChild ); |
|
47 virtual TInt CmdL( const TDesC16& aCmd ); |
|
48 virtual const char* Type(); |
|
49 |
|
50 private: // Data |
|
51 |
|
52 |
|
53 TUint32* iBuffer; |
|
54 TSize iSize; |
|
55 TRect iRect; |
|
56 |
|
57 }; |
|
58 |
|
59 #endif |