You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
646 B
23 lines
646 B
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; }
|
|
List<ProgressNotification> GetProgressNotifications { get; }
|
|
|
|
/// <summary>
|
|
/// Dismisses a notification based on its ID.
|
|
/// </summary>
|
|
/// <param name="notificationId">notification id.</param>
|
|
void Dismiss(Guid notificationId);
|
|
|
|
}
|
|
}
|