|
1 // Copyright (c) 2001-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 // - Bodies of classes declared in ImageCodec.h |
|
15 // |
|
16 // |
|
17 |
|
18 #ifndef __ImageCodecBody_h |
|
19 #define __ImageCodecBody_h |
|
20 |
|
21 class CImageProcessorReadCodec; |
|
22 |
|
23 class CImageProcessorReadCodecBody; // declared here |
|
24 /** |
|
25 * |
|
26 * This class is not for public use |
|
27 * |
|
28 */ |
|
29 |
|
30 NONSHARABLE_CLASS( CImageProcessorReadCodecBody ): public CBase |
|
31 { |
|
32 friend class CImageProcessorReadCodec; |
|
33 public: |
|
34 ~CImageProcessorReadCodecBody(); |
|
35 protected: |
|
36 static CImageProcessorReadCodecBody* NewL(); |
|
37 |
|
38 inline CImageProcessor* ImageProcessor() const; |
|
39 void SetImageProcessor(CImageProcessor* aImageProc); |
|
40 |
|
41 inline const TPoint& Pos() const; |
|
42 inline TPoint& Pos(); |
|
43 inline void SetPos(const TPoint& aPos); |
|
44 private: |
|
45 CImageProcessor* iImageProc; |
|
46 TPoint iPos; |
|
47 }; |
|
48 |
|
49 class CImageMaskProcessorReadCodecBody; // declared here |
|
50 /** |
|
51 * |
|
52 * This class is not for public use |
|
53 * |
|
54 */ |
|
55 |
|
56 NONSHARABLE_CLASS( CImageMaskProcessorReadCodecBody ): public CBase |
|
57 { |
|
58 friend class CImageMaskProcessorReadCodec; |
|
59 public: |
|
60 ~CImageMaskProcessorReadCodecBody(); |
|
61 protected: |
|
62 static CImageMaskProcessorReadCodecBody* NewL(); |
|
63 |
|
64 inline CImageProcessor* MaskProcessor() const; |
|
65 void SetMaskProcessor(CImageProcessor* aImageProc); |
|
66 |
|
67 private: |
|
68 CImageProcessor* iMaskProc; |
|
69 }; |
|
70 |
|
71 #include "ImageCodecBody.inl" |
|
72 |
|
73 #endif // __ImageCodecBody_h |
|
74 |