jellyfin/MediaBrowser.Controller/IServerApplicationHost.cs

58 lines
1.8 KiB
C#
Raw Normal View History

2014-09-17 05:04:10 +02:00
using System.Collections.Generic;
using MediaBrowser.Common;
2013-03-07 06:34:00 +01:00
using MediaBrowser.Model.System;
2014-04-26 04:55:07 +02:00
using System;
2013-03-07 06:34:00 +01:00
namespace MediaBrowser.Controller
{
2013-04-19 22:27:02 +02:00
/// <summary>
/// Interface IServerApplicationHost
/// </summary>
2013-03-07 06:34:00 +01:00
public interface IServerApplicationHost : IApplicationHost
{
2014-04-26 04:55:07 +02:00
event EventHandler HasUpdateAvailableChanged;
2013-04-19 22:27:02 +02:00
/// <summary>
/// Gets the system info.
/// </summary>
/// <returns>SystemInfo.</returns>
2013-03-07 06:34:00 +01:00
SystemInfo GetSystemInfo();
2013-06-03 20:15:35 +02:00
/// <summary>
/// Gets the name of the web application.
/// </summary>
/// <value>The name of the web application.</value>
string WebApplicationName { get; }
2014-01-06 02:59:21 +01: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 05:25:11 +01:00
/// <summary>
/// Gets the HTTP server port.
/// </summary>
/// <value>The HTTP server port.</value>
int HttpServerPort { get; }
2014-04-26 04:55:07 +02: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-28 00:01:29 +02:00
/// <summary>
/// Gets the name of the friendly.
/// </summary>
/// <value>The name of the friendly.</value>
string FriendlyName { get; }
2014-09-17 05:04:10 +02:00
/// <summary>
/// Gets the HTTP server ip addresses.
/// </summary>
/// <value>The HTTP server ip addresses.</value>
IEnumerable<string> HttpServerIpAddresses { get; }
2013-03-07 06:34:00 +01:00
}
}