2019-01-13 20:02:23 +00:00
|
|
|
namespace MediaBrowser.Model.Plugins
|
2018-12-27 23:27:57 +00:00
|
|
|
{
|
2020-12-18 20:37:35 +00:00
|
|
|
/// <summary>
|
|
|
|
/// Defines the <see cref="PluginPageInfo" />.
|
|
|
|
/// </summary>
|
2018-12-27 23:27:57 +00:00
|
|
|
public class PluginPageInfo
|
|
|
|
{
|
2020-12-18 20:37:35 +00:00
|
|
|
/// <summary>
|
2024-08-19 13:33:54 +00:00
|
|
|
/// Gets or sets the name of the plugin.
|
2020-12-18 20:37:35 +00:00
|
|
|
/// </summary>
|
|
|
|
public string Name { get; set; } = string.Empty;
|
2018-12-27 23:27:57 +00:00
|
|
|
|
2020-12-18 20:37:35 +00:00
|
|
|
/// <summary>
|
2024-08-19 13:33:54 +00:00
|
|
|
/// Gets or sets the display name of the plugin.
|
2020-12-18 20:37:35 +00:00
|
|
|
/// </summary>
|
|
|
|
public string? DisplayName { get; set; }
|
2018-12-27 23:27:57 +00:00
|
|
|
|
2020-12-18 20:37:35 +00:00
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the resource path.
|
|
|
|
/// </summary>
|
|
|
|
public string EmbeddedResourcePath { get; set; } = string.Empty;
|
2018-12-27 23:27:57 +00:00
|
|
|
|
2020-12-18 20:37:35 +00:00
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets a value indicating whether this plugin should appear in the main menu.
|
|
|
|
/// </summary>
|
2018-12-27 23:27:57 +00:00
|
|
|
public bool EnableInMainMenu { get; set; }
|
|
|
|
|
2020-12-18 20:37:35 +00:00
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the menu section.
|
|
|
|
/// </summary>
|
|
|
|
public string? MenuSection { get; set; }
|
2018-12-27 23:27:57 +00:00
|
|
|
|
2020-12-18 20:37:35 +00:00
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the menu icon.
|
|
|
|
/// </summary>
|
|
|
|
public string? MenuIcon { get; set; }
|
2018-12-27 23:27:57 +00:00
|
|
|
}
|
|
|
|
}
|