aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Extensibility/IDecompilerExtension.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/WixToolset.Extensibility/IDecompilerExtension.cs')
-rw-r--r--src/WixToolset.Extensibility/IDecompilerExtension.cs37
1 files changed, 6 insertions, 31 deletions
diff --git a/src/WixToolset.Extensibility/IDecompilerExtension.cs b/src/WixToolset.Extensibility/IDecompilerExtension.cs
index e2b80089..9ea4290b 100644
--- a/src/WixToolset.Extensibility/IDecompilerExtension.cs
+++ b/src/WixToolset.Extensibility/IDecompilerExtension.cs
@@ -2,46 +2,21 @@
2 2
3namespace WixToolset.Extensibility 3namespace WixToolset.Extensibility
4{ 4{
5 using WixToolset.Extensibility.Data;
6
5 /// <summary> 7 /// <summary>
6 /// Base class for creating a decompiler extension. 8 /// Base class for creating a decompiler extension.
7 /// </summary> 9 /// </summary>
8 public interface IDecompilerExtension 10 public interface IDecompilerExtension
9 { 11 {
10 /// <summary> 12 /// <summary>
11 /// Gets or sets the decompiler core for the extension. 13 /// Called before decompiling occurs.
12 /// </summary>
13 /// <value>The decompiler core for the extension.</value>
14 IDecompilerCore Core { get; set; }
15
16 /// <summary>
17 /// Gets the table definitions this extension decompiles.
18 /// </summary>
19 /// <value>Table definitions this extension decompiles.</value>
20 //TableDefinitionCollection TableDefinitions { get; }
21
22 /// <summary>
23 /// Gets the library that this decompiler wants removed from the decomipiled output.
24 /// </summary>
25 /// <param name="tableDefinitions">The table definitions to use while loading the library.</param>
26 /// <returns>The library for this extension or null if there is no library to be removed.</returns>
27 //Library GetLibraryToRemove(TableDefinitionCollection tableDefinitions);
28
29 /// <summary>
30 /// Called at the beginning of the decompilation of a database.
31 /// </summary>
32 /// <param name="tables">The collection of all tables.</param>
33 //void Initialize(TableIndexedCollection tables);
34
35 /// <summary>
36 /// Decompiles an extension table.
37 /// </summary> 14 /// </summary>
38 /// <param name="table">The table to decompile.</param> 15 void PreDecompile(IDecompileContext context);
39 //void DecompileTable(Table table);
40 16
41 /// <summary> 17 /// <summary>
42 /// Finalize decompilation. 18 /// Called after all decompiling occurs.
43 /// </summary> 19 /// </summary>
44 /// <param name="tables">The collection of all tables.</param> 20 void PostDecompile(DecompileResult result);
45 //void Finish(TableIndexedCollection tables);
46 } 21 }
47} 22}