mirror of
https://github.com/greenshot/greenshot
synced 2025-07-16 10:03:44 -07:00
This reduces the native code in favor of another library so there is less to maintain.
This commit is contained in:
parent
e174a9a36b
commit
24c9b8fb36
20 changed files with 42 additions and 1108 deletions
|
@ -32,27 +32,27 @@ namespace GreenshotPlugin.Interfaces
|
|||
/// This will show a warning message to the user
|
||||
/// </summary>
|
||||
/// <param name="message">string</param>
|
||||
/// <param name="timeout"></param>
|
||||
/// <param name="timeout">TimeSpan</param>
|
||||
/// <param name="onClickAction">Action called if the user clicks the notification</param>
|
||||
/// <param name="onClosedAction">Action</param>
|
||||
void ShowWarningMessage(string message, int timeout, Action onClickAction = null, Action onClosedAction = null);
|
||||
void ShowWarningMessage(string message, TimeSpan? timeout = null, Action onClickAction = null, Action onClosedAction = null);
|
||||
|
||||
/// <summary>
|
||||
/// This will show an error message to the user
|
||||
/// </summary>
|
||||
/// <param name="message">string</param>
|
||||
/// <param name="timeout"></param>
|
||||
/// <param name="timeout">TimeSpan</param>
|
||||
/// <param name="onClickAction">Action called if the user clicks the notification</param>
|
||||
/// <param name="onClosedAction">Action</param>
|
||||
void ShowErrorMessage(string message, int timeout, Action onClickAction = null, Action onClosedAction = null);
|
||||
void ShowErrorMessage(string message, TimeSpan? timeout = null, Action onClickAction = null, Action onClosedAction = null);
|
||||
|
||||
/// <summary>
|
||||
/// This will show an info message to the user
|
||||
/// </summary>
|
||||
/// <param name="message">string</param>
|
||||
/// <param name="timeout">int</param>
|
||||
/// <param name="timeout">TimeSpan</param>
|
||||
/// <param name="onClickAction">Action called if the user clicks the notification</param>
|
||||
/// <param name="onClosedAction">Action</param>
|
||||
void ShowInfoMessage(string message, int timeout, Action onClickAction = null, Action onClosedAction = null);
|
||||
void ShowInfoMessage(string message, TimeSpan? timeout = null, Action onClickAction = null, Action onClosedAction = null);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue