From 04041105d836cd37dc091e1fbe6adeae32eca0b9 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Tue, 30 Jun 2015 19:59:45 -0400 Subject: add new sharing function --- MediaBrowser.Controller/Social/ISharingManager.cs | 28 +++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 MediaBrowser.Controller/Social/ISharingManager.cs (limited to 'MediaBrowser.Controller/Social') diff --git a/MediaBrowser.Controller/Social/ISharingManager.cs b/MediaBrowser.Controller/Social/ISharingManager.cs new file mode 100644 index 0000000000..ded37771af --- /dev/null +++ b/MediaBrowser.Controller/Social/ISharingManager.cs @@ -0,0 +1,28 @@ +using MediaBrowser.Model.Social; +using System.Threading.Tasks; + +namespace MediaBrowser.Controller.Social +{ + public interface ISharingManager + { + /// + /// Creates the share. + /// + /// The item identifier. + /// The user identifier. + /// Task<SocialShareInfo>. + Task CreateShare(string itemId, string userId); + /// + /// Gets the share information. + /// + /// The identifier. + /// SocialShareInfo. + SocialShareInfo GetShareInfo(string id); + /// + /// Deletes the share. + /// + /// The identifier. + /// Task. + Task DeleteShare(string id); + } +} -- cgit v1.2.3