crashanalysercmd/PerfToolsSharedLibraries/Engine/SymbianImageLib/Common/Header/SIHeader.cs
equal
deleted
inserted
replaced
|
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.Collections.Generic; |
|
19 using System.Text; |
|
20 using System.IO; |
|
21 using SymbianUtils.Tracer; |
|
22 using SymbianImageLib.Common.Image; |
|
23 using SymbianStructuresLib.Compression.Common; |
|
24 |
|
25 namespace SymbianImageLib.Common.Header |
|
26 { |
|
27 public abstract class SIHeader : ITracer |
|
28 { |
|
29 #region Constructors |
|
30 protected SIHeader( SIImage aImage ) |
|
31 { |
|
32 iImage = aImage; |
|
33 } |
|
34 #endregion |
|
35 |
|
36 #region Framework API |
|
37 public abstract TSymbianCompressionType CompressionType |
|
38 { |
|
39 get; |
|
40 } |
|
41 |
|
42 public abstract uint HeaderSize |
|
43 { |
|
44 get; |
|
45 } |
|
46 #endregion |
|
47 |
|
48 #region Properties |
|
49 public SIImage Image |
|
50 { |
|
51 get { return iImage; } |
|
52 } |
|
53 #endregion |
|
54 |
|
55 #region From ITracer |
|
56 public void Trace( string aMessage ) |
|
57 { |
|
58 iImage.Trace( aMessage ); |
|
59 } |
|
60 |
|
61 public void Trace( string aFormat, params object[] aParams ) |
|
62 { |
|
63 iImage.Trace( aFormat, aParams ); |
|
64 } |
|
65 #endregion |
|
66 |
|
67 #region Data members |
|
68 private readonly SIImage iImage; |
|
69 #endregion |
|
70 } |
|
71 } |