From 48facb797ed912e4ea6b04b17d1ff190ac2daac4 Mon Sep 17 00:00:00 2001 From: stefan Date: Wed, 12 Sep 2018 19:26:21 +0200 Subject: Update to 3.5.2 and .net core 2.1 --- MediaBrowser.Controller/Sync/ISyncManager.cs | 181 --------------------------- 1 file changed, 181 deletions(-) delete mode 100644 MediaBrowser.Controller/Sync/ISyncManager.cs (limited to 'MediaBrowser.Controller/Sync/ISyncManager.cs') diff --git a/MediaBrowser.Controller/Sync/ISyncManager.cs b/MediaBrowser.Controller/Sync/ISyncManager.cs deleted file mode 100644 index 5e9085a40..000000000 --- a/MediaBrowser.Controller/Sync/ISyncManager.cs +++ /dev/null @@ -1,181 +0,0 @@ -using MediaBrowser.Controller.Entities; -using MediaBrowser.Model.Events; -using MediaBrowser.Model.Querying; -using MediaBrowser.Model.Sync; -using MediaBrowser.Model.Users; -using System; -using System.Collections.Generic; -using System.Threading.Tasks; - -namespace MediaBrowser.Controller.Sync -{ - public interface ISyncManager - { - event EventHandler> SyncJobCreated; - event EventHandler> SyncJobCancelled; - event EventHandler> SyncJobUpdated; - event EventHandler> SyncJobItemUpdated; - event EventHandler> SyncJobItemCreated; - event EventHandler> SyncJobItemCancelled; - - /// - /// Creates the job. - /// - /// The request. - /// Task. - Task CreateJob(SyncJobRequest request); - - /// - /// Gets the jobs. - /// - /// QueryResult<SyncJob>. - QueryResult GetJobs(SyncJobQuery query); - - /// - /// Gets the job items. - /// - /// The query. - /// QueryResult<SyncJobItem>. - QueryResult GetJobItems(SyncJobItemQuery query); - - /// - /// Gets the job. - /// - /// The identifier. - /// SyncJob. - SyncJob GetJob(string id); - - /// - /// Updates the job. - /// - /// The job. - /// Task. - Task UpdateJob(SyncJob job); - - /// - /// Res the enable job item. - /// - /// The identifier. - /// Task. - Task ReEnableJobItem(string id); - - /// - /// Cnacels the job item. - /// - /// The identifier. - /// Task. - Task CancelJobItem(string id); - - /// - /// Cancels the job. - /// - /// The identifier. - /// Task. - Task CancelJob(string id); - - /// - /// Cancels the items. - /// - /// The target identifier. - /// The item ids. - /// Task. - Task CancelItems(string targetId, string[] itemIds); - - /// - /// Adds the parts. - /// - void AddParts(IEnumerable providers); - - /// - /// Gets the synchronize targets. - /// - List GetSyncTargets(string userId); - - /// - /// Supportses the synchronize. - /// - /// The item. - /// true if XXXX, false otherwise. - bool SupportsSync(BaseItem item); - - /// - /// Reports the synchronize job item transferred. - /// - /// The identifier. - /// Task. - Task ReportSyncJobItemTransferred(string id); - - /// - /// Gets the job item. - /// - /// The identifier. - /// SyncJobItem. - SyncJobItem GetJobItem(string id); - - /// - /// Reports the offline action. - /// - /// The action. - /// Task. - Task ReportOfflineAction(UserAction action); - - /// - /// Gets the ready synchronize items. - /// - /// The target identifier. - /// List<SyncedItem>. - Task> GetReadySyncItems(string targetId); - - /// - /// Synchronizes the data. - /// - /// The request. - /// Task<SyncDataResponse>. - Task SyncData(SyncDataRequest request); - - /// - /// Gets the library item ids. - /// - /// The query. - /// QueryResult<System.String>. - Dictionary GetSyncedItemProgresses(SyncJobItemQuery query); - - /// - /// Reports the synchronize job item transfer beginning. - /// - /// The identifier. - /// Task. - Task ReportSyncJobItemTransferBeginning(string id); - - /// - /// Reports the synchronize job item transfer failed. - /// - /// The identifier. - /// Task. - Task ReportSyncJobItemTransferFailed(string id); - - /// - /// Gets the quality options. - /// - /// The target identifier. - List GetQualityOptions(string targetId); - /// - /// Gets the quality options. - /// - /// The target identifier. - /// The user. - List GetQualityOptions(string targetId, User user); - - /// - /// Gets the profile options. - /// - /// The target identifier. - List GetProfileOptions(string targetId); - /// - /// Gets the profile options. - /// - /// The target identifier. - /// The user. - List GetProfileOptions(string targetId, User user); - } -} -- cgit v1.2.3