main
cs 28 lines 866 Bytes
Raw
1 // Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information.
2
3 namespace WixToolset.Extensibility
4 {
5 using WixToolset.Extensibility.Data;
6
7 /// <summary>
8 /// Interface all layout extensions implement.
9 /// </summary>
10 public interface ILayoutExtension
11 {
12 /// <summary>
13 /// Called before layout occurs.
14 /// </summary>
15 void PreLayout(ILayoutContext context);
16
17 #pragma warning disable 1591 // TODO: add documentation
18 bool CopyFile(string source, string destination);
19
20 bool MoveFile(string source, string destination);
21 #pragma warning restore 1591
22
23 /// <summary>
24 /// Called after all layout occurs.
25 /// </summary>
26 void PostLayout();
27 }
28 }