From ca831ae88aaefb07f98d1a337792ea4af608fed0 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Wed, 15 Jan 2014 00:38:08 -0500 Subject: added live tv events --- MediaBrowser.Controller/LiveTv/EventArgs.cs | 12 ++++++++++++ MediaBrowser.Controller/LiveTv/ILiveTvService.cs | 10 ++++++++++ MediaBrowser.Controller/MediaBrowser.Controller.csproj | 1 + 3 files changed, 23 insertions(+) create mode 100644 MediaBrowser.Controller/LiveTv/EventArgs.cs (limited to 'MediaBrowser.Controller') diff --git a/MediaBrowser.Controller/LiveTv/EventArgs.cs b/MediaBrowser.Controller/LiveTv/EventArgs.cs new file mode 100644 index 000000000..90ea329fe --- /dev/null +++ b/MediaBrowser.Controller/LiveTv/EventArgs.cs @@ -0,0 +1,12 @@ +using MediaBrowser.Model.LiveTv; +using System; + +namespace MediaBrowser.Controller.LiveTv +{ + public class RecordingStatusChangedEventArgs : EventArgs + { + public string RecordingId { get; set; } + + public RecordingStatus NewStatus { get; set; } + } +} diff --git a/MediaBrowser.Controller/LiveTv/ILiveTvService.cs b/MediaBrowser.Controller/LiveTv/ILiveTvService.cs index 004f0b452..7217b6e13 100644 --- a/MediaBrowser.Controller/LiveTv/ILiveTvService.cs +++ b/MediaBrowser.Controller/LiveTv/ILiveTvService.cs @@ -10,6 +10,16 @@ namespace MediaBrowser.Controller.LiveTv /// public interface ILiveTvService { + /// + /// Occurs when [data source changed]. + /// + event EventHandler DataSourceChanged; + + /// + /// Occurs when [recording status changed]. + /// + event EventHandler RecordingStatusChanged; + /// /// Gets the name. /// diff --git a/MediaBrowser.Controller/MediaBrowser.Controller.csproj b/MediaBrowser.Controller/MediaBrowser.Controller.csproj index ec6c88705..9452700b5 100644 --- a/MediaBrowser.Controller/MediaBrowser.Controller.csproj +++ b/MediaBrowser.Controller/MediaBrowser.Controller.csproj @@ -112,6 +112,7 @@ + -- cgit v1.2.3