2010-10-08 05:35:04 +02:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
2010-10-21 03:49:23 +02:00
|
|
|
|
using NzbDrone.Core.Model.Notification;
|
2010-10-08 05:35:04 +02:00
|
|
|
|
|
|
|
|
|
namespace NzbDrone.Core.Providers
|
|
|
|
|
{
|
|
|
|
|
public interface INotificationProvider
|
|
|
|
|
{
|
|
|
|
|
void Register(ProgressNotification notification);
|
|
|
|
|
void Register(BasicNotification notification);
|
|
|
|
|
|
|
|
|
|
List<BasicNotification> BasicNotifications { get; }
|
2010-10-12 04:49:27 +02:00
|
|
|
|
List<ProgressNotification> GetProgressNotifications { get; }
|
2010-10-08 05:35:04 +02:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Dismisses a notification based on its ID.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="notificationId">notification id.</param>
|
|
|
|
|
void Dismiss(Guid notificationId);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|