diff options
| author | Tim Hobbs <jesus.tesh@gmail.com> | 2014-03-31 14:39:27 -0700 |
|---|---|---|
| committer | Tim Hobbs <jesus.tesh@gmail.com> | 2014-03-31 14:39:27 -0700 |
| commit | f4f76a1a5bcdef2ea3eb77101d70959bd70cb8e7 (patch) | |
| tree | 25da19e597d1e36fb768293385a3a212f37e8ef0 /MediaBrowser.Model/ApiClient | |
| parent | 5693327a20c3f92f33da63cc3f0cb659d6cd8576 (diff) | |
| parent | 32ac5619fe3678b8482d8771941ad601e1a59afd (diff) | |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'MediaBrowser.Model/ApiClient')
| -rw-r--r-- | MediaBrowser.Model/ApiClient/IApiClient.cs | 10 | ||||
| -rw-r--r-- | MediaBrowser.Model/ApiClient/IServerEvents.cs | 5 | ||||
| -rw-r--r-- | MediaBrowser.Model/ApiClient/ServerEventArgs.cs | 4 |
3 files changed, 6 insertions, 13 deletions
diff --git a/MediaBrowser.Model/ApiClient/IApiClient.cs b/MediaBrowser.Model/ApiClient/IApiClient.cs index 28c5822e9..dc5e26be3 100644 --- a/MediaBrowser.Model/ApiClient/IApiClient.cs +++ b/MediaBrowser.Model/ApiClient/IApiClient.cs @@ -593,17 +593,9 @@ namespace MediaBrowser.Model.ApiClient /// Sends the command asynchronous. /// </summary> /// <param name="sessionId">The session identifier.</param> - /// <param name="request">The request.</param> - /// <returns>Task.</returns> - Task SendCommandAsync(string sessionId, GenericCommand request); - - /// <summary> - /// Sends a system command to the client - /// </summary> - /// <param name="sessionId">The session id.</param> /// <param name="command">The command.</param> /// <returns>Task.</returns> - Task SendSystemCommandAsync(string sessionId, SystemCommand command); + Task SendCommandAsync(string sessionId, GeneralCommand command); /// <summary> /// Instructs the client to display a message to the user diff --git a/MediaBrowser.Model/ApiClient/IServerEvents.cs b/MediaBrowser.Model/ApiClient/IServerEvents.cs index 0a38c63ad..63135baa2 100644 --- a/MediaBrowser.Model/ApiClient/IServerEvents.cs +++ b/MediaBrowser.Model/ApiClient/IServerEvents.cs @@ -1,4 +1,5 @@ -using System; +using MediaBrowser.Model.Session; +using System; namespace MediaBrowser.Model.ApiClient { @@ -66,7 +67,7 @@ namespace MediaBrowser.Model.ApiClient /// <summary> /// Occurs when [system command]. /// </summary> - event EventHandler<SystemCommandEventArgs> SystemCommand; + event EventHandler<GeneralCommandEventArgs> GeneralCommand; /// <summary> /// Occurs when [notification added]. /// </summary> diff --git a/MediaBrowser.Model/ApiClient/ServerEventArgs.cs b/MediaBrowser.Model/ApiClient/ServerEventArgs.cs index d3212caf4..b7f709e95 100644 --- a/MediaBrowser.Model/ApiClient/ServerEventArgs.cs +++ b/MediaBrowser.Model/ApiClient/ServerEventArgs.cs @@ -152,13 +152,13 @@ namespace MediaBrowser.Model.ApiClient /// <summary> /// Class SystemCommandEventArgs /// </summary> - public class SystemCommandEventArgs : EventArgs + public class GeneralCommandEventArgs : EventArgs { /// <summary> /// Gets or sets the command. /// </summary> /// <value>The command.</value> - public SystemCommand Command { get; set; } + public GeneralCommand Command { get; set; } } /// <summary> |
