Added getstrike.net

This commit is contained in:
zone117x
2015-04-25 13:37:03 -06:00
parent 8cf45a5e45
commit 9a4c5ffe5c
6 changed files with 22 additions and 16 deletions

View File

@@ -10,22 +10,23 @@ namespace Jackett
{
public interface IndexerInterface
{
// Invoked when the indexer configuration has been applied and verified so the cookie needs to be saved
event Action<IndexerInterface, JToken> OnSaveConfigurationRequested;
string DisplayName { get; }
string DisplayDescription { get; }
Uri SiteLink { get; }
// Whether this indexer has been configured, verified and saved in the past and has the settings required for functioning
bool IsConfigured { get; }
// Retrieved for starting setup for the indexer via web API
Task<ConfigurationData> GetConfigurationForSetup();
// Called when web API wants to apply setup configuration via web API, usually this is where login and storing cookie happens
Task ApplyConfiguration(JToken configJson);
// Invoked when the indexer configuration has been applied and verified so the cookie needs to be saved
event Action<IndexerInterface, JToken> OnSaveConfigurationRequested;
// Whether this indexer has been configured, verified and saved in the past and has the settings required for functioning
bool IsConfigured { get; }
// Called on startup when initializing indexers from saved configuration
void LoadFromSavedConfiguration(JToken jsonConfig);