| 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 |
| 4 | { |
| 5 | using WixToolset.Data; |
| 6 | |
| 7 | /// <summary> |
| 8 | /// Melts a Module Wix document into a ComponentGroup representation. |
| 9 | /// </summary> |
| 10 | public sealed class MelterCore |
| 11 | { |
| 12 | #if TODO_MELT |
| 13 | /// <summary> |
| 14 | /// Gets whether the melter core encountered an error while processing. |
| 15 | /// </summary> |
| 16 | /// <value>Flag if core encountered an error during processing.</value> |
| 17 | public bool EncounteredError |
| 18 | { |
| 19 | get { return Messaging.Instance.EncounteredError; } |
| 20 | } |
| 21 | |
| 22 | /// <summary> |
| 23 | /// Sends a message to the message delegate if there is one. |
| 24 | /// </summary> |
| 25 | /// <param name="mea">Message event arguments.</param> |
| 26 | public void OnMessage(MessageEventArgs e) |
| 27 | { |
| 28 | Messaging.Instance.OnMessage(e); |
| 29 | } |
| 30 | #endif |
| 31 | } |
| 32 | } |