crashanalysercmd/Libraries/Engine/CrashItemLib/Crash/Telephony/CITelephony.cs
changeset 0 818e61de6cd1
equal deleted inserted replaced
-1:000000000000 0:818e61de6cd1
       
     1 /*
       
     2 * Copyright (c) 2009 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 using System;
       
    18 using System.Text;
       
    19 using System.Collections.Generic;
       
    20 using CrashItemLib.Crash;
       
    21 using CrashItemLib.Crash.Base;
       
    22 using CrashItemLib.Crash.Base.DataBinding;
       
    23 using SymbianUtils.Range;
       
    24 using SymbianStructuresLib.Uids;
       
    25 using SymbianUtils.DataBuffer;
       
    26 using CrashItemLib.Crash.Container;
       
    27 
       
    28 namespace CrashItemLib.Crash.Telephony
       
    29 {
       
    30     [CIDBAttributeColumn( "Name", 0 )]
       
    31     [CIDBAttributeColumn( "Value", 1, true )]
       
    32     public class CITelephony : CIElement
       
    33     {
       
    34         #region Constructors
       
    35         public CITelephony( CIContainer aContainer )
       
    36             : base( aContainer )
       
    37 		{
       
    38             iNetworkInfo = new CITelephonyNetworkInfo( this );
       
    39 		}
       
    40 		#endregion
       
    41 
       
    42         #region API
       
    43         #endregion
       
    44 
       
    45         #region Properties
       
    46         [CIDBAttributeCell( "Phone Number", 1, "", "" )]
       
    47         public string PhoneNumber
       
    48         {
       
    49             get { return iPhoneNumber; }
       
    50             set { iPhoneNumber = value; }
       
    51         }
       
    52 
       
    53         [CIDBAttributeCell( "IMEI", 2, "", "" )]
       
    54         public string IMEI
       
    55         {
       
    56             get { return iIMEI; }
       
    57             set { iIMEI = value; }
       
    58         }
       
    59 
       
    60         [CIDBAttributeCell( "IMSI", 3, "", "" )]
       
    61         public string IMSI
       
    62         {
       
    63             get { return iIMSI; }
       
    64             set { iIMSI = value; }
       
    65         }
       
    66 
       
    67         [CIDBAttributeCell( CIDBAttributeCell.TOptions.EAutoExpand )]
       
    68         public CITelephonyNetworkInfo NetworkInfo
       
    69         {
       
    70             get { return iNetworkInfo; }
       
    71         }
       
    72         #endregion
       
    73 
       
    74         #region Internal methods
       
    75         #endregion
       
    76 
       
    77         #region Data members
       
    78         private readonly CITelephonyNetworkInfo iNetworkInfo;
       
    79         private string iPhoneNumber = string.Empty;
       
    80         private string iIMEI = string.Empty;
       
    81         private string iIMSI = string.Empty;
       
    82         #endregion
       
    83     }
       
    84 }