|
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.Collections.Generic; |
|
20 using System.Text; |
|
21 using SymbianUtils; |
|
22 using SymbianStructuresLib.Debug.Symbols; |
|
23 using SymbianStructuresLib.CodeSegments; |
|
24 using SymbianSymbolLib.DbgEnginePlugin; |
|
25 |
|
26 namespace SymbianSymbolLib.SourceManagement.Source |
|
27 { |
|
28 public class SymSourceAndCollection |
|
29 { |
|
30 #region Constructors |
|
31 internal SymSourceAndCollection( SymSource aSource, SymbolCollection aCollection ) |
|
32 { |
|
33 System.Diagnostics.Debug.Assert( aSource != null && aCollection != null ); |
|
34 // |
|
35 iSource = aSource; |
|
36 iCollection = aCollection; |
|
37 } |
|
38 |
|
39 internal SymSourceAndCollection( SymSourceAndCollection aCopy ) |
|
40 { |
|
41 iSource = aCopy.Source; |
|
42 iCollection = aCopy.Collection; |
|
43 } |
|
44 |
|
45 internal SymSourceAndCollection( SymSourceAndCollection aCopy, SymbolCollection aCollection ) |
|
46 { |
|
47 iSource = aCopy.Source; |
|
48 iCollection = aCollection; |
|
49 } |
|
50 #endregion |
|
51 |
|
52 #region Properties |
|
53 public SymSource Source |
|
54 { |
|
55 get { return iSource; } |
|
56 internal set { iSource = value; } |
|
57 } |
|
58 |
|
59 public SymbolCollection Collection |
|
60 { |
|
61 get { return iCollection; } |
|
62 internal set { iCollection = value; } |
|
63 } |
|
64 #endregion |
|
65 |
|
66 #region Data members |
|
67 private SymSource iSource; |
|
68 private SymbolCollection iCollection; |
|
69 #endregion |
|
70 } |
|
71 } |