jellyfin-server/MediaBrowser.Controller/IServerApplicationHost.cs

57 lines
1.7 KiB
C#
Raw Normal View History

2013-03-07 05:34:00 +00:00
using MediaBrowser.Common;
using MediaBrowser.Model.System;
2014-04-26 02:55:07 +00:00
using System;
2013-03-07 05:34:00 +00:00
namespace MediaBrowser.Controller
{
2013-04-19 20:27:02 +00:00
/// <summary>
/// Interface IServerApplicationHost
/// </summary>
2013-03-07 05:34:00 +00:00
public interface IServerApplicationHost : IApplicationHost
{
2014-04-26 02:55:07 +00:00
event EventHandler HasUpdateAvailableChanged;
2013-04-19 20:27:02 +00:00
/// <summary>
/// Gets the system info.
/// </summary>
/// <returns>SystemInfo.</returns>
2013-03-07 05:34:00 +00:00
SystemInfo GetSystemInfo();
2013-06-03 18:15:35 +00:00
/// <summary>
/// Gets the name of the web application.
/// </summary>
/// <value>The name of the web application.</value>
string WebApplicationName { get; }
2014-01-06 01:59:21 +00:00
/// <summary>
/// Gets a value indicating whether [supports automatic run at startup].
/// </summary>
/// <value><c>true</c> if [supports automatic run at startup]; otherwise, <c>false</c>.</value>
bool SupportsAutoRunAtStartup { get; }
2014-03-17 04:25:11 +00:00
/// <summary>
/// Gets the HTTP server port.
/// </summary>
/// <value>The HTTP server port.</value>
int HttpServerPort { get; }
2014-04-26 02:55:07 +00:00
/// <summary>
/// Gets a value indicating whether this instance has update available.
/// </summary>
/// <value><c>true</c> if this instance has update available; otherwise, <c>false</c>.</value>
bool HasUpdateAvailable { get; }
2014-07-27 22:01:29 +00:00
/// <summary>
/// Gets or sets the server identifier.
/// </summary>
/// <value>The server identifier.</value>
string ServerId { get; }
/// <summary>
/// Gets the name of the friendly.
/// </summary>
/// <value>The name of the friendly.</value>
string FriendlyName { get; }
2013-03-07 05:34:00 +00:00
}
}