From 20fd52b888f111ac2d7670fa3c41e495661cdebd Mon Sep 17 00:00:00 2001 From: sr55 Date: Tue, 27 Dec 2011 18:41:31 +0000 Subject: WinGui: (WPF) Initial work to implement the "Queue" and "Add Preset" Windows. Additional setup work around the main window. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4389 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- .../Services/Interfaces/IErrorService.cs | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 win/CS/HandBrakeWPF/Services/Interfaces/IErrorService.cs (limited to 'win/CS/HandBrakeWPF/Services/Interfaces') 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 @@ +// -------------------------------------------------------------------------------------------------------------------- +// +// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License. +// +// +// The Error Service Interface +// +// -------------------------------------------------------------------------------------------------------------------- + +using System.Windows; + +namespace HandBrakeWPF.Services.Interfaces +{ + public interface IErrorService + { + /// + /// Show an Error Window with debug output. + /// + /// + /// + /// + void ShowError(string message, string solution, string details); + + /// + /// Show a Message Box + /// + /// + /// + /// + /// + /// + MessageBoxResult ShowMessageBox(string message, string header, MessageBoxButton buttons, MessageBoxImage image); + } +} \ No newline at end of file -- cgit v1.2.3