mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-30 05:46:30 +01:00
update plugin interfaces
This commit is contained in:
@@ -167,6 +167,9 @@
|
||||
<Compile Include="Net\EndPointInfo.cs" />
|
||||
<Compile Include="Net\HttpResponse.cs" />
|
||||
<Compile Include="Net\IpAddressInfo.cs" />
|
||||
<Compile Include="Plugins\IHasWebPages.cs" />
|
||||
<Compile Include="Plugins\PluginPageInfo.cs" />
|
||||
<Compile Include="Reflection\IAssemblyInfo.cs" />
|
||||
<Compile Include="Services\ApiMemberAttribute.cs" />
|
||||
<Compile Include="Services\IAsyncStreamWriter.cs" />
|
||||
<Compile Include="Services\IHasHeaders.cs" />
|
||||
@@ -174,6 +177,7 @@
|
||||
<Compile Include="Services\IHttpRequest.cs" />
|
||||
<Compile Include="Services\IHttpResponse.cs" />
|
||||
<Compile Include="Services\IRequest.cs" />
|
||||
<Compile Include="Services\IRequestFilter.cs" />
|
||||
<Compile Include="Services\IRequiresRequestStream.cs" />
|
||||
<Compile Include="Services\IService.cs" />
|
||||
<Compile Include="Net\MimeTypes.cs" />
|
||||
|
||||
9
MediaBrowser.Model/Plugins/IHasWebPages.cs
Normal file
9
MediaBrowser.Model/Plugins/IHasWebPages.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace MediaBrowser.Model.Plugins
|
||||
{
|
||||
public interface IHasWebPages
|
||||
{
|
||||
IEnumerable<PluginPageInfo> GetPages();
|
||||
}
|
||||
}
|
||||
9
MediaBrowser.Model/Plugins/PluginPageInfo.cs
Normal file
9
MediaBrowser.Model/Plugins/PluginPageInfo.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
namespace MediaBrowser.Model.Plugins
|
||||
{
|
||||
public class PluginPageInfo
|
||||
{
|
||||
public string Name { get; set; }
|
||||
|
||||
public string EmbeddedResourcePath { get; set; }
|
||||
}
|
||||
}
|
||||
10
MediaBrowser.Model/Reflection/IAssemblyInfo.cs
Normal file
10
MediaBrowser.Model/Reflection/IAssemblyInfo.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
|
||||
namespace MediaBrowser.Model.Reflection
|
||||
{
|
||||
public interface IAssemblyInfo
|
||||
{
|
||||
Stream GetManifestResourceStream(Type type, string resource);
|
||||
}
|
||||
}
|
||||
8
MediaBrowser.Model/Services/IRequestFilter.cs
Normal file
8
MediaBrowser.Model/Services/IRequestFilter.cs
Normal file
@@ -0,0 +1,8 @@
|
||||
|
||||
namespace MediaBrowser.Model.Services
|
||||
{
|
||||
public interface IRequestFilter
|
||||
{
|
||||
void Filter(IRequest request, IResponse response, object requestDto);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user