crashanalysercmd/PerfToolsSharedLibraries/Engine/SymbianDebugLib/Entity/Primer/DbgEntityPrimerNull.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.IO;
       
    19 using System.Collections.Generic;
       
    20 using System.Text;
       
    21 using System.Threading;
       
    22 using SymbianUtils;
       
    23 using SymbianUtils.PluginManager;
       
    24 using SymbianUtils.FileSystem;
       
    25 using SymbianUtils.Settings;
       
    26 using SymbianDebugLib.Engine;
       
    27 using SymbianDebugLib.PluginAPI;
       
    28 
       
    29 namespace SymbianDebugLib.Entity.Primer
       
    30 {
       
    31     internal class DbgEntityPrimerNull : IDbgEntityPrimer
       
    32     {
       
    33         #region Constructors
       
    34         public DbgEntityPrimerNull( DbgEntity aEntity )
       
    35         {
       
    36             iEntity = aEntity;
       
    37         }
       
    38         #endregion
       
    39 
       
    40         #region From IDbgEntityPrimer
       
    41         public void Prime( TSynchronicity aSynchronicity )
       
    42         {
       
    43             // Doesn't do anything
       
    44             iEntity.OnPrimeStart( this );
       
    45             iEntity.OnPrimeComplete( this );
       
    46         }
       
    47 
       
    48         public string PrimeErrorMessage
       
    49         {
       
    50             get { return string.Empty; }
       
    51         }
       
    52 
       
    53         public Exception PrimeException
       
    54         {
       
    55             get { return null; }
       
    56             internal set { }
       
    57         }
       
    58         #endregion
       
    59 
       
    60         #region Properties
       
    61         #endregion
       
    62 
       
    63         #region Internal methods
       
    64         #endregion
       
    65 
       
    66         #region Data members
       
    67         private readonly DbgEntity iEntity;
       
    68         #endregion
       
    69     }
       
    70 }