1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2025-01-27 11:21:43 +02:00
Sonarr/NzbDrone.Core/Providers/INotificationProvider.cs

23 lines
646 B
C#
Raw Normal View History

using System;
using System.Collections.Generic;
using NzbDrone.Core.Model.Notification;
namespace NzbDrone.Core.Providers
{
public interface INotificationProvider
{
void Register(ProgressNotification notification);
void Register(BasicNotification notification);
List<BasicNotification> BasicNotifications { get; }
2010-10-11 19:49:27 -07:00
List<ProgressNotification> GetProgressNotifications { get; }
/// <summary>
/// Dismisses a notification based on its ID.
/// </summary>
/// <param name="notificationId">notification id.</param>
void Dismiss(Guid notificationId);
}
}