Adding a plugin manager

This commit is contained in:
Zoe Roux
2020-01-18 00:42:49 +01:00
parent 1b68b1a096
commit 9d37426764
32 changed files with 113 additions and 93 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
using System.Threading;
using System.Threading.Tasks;
namespace Kyoo.InternalAPI
namespace Kyoo.Controllers
{
public interface ICrawler
{
+1 -1
View File
@@ -2,7 +2,7 @@
using Kyoo.Models.Watch;
using System.Collections.Generic;
namespace Kyoo.InternalAPI
namespace Kyoo.Controllers
{
public interface ILibraryManager
{
+1 -1
View File
@@ -2,7 +2,7 @@
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Kyoo.InternalAPI
namespace Kyoo.Controllers
{
public interface IMetadataProvider
{
+11
View File
@@ -0,0 +1,11 @@
using System.Collections.Generic;
namespace Kyoo.Controllers
{
public interface IPluginManager
{
public T GetPlugin<T>(string name);
public IEnumerable<T> GetPlugins<T>();
public void ReloadPlugins();
}
}
@@ -2,7 +2,7 @@
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Kyoo.InternalAPI.ThumbnailsManager
namespace Kyoo.Controllers.ThumbnailsManager
{
public interface IThumbnailsManager
{
+1 -1
View File
@@ -2,7 +2,7 @@ using Kyoo.Models;
using Kyoo.Models.Watch;
using System.Threading.Tasks;
namespace Kyoo.InternalAPI
namespace Kyoo.Controllers
{
public interface ITranscoder
{