equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2007-2009 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: Contains (item id, visible) pairs used by AP2 |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 /** |
|
20 * @file ActivePalette2ItemVisible.h |
|
21 * Contains (item id, visible) pairs used by AP2 |
|
22 */ |
|
23 |
|
24 #ifndef _ACTIVE_PALETTE_2_ITEM_VISIBLE_H |
|
25 #define _ACTIVE_PALETTE_2_ITEM_VISIBLE_H |
|
26 |
|
27 #include <e32std.h> |
|
28 |
|
29 /** |
|
30 * Container class to describe (Item ID, visibility) pairs. |
|
31 */ |
|
32 class TActivePalette2ItemVisible |
|
33 { |
|
34 public: |
|
35 /** |
|
36 * Constructor |
|
37 * @param aItemId The Item ID |
|
38 * @param aVisible Whether the item is / should be visible |
|
39 */ |
|
40 IMPORT_C TActivePalette2ItemVisible(TInt aItemId, TBool aVisible); |
|
41 |
|
42 /** |
|
43 * Returns the item ID |
|
44 * @return The item ID |
|
45 */ |
|
46 IMPORT_C TInt ItemId() const; |
|
47 |
|
48 /** |
|
49 * Returns the visibility |
|
50 * @return The visibility of the item |
|
51 */ |
|
52 IMPORT_C TBool Visible() const; |
|
53 |
|
54 private: |
|
55 /** |
|
56 * Constructor. Not for external use. |
|
57 */ |
|
58 TActivePalette2ItemVisible(); |
|
59 |
|
60 /// The item ID |
|
61 TInt iItemId; |
|
62 |
|
63 /// The visibility |
|
64 TBool iVisible; |
|
65 }; |
|
66 |
|
67 |
|
68 #endif // _ACTIVE_PALETTE_2_ITEM_VISIBLE_H |