mirror of
https://github.com/lidarr/Lidarr
synced 2024-12-29 02:55:38 +00:00
23 lines
646 B
C#
23 lines
646 B
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using NzbDrone.Core.Entities.Notification;
|
|||
|
|
|||
|
namespace NzbDrone.Core.Providers
|
|||
|
{
|
|||
|
public interface INotificationProvider
|
|||
|
{
|
|||
|
void Register(ProgressNotification notification);
|
|||
|
void Register(BasicNotification notification);
|
|||
|
|
|||
|
List<BasicNotification> BasicNotifications { get; }
|
|||
|
List<ProgressNotification> ProgressNotifications { get; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// Dismisses a notification based on its ID.
|
|||
|
/// </summary>
|
|||
|
/// <param name="notificationId">notification id.</param>
|
|||
|
void Dismiss(Guid notificationId);
|
|||
|
|
|||
|
}
|
|||
|
}
|