crashanalysercmd/PerfToolsSharedLibraries/Engine/SymbianCodeLib/SourceManagement/Source/CodeSourceAndCollection.cs
changeset 0 818e61de6cd1
equal deleted inserted replaced
-1:000000000000 0:818e61de6cd1
       
     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.Code;
       
    23 using SymbianStructuresLib.CodeSegments;
       
    24 using SymbianCodeLib.DbgEnginePlugin;
       
    25 
       
    26 namespace SymbianCodeLib.SourceManagement.Source
       
    27 {
       
    28     public class CodeSourceAndCollection
       
    29     {
       
    30         #region Constructors
       
    31         internal CodeSourceAndCollection( CodeSource aSource, CodeCollection aCollection )
       
    32         {
       
    33             System.Diagnostics.Debug.Assert( aSource != null && aCollection != null );
       
    34             //
       
    35             iSource = aSource;
       
    36             iCollection = aCollection;
       
    37         }
       
    38 
       
    39         internal CodeSourceAndCollection( CodeSourceAndCollection aCopy )
       
    40         {
       
    41             iSource = aCopy.Source;
       
    42             iCollection = aCopy.Collection;
       
    43         }
       
    44 
       
    45         internal CodeSourceAndCollection( CodeSourceAndCollection aCopy, CodeCollection aCollection )
       
    46         {
       
    47             iSource = aCopy.Source;
       
    48             iCollection = aCollection;
       
    49         }
       
    50         #endregion
       
    51         
       
    52         #region Properties
       
    53         public CodeSource Source
       
    54         {
       
    55             get { return iSource; }
       
    56             internal set { iSource = value; }
       
    57         }
       
    58 
       
    59         public CodeCollection Collection
       
    60         {
       
    61             get { return iCollection; }
       
    62             internal set { iCollection = value; }
       
    63         }
       
    64         #endregion
       
    65 
       
    66         #region Data members
       
    67         private CodeSource iSource;
       
    68         private CodeCollection iCollection;
       
    69         #endregion
       
    70     }
       
    71 }