|
1 /* |
|
2 * Copyright (c) 2005 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: Implementation of the CSecModUIContainerMain class |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 // INCLUDE FILES |
|
20 #include "SecModUIContainerMain.h" |
|
21 #include "SecModUIModel.h" |
|
22 #include "SecModUILogger.h" |
|
23 #include "wim.hlp.hrh" |
|
24 #include <SecModUI.rsg> |
|
25 #include <aknlists.h> |
|
26 #include <barsread.h> |
|
27 #include <StringLoader.h> |
|
28 |
|
29 |
|
30 // ================= MEMBER FUNCTIONS ======================= |
|
31 CSecModUIContainerMain::CSecModUIContainerMain(CSecModUIModel& aModel) |
|
32 :CSecModUIContainerBase(aModel, KSECMOD_HLP_MAIN_VIEW) |
|
33 { |
|
34 } |
|
35 |
|
36 // Destructor |
|
37 CSecModUIContainerMain::~CSecModUIContainerMain() |
|
38 { |
|
39 LOG_ENTERFN("CSecModUIContainerMain::~CSecModUIContainerMain()"); |
|
40 LOG_LEAVEFN("CSecModUIContainerMain::~CSecModUIContainerMain()"); |
|
41 } |
|
42 |
|
43 // --------------------------------------------------------- |
|
44 // CSecModUIContainerSignature::ConstructListL() |
|
45 // Constructs listbox |
|
46 // --------------------------------------------------------- |
|
47 // |
|
48 void CSecModUIContainerMain::ConstructListL() |
|
49 { |
|
50 iListBox = new (ELeave) CAknDoubleStyleListBox(); |
|
51 } |
|
52 |
|
53 // --------------------------------------------------------- |
|
54 // CSecModUIContainerMain::SetupListItemsL() |
|
55 // Setups list items to listbox. |
|
56 // --------------------------------------------------------- |
|
57 // |
|
58 void CSecModUIContainerMain::SetupListItemsL() |
|
59 { |
|
60 LOG_ENTERFN("CSecModUIContainerMain::SetupListItemsL()"); |
|
61 iModel.LoadTokenLabelsL(*iListBox); |
|
62 LOG_LEAVEFN("CSecModUIContainerMain::SetupListItemsL()"); |
|
63 } |
|
64 |
|
65 // End of File |