2010-10-08 03:35:04 +00:00
|
|
|
|
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; }
|
2010-10-12 02:49:27 +00:00
|
|
|
|
List<ProgressNotification> GetProgressNotifications { get; }
|
2010-10-08 03:35:04 +00:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Dismisses a notification based on its ID.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="notificationId">notification id.</param>
|
|
|
|
|
void Dismiss(Guid notificationId);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|