SabController - Removed AddByPath, Completed AddByUrl and IsInQueue

Created SabControllerTest - Added AddByPath Test (Needs more work)
Added, Episode, FeedItem, ItemInfo and Site classes to store information
This commit is contained in:
markus101
2010-09-26 19:20:42 -07:00
parent f5cf44c2b3
commit a427f9c16d
9 changed files with 329 additions and 15 deletions

View File

@@ -2,12 +2,13 @@
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NzbDrone.Core.Repository;
namespace NzbDrone.Core.Controllers
{
public interface IDownloadClientController
{
string AddByUrl(string url); //Should accept something other than string (NzbInfo?) returns result if applicable
bool IsInQueue(string goodName);//Should accept something other than string (Episode?) returns bool
bool AddByUrl(ItemInfo nzb); //Should accept something other than string (NzbInfo?) returns success or failure
bool IsInQueue(Episode episode);//Should accept something other than string (Episode?) returns bool
}
}