Added more stubbed mothods and providers

This commit is contained in:
Keivan
2010-09-28 13:44:33 -07:00
parent 8d47bcbe5e
commit bca2e0c6b1
7 changed files with 75 additions and 3 deletions

View File

@@ -0,0 +1,22 @@
using System;
using System.Collections.Generic;
using NzbDrone.Core.Repository;
namespace NzbDrone.Core.Providers
{
public interface IEpisodeProvider
{
Episode GetEpisode(long id);
Episode SaveEpisode(Episode episode);
IList<Episode> GetEpisodesBySeason(long seasonId);
IList<Episode> GetEpisodeBySeries(long seriesId);
String GetSabTitle(Episode episode);
/// <summary>
/// Comprehensive check on whether or not this episode is needed.
/// </summary>
/// <param name="episode">Episode that needs to be checked</param>
/// <returns></returns>
bool IsNeeded(Episode episode);
}
}