|
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: Contains (item id, visible) pairs used by AP2* |
|
15 */ |
|
16 |
|
17 |
|
18 /** |
|
19 * @file ActivePalette2ItemVisible.cpp |
|
20 * Contains (item id, visible) pairs used by AP2 |
|
21 */ |
|
22 |
|
23 |
|
24 #include <activepalette2itemvisible.h> |
|
25 |
|
26 |
|
27 // ----------------------------------------------------------------------------- |
|
28 // TActivePalette2ItemVisible::TActivePalette2ItemVisible() |
|
29 // ----------------------------------------------------------------------------- |
|
30 // |
|
31 EXPORT_C TActivePalette2ItemVisible::TActivePalette2ItemVisible(TInt aItemId, TBool aVisible) |
|
32 : iItemId(aItemId), |
|
33 iVisible(aVisible) |
|
34 { |
|
35 // No implementation required |
|
36 } |
|
37 |
|
38 |
|
39 // ----------------------------------------------------------------------------- |
|
40 // TActivePalette2ItemVisible::ItemId() |
|
41 // ----------------------------------------------------------------------------- |
|
42 // |
|
43 EXPORT_C TInt TActivePalette2ItemVisible::ItemId() const |
|
44 { |
|
45 return iItemId; |
|
46 } |
|
47 |
|
48 // ----------------------------------------------------------------------------- |
|
49 // TActivePalette2ItemVisible::Visible() |
|
50 // ----------------------------------------------------------------------------- |
|
51 // |
|
52 EXPORT_C TBool TActivePalette2ItemVisible::Visible() const |
|
53 { |
|
54 return iVisible; |
|
55 } |
|
56 |
|
57 // ----------------------------------------------------------------------------- |
|
58 // TActivePalette2ItemVisible::TActivePalette2ItemVisible() |
|
59 // ----------------------------------------------------------------------------- |
|
60 // |
|
61 TActivePalette2ItemVisible::TActivePalette2ItemVisible() |
|
62 : iItemId(0), |
|
63 iVisible(EFalse) |
|
64 { |
|
65 // No implementation required |
|
66 } |