equal
deleted
inserted
replaced
|
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 SymbianParserLib.Engine; |
|
22 using CrashDebuggerLib.Structures; |
|
23 |
|
24 namespace CrashDebuggerLib.Parsers.State |
|
25 { |
|
26 internal abstract class State |
|
27 { |
|
28 #region Constructors |
|
29 protected State( CrashDebuggerParser aParser ) |
|
30 { |
|
31 iParser = aParser; |
|
32 } |
|
33 #endregion |
|
34 |
|
35 #region API |
|
36 public abstract void Prepare(); |
|
37 |
|
38 public virtual void Finalise() |
|
39 { |
|
40 } |
|
41 #endregion |
|
42 |
|
43 #region Properties |
|
44 public ParserEngine ParserEngine |
|
45 { |
|
46 get { return iParserEngine; } |
|
47 set { iParserEngine = value; } |
|
48 } |
|
49 |
|
50 public CrashDebuggerParser Parser |
|
51 { |
|
52 get { return iParser; } |
|
53 } |
|
54 |
|
55 public CrashDebuggerInfo CrashDebugger |
|
56 { |
|
57 get { return Parser.CrashDebugger; } |
|
58 } |
|
59 #endregion |
|
60 |
|
61 #region Data members |
|
62 private ParserEngine iParserEngine = new ParserEngine(); |
|
63 private readonly CrashDebuggerParser iParser; |
|
64 #endregion |
|
65 } |
|
66 } |