equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2004-2008 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: |
|
15 * |
|
16 */ |
|
17 |
|
18 using System; |
|
19 using System.Text; |
|
20 using System.IO; |
|
21 using System.Collections.Generic; |
|
22 using System.Windows.Forms; |
|
23 using SymbianUtils.Settings; |
|
24 |
|
25 namespace CrashAnalyser.Menu |
|
26 { |
|
27 internal class CAMenuItemList |
|
28 { |
|
29 #region Constructors |
|
30 public CAMenuItemList( CAMenuManager aManager ) |
|
31 { |
|
32 iManager = aManager; |
|
33 } |
|
34 #endregion |
|
35 |
|
36 #region API |
|
37 public void Add( CAMenuItem aItem ) |
|
38 { |
|
39 iItems.Add( aItem ); |
|
40 } |
|
41 |
|
42 public void Activate() |
|
43 { |
|
44 foreach ( CAMenuItem item in iItems ) |
|
45 { |
|
46 item.Activate(); |
|
47 } |
|
48 } |
|
49 |
|
50 public void Deactivate() |
|
51 { |
|
52 foreach ( CAMenuItem item in iItems ) |
|
53 { |
|
54 item.Deactivate(); |
|
55 } |
|
56 } |
|
57 #endregion |
|
58 |
|
59 #region Properties |
|
60 #endregion |
|
61 |
|
62 #region Internal methods |
|
63 #endregion |
|
64 |
|
65 #region Data members |
|
66 private readonly CAMenuManager iManager; |
|
67 private List<CAMenuItem> iItems = new List<CAMenuItem>(); |
|
68 #endregion |
|
69 } |
|
70 } |