equal
deleted
inserted
replaced
1 /* |
|
2 * Copyright (c) 2003 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "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 * |
|
14 * Description: Still Image Item for Camera Application Engine |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef CAEIMAGEITEM_H |
|
21 #define CAEIMAGEITEM_H |
|
22 |
|
23 // INCLUDES |
|
24 #include <e32base.h> |
|
25 |
|
26 // FORWARD DECLARATIONS |
|
27 class HBufC8; |
|
28 class CFbsBitmap; |
|
29 |
|
30 // CLASS DECLARATION |
|
31 |
|
32 // An image item class. Can be used in image queues. |
|
33 NONSHARABLE_CLASS( CCaeImageItem ) : public CBase |
|
34 { |
|
35 |
|
36 public: |
|
37 /** |
|
38 * Default constructor. |
|
39 */ |
|
40 CCaeImageItem( RHeap& aImageHeap ); |
|
41 |
|
42 /** |
|
43 * Destructor. |
|
44 */ |
|
45 virtual ~CCaeImageItem(); |
|
46 |
|
47 public: |
|
48 // Bitmap pointer. |
|
49 CFbsBitmap* iBitmap; |
|
50 // Image pointer (not in bitmap format). |
|
51 TAny* iImageData; |
|
52 // Size of iImageData |
|
53 TInt iImageDataSize; |
|
54 // Heap for iImageData |
|
55 RHeap& iImageHeap; |
|
56 // Possible error related to the image (from capturing). |
|
57 TInt iError; |
|
58 |
|
59 }; |
|
60 |
|
61 |
|
62 |
|
63 #endif // CAEIMAGEITEM_H |
|
64 |
|
65 // End of File |
|