jellyfin/MediaBrowser.Controller/IServerApplicationHost.cs

52 lines
1.6 KiB
C#
Raw Normal View History

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