aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Devices
diff options
context:
space:
mode:
authorBond_009 <bond.009@outlook.com>2020-08-22 21:56:24 +0200
committerBond_009 <bond.009@outlook.com>2020-08-22 21:56:24 +0200
commit404bb4f83521760b3e9eeb748ab21d9056c4c023 (patch)
tree79f98f80eb9d3e610486346278517953edb534e3 /MediaBrowser.Controller/Devices
parent92c491397eb81ed0d9349f11036c9f3a1e2be2e4 (diff)
Enable TreatWarningsAsErrors for MediaBrowser.Controller in Release
Diffstat (limited to 'MediaBrowser.Controller/Devices')
-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 7d279230b5..55e022f151 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;
}
}