From c40d3f349463c11c69fc2dcf929dc9f768f8fc86 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Fri, 25 Apr 2014 22:55:07 -0400 Subject: add more notifications --- MediaBrowser.Controller/IServerApplicationHost.cs | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'MediaBrowser.Controller/IServerApplicationHost.cs') diff --git a/MediaBrowser.Controller/IServerApplicationHost.cs b/MediaBrowser.Controller/IServerApplicationHost.cs index 4b2ca497bb..21f5fa87a3 100644 --- a/MediaBrowser.Controller/IServerApplicationHost.cs +++ b/MediaBrowser.Controller/IServerApplicationHost.cs @@ -1,5 +1,6 @@ using MediaBrowser.Common; using MediaBrowser.Model.System; +using System; namespace MediaBrowser.Controller { @@ -8,6 +9,8 @@ namespace MediaBrowser.Controller /// public interface IServerApplicationHost : IApplicationHost { + event EventHandler HasUpdateAvailableChanged; + /// /// Gets the system info. /// @@ -31,5 +34,11 @@ namespace MediaBrowser.Controller /// /// The HTTP server port. int HttpServerPort { get; } + + /// + /// Gets a value indicating whether this instance has update available. + /// + /// true if this instance has update available; otherwise, false. + bool HasUpdateAvailable { get; } } } -- cgit v1.2.3