mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-12 10:40:24 +01:00
Pushing missing changes
This commit is contained in:
60
MediaBrowser.UI/Controller/BaseTheme.cs
Normal file
60
MediaBrowser.UI/Controller/BaseTheme.cs
Normal file
@@ -0,0 +1,60 @@
|
||||
using MediaBrowser.Model.DTO;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
|
||||
namespace MediaBrowser.UI.Controller
|
||||
{
|
||||
/// <summary>
|
||||
/// Class BaseTheme
|
||||
/// </summary>
|
||||
public abstract class BaseTheme : IDisposable
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the global resources.
|
||||
/// </summary>
|
||||
/// <returns>IEnumerable{ResourceDictionary}.</returns>
|
||||
public abstract IEnumerable<ResourceDictionary> GetGlobalResources();
|
||||
|
||||
/// <summary>
|
||||
/// Gets the list page.
|
||||
/// </summary>
|
||||
/// <param name="item">The item.</param>
|
||||
/// <returns>Page.</returns>
|
||||
public abstract Page GetListPage(DtoBaseItem item);
|
||||
/// <summary>
|
||||
/// Gets the detail page.
|
||||
/// </summary>
|
||||
/// <param name="item">The item.</param>
|
||||
/// <returns>Page.</returns>
|
||||
public abstract Page GetDetailPage(DtoBaseItem item);
|
||||
/// <summary>
|
||||
/// Gets the home page.
|
||||
/// </summary>
|
||||
/// <returns>Page.</returns>
|
||||
public abstract Page GetHomePage();
|
||||
/// <summary>
|
||||
/// Gets the login page.
|
||||
/// </summary>
|
||||
/// <returns>Page.</returns>
|
||||
public abstract Page GetLoginPage();
|
||||
/// <summary>
|
||||
/// Gets the internal player page.
|
||||
/// </summary>
|
||||
/// <returns>Page.</returns>
|
||||
public abstract Page GetInternalPlayerPage();
|
||||
|
||||
/// <summary>
|
||||
/// Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
|
||||
/// </summary>
|
||||
public virtual void Dispose()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Displays the weather.
|
||||
/// </summary>
|
||||
public abstract void DisplayWeather();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user