1 /* IErrorService.cs $
\r
2 This file is part of the HandBrake source code.
\r
3 Homepage: <http://handbrake.fr>.
\r
4 It may be used under the terms of the GNU General Public License. */
\r
6 namespace HandBrake.ApplicationServices.Services.Interfaces
\r
9 /// The Error service for showing the exception window.
\r
11 public interface IErrorService
\r
14 /// Show an Error Window
\r
16 /// <param name="shortError">
\r
17 /// The short error message for the user to read
\r
19 /// <param name="longError">
\r
20 /// Exception string or advanced details
\r
22 void ShowError(string shortError, string longError);
\r
25 /// Show a Notice or Warning Message.
\r
27 /// <param name="notice">
\r
28 /// The text to display to the user
\r
30 /// <param name="isWarning">
\r
31 /// Is a warning window, show the warning icon instead of the notice
\r
33 void ShowNotice(string notice, bool isWarning);
\r