2014-08-18 05:25:00 +03:00
|
|
|
using System;
|
|
|
|
using NzbDrone.Core.ThingiProvider;
|
2013-02-21 10:07:34 +03:00
|
|
|
|
|
|
|
namespace NzbDrone.Core.Indexers
|
|
|
|
{
|
2013-09-21 10:09:26 +03:00
|
|
|
public class IndexerDefinition : ProviderDefinition
|
2013-02-21 10:07:34 +03:00
|
|
|
{
|
2014-08-18 05:25:00 +03:00
|
|
|
public Boolean EnableRss { get; set; }
|
|
|
|
public Boolean EnableSearch { get; set; }
|
2014-04-19 18:09:22 +03:00
|
|
|
public DownloadProtocol Protocol { get; set; }
|
2014-08-18 05:25:00 +03:00
|
|
|
public Boolean SupportsRss { get; set; }
|
|
|
|
public Boolean SupportsSearch { get; set; }
|
|
|
|
|
|
|
|
public override Boolean Enable
|
|
|
|
{
|
|
|
|
get
|
|
|
|
{
|
|
|
|
return EnableRss || EnableSearch;
|
|
|
|
}
|
|
|
|
}
|
2013-02-21 10:07:34 +03:00
|
|
|
}
|
2014-07-04 11:09:48 +03:00
|
|
|
}
|