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.IO; |
|
19 using System.Collections.Generic; |
|
20 using System.Text; |
|
21 using SymbianUtils; |
|
22 using CrashItemLib; |
|
23 |
|
24 namespace CrashItemLib.PluginAPI |
|
25 { |
|
26 /// <summary> |
|
27 /// Master crash file format (CFF) plugin interface. All crash file formats |
|
28 /// must implement this base class in order to be invoked by Crash Analyser |
|
29 /// </summary> |
|
30 public abstract class CFFPlugin |
|
31 { |
|
32 #region Constructors |
|
33 protected CFFPlugin( CFFDataProvider aDataProvider ) |
|
34 { |
|
35 iDataProvider = aDataProvider; |
|
36 } |
|
37 #endregion |
|
38 |
|
39 #region API |
|
40 public abstract CFFSourceAndConfidence GetConfidence( FileInfo aFile, CFFFileList aOtherFiles ); |
|
41 |
|
42 public abstract void GetSupportedFileTypes( List<CFFFileSpecification> aFileTypes ); |
|
43 #endregion |
|
44 |
|
45 #region Properties |
|
46 public abstract string Name |
|
47 { |
|
48 get; |
|
49 } |
|
50 |
|
51 public CFFDataProvider DataProvider |
|
52 { |
|
53 get { return iDataProvider; } |
|
54 } |
|
55 #endregion |
|
56 |
|
57 #region Data members |
|
58 private readonly CFFDataProvider iDataProvider; |
|
59 #endregion |
|
60 } |
|
61 } |