aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Devices/IDeviceManager.cs
diff options
context:
space:
mode:
authorJoshua M. Boniface <joshua@boniface.me>2020-08-22 23:50:43 -0400
committerGitHub <noreply@github.com>2020-08-22 23:50:43 -0400
commit3a99a4770c86d6815267857558968ef5c1fa73f4 (patch)
tree33bf04f0792982f0300d0f972185b0bfff310e15 /MediaBrowser.Controller/Devices/IDeviceManager.cs
parente88b7b8d0e08694a4cc939b8632cc077dc51c7ca (diff)
parentc4d8275fc1ad29823788043750e2f3f8e8b8244e (diff)
Merge pull request #3958 from Bond-009/warn26
Enable TreatWarningsAsErrors for MediaBrowser.Controller in Release
Diffstat (limited to 'MediaBrowser.Controller/Devices/IDeviceManager.cs')
-rw-r--r--MediaBrowser.Controller/Devices/IDeviceManager.cs6
1 files changed, 5 insertions, 1 deletions
diff --git a/MediaBrowser.Controller/Devices/IDeviceManager.cs b/MediaBrowser.Controller/Devices/IDeviceManager.cs
index 7d279230b..55e022f15 100644
--- a/MediaBrowser.Controller/Devices/IDeviceManager.cs
+++ b/MediaBrowser.Controller/Devices/IDeviceManager.cs
@@ -1,3 +1,5 @@
+#pragma warning disable CS1591
+
using System;
using Jellyfin.Data.Entities;
using MediaBrowser.Model.Devices;
@@ -9,6 +11,8 @@ namespace MediaBrowser.Controller.Devices
{
public interface IDeviceManager
{
+ event EventHandler<GenericEventArgs<Tuple<string, DeviceOptions>>> DeviceOptionsUpdated;
+
/// <summary>
/// Saves the capabilities.
/// </summary>
@@ -44,7 +48,7 @@ namespace MediaBrowser.Controller.Devices
bool CanAccessDevice(User user, string deviceId);
void UpdateDeviceOptions(string deviceId, DeviceOptions options);
+
DeviceOptions GetDeviceOptions(string deviceId);
- event EventHandler<GenericEventArgs<Tuple<string, DeviceOptions>>> DeviceOptionsUpdated;
}
}