mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-15 23:58:57 +00:00
Add GPL modules
This commit is contained in:
10
MediaBrowser.Model/Plugins/BasePluginConfiguration.cs
Normal file
10
MediaBrowser.Model/Plugins/BasePluginConfiguration.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
|
||||
namespace MediaBrowser.Model.Plugins
|
||||
{
|
||||
/// <summary>
|
||||
/// Class BasePluginConfiguration
|
||||
/// </summary>
|
||||
public class BasePluginConfiguration
|
||||
{
|
||||
}
|
||||
}
|
||||
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();
|
||||
}
|
||||
}
|
||||
45
MediaBrowser.Model/Plugins/PluginInfo.cs
Normal file
45
MediaBrowser.Model/Plugins/PluginInfo.cs
Normal file
@@ -0,0 +1,45 @@
|
||||
using System;
|
||||
|
||||
namespace MediaBrowser.Model.Plugins
|
||||
{
|
||||
/// <summary>
|
||||
/// This is a serializable stub class that is used by the api to provide information about installed plugins.
|
||||
/// </summary>
|
||||
public class PluginInfo
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the name.
|
||||
/// </summary>
|
||||
/// <value>The name.</value>
|
||||
public string Name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the version.
|
||||
/// </summary>
|
||||
/// <value>The version.</value>
|
||||
public string Version { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the name of the configuration file.
|
||||
/// </summary>
|
||||
/// <value>The name of the configuration file.</value>
|
||||
public string ConfigurationFileName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the description.
|
||||
/// </summary>
|
||||
/// <value>The description.</value>
|
||||
public string Description { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the unique id.
|
||||
/// </summary>
|
||||
/// <value>The unique id.</value>
|
||||
public string Id { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets the image URL.
|
||||
/// </summary>
|
||||
/// <value>The image URL.</value>
|
||||
public string ImageUrl { get; set; }
|
||||
}
|
||||
}
|
||||
17
MediaBrowser.Model/Plugins/PluginPageInfo.cs
Normal file
17
MediaBrowser.Model/Plugins/PluginPageInfo.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
namespace MediaBrowser.Model.Plugins
|
||||
{
|
||||
public class PluginPageInfo
|
||||
{
|
||||
public string Name { get; set; }
|
||||
|
||||
public string DisplayName { get; set; }
|
||||
|
||||
public string EmbeddedResourcePath { get; set; }
|
||||
|
||||
public bool EnableInMainMenu { get; set; }
|
||||
|
||||
public string MenuSection { get; set; }
|
||||
|
||||
public string MenuIcon { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user