|
1 /* |
|
2 * Copyright (c) 2007 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: Declaration of Info Listbox Item. |
|
15 * Provides a standard interface for Info Listbox items. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 #ifndef M_CAM_INFOLISTBOXITEM_H |
|
21 #define M_CAM_INFOLISTBOXITEM_H |
|
22 |
|
23 |
|
24 // =========================================================================== |
|
25 // Forward declarations |
|
26 class CFbsBitmap; |
|
27 |
|
28 |
|
29 // =========================================================================== |
|
30 // Class declarations |
|
31 class MCamInfoListboxItem |
|
32 { |
|
33 // ======================================================= |
|
34 public: |
|
35 |
|
36 /** |
|
37 * Returns a pointer to the item text |
|
38 * @since 2.8 |
|
39 * @return Pointer to the item text |
|
40 */ |
|
41 virtual TPtrC ItemText() const = 0; |
|
42 |
|
43 /** |
|
44 * Returns the item's value id |
|
45 * @since 2.8 |
|
46 * @return Value id |
|
47 */ |
|
48 virtual TInt ItemValue() const = 0; |
|
49 |
|
50 /** |
|
51 * Returns a pointer to the item's bitmap |
|
52 * @since 2.8 |
|
53 * @return Pointer to the bitmap |
|
54 */ |
|
55 virtual CFbsBitmap* Bitmap() const = 0; |
|
56 |
|
57 /** |
|
58 * Returns a pointer to the item's bitmap mask |
|
59 * @since 2.8 |
|
60 * @return Pointer to the bitmap mask |
|
61 */ |
|
62 virtual CFbsBitmap* BitmapMask() const = 0; |
|
63 |
|
64 // ======================================================= |
|
65 }; |
|
66 |
|
67 #endif // M_CAM_INFOLISTBOXITEM_H |
|
68 |
|
69 // =========================================================================== |
|
70 // end of file |