OSDN Git Service

WinGui:
[handbrake-jp/handbrake-jp-git.git] / win / C# / HandBrake.ApplicationServices / Services / Interfaces / IErrorService.cs
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
5 \r
6 namespace HandBrake.ApplicationServices.Services.Interfaces\r
7 {\r
8     /// <summary>\r
9     /// The Error service for showing the exception window.\r
10     /// </summary>\r
11     public interface IErrorService\r
12     {\r
13         /// <summary>\r
14         /// Show an Error Window\r
15         /// </summary>\r
16         /// <param name="shortError">\r
17         /// The short error message for the user to read\r
18         /// </param>\r
19         /// <param name="longError">\r
20         /// Exception string or advanced details\r
21         /// </param>\r
22         void ShowError(string shortError, string longError);\r
23 \r
24         /// <summary>\r
25         /// Show a Notice or Warning Message.\r
26         /// </summary>\r
27         /// <param name="notice">\r
28         /// The text to display to the user\r
29         /// </param>\r
30         /// <param name="isWarning">\r
31         /// Is a warning window, show the warning icon instead of the notice\r
32         /// </param>\r
33         void ShowNotice(string notice, bool isWarning);\r
34     }\r
35 }