aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Channels/ISupportsDelete.cs
diff options
context:
space:
mode:
authorcrobibero <cody@robibe.ro>2021-05-13 07:32:02 -0600
committercrobibero <cody@robibe.ro>2021-05-13 07:33:11 -0600
commit6bcbc2b88ae84b1d7cfc50f0872580bed437a60f (patch)
tree5a99e570a04d3aa11f8e4fb305cf48a10324d54c /MediaBrowser.Controller/Channels/ISupportsDelete.cs
parent88a7875a2739bef91f1d7216c5ebd89b4c267911 (diff)
Reduce warnings in MediaBrowser.Controller
Diffstat (limited to 'MediaBrowser.Controller/Channels/ISupportsDelete.cs')
-rw-r--r--MediaBrowser.Controller/Channels/ISupportsDelete.cs17
1 files changed, 17 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/Channels/ISupportsDelete.cs b/MediaBrowser.Controller/Channels/ISupportsDelete.cs
new file mode 100644
index 000000000..d7234fa38
--- /dev/null
+++ b/MediaBrowser.Controller/Channels/ISupportsDelete.cs
@@ -0,0 +1,17 @@
+#nullable disable
+
+#pragma warning disable CS1591
+
+using System.Threading;
+using System.Threading.Tasks;
+using MediaBrowser.Controller.Entities;
+
+namespace MediaBrowser.Controller.Channels
+{
+ public interface ISupportsDelete
+ {
+ bool CanDelete(BaseItem item);
+
+ Task DeleteItem(string id, CancellationToken cancellationToken);
+ }
+} \ No newline at end of file