summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/Services/Interfaces
diff options
context:
space:
mode:
Diffstat (limited to 'win/CS/HandBrakeWPF/Services/Interfaces')
-rw-r--r--win/CS/HandBrakeWPF/Services/Interfaces/IErrorService.cs34
1 files changed, 34 insertions, 0 deletions
diff --git a/win/CS/HandBrakeWPF/Services/Interfaces/IErrorService.cs b/win/CS/HandBrakeWPF/Services/Interfaces/IErrorService.cs
new file mode 100644
index 000000000..cba3a79b3
--- /dev/null
+++ b/win/CS/HandBrakeWPF/Services/Interfaces/IErrorService.cs
@@ -0,0 +1,34 @@
+// --------------------------------------------------------------------------------------------------------------------
+// <copyright file="IErrorService.cs" company="HandBrake Project (http://handbrake.fr)">
+// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License.
+// </copyright>
+// <summary>
+// The Error Service Interface
+// </summary>
+// --------------------------------------------------------------------------------------------------------------------
+
+using System.Windows;
+
+namespace HandBrakeWPF.Services.Interfaces
+{
+ public interface IErrorService
+ {
+ /// <summary>
+ /// Show an Error Window with debug output.
+ /// </summary>
+ /// <param name="message"></param>
+ /// <param name="solution"></param>
+ /// <param name="details"></param>
+ void ShowError(string message, string solution, string details);
+
+ /// <summary>
+ /// Show a Message Box
+ /// </summary>
+ /// <param name="message"></param>
+ /// <param name="header"></param>
+ /// <param name="image"></param>
+ /// <param name="buttons"></param>
+ /// <returns></returns>
+ MessageBoxResult ShowMessageBox(string message, string header, MessageBoxButton buttons, MessageBoxImage image);
+ }
+} \ No newline at end of file