diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2016-10-23 20:09:43 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2016-10-23 20:09:43 -0400 |
| commit | 78ba88bc7e923bd48fb694e11d1ef3a608f9cb01 (patch) | |
| tree | b5383c7d1640a79e83390845d0d0faca3ce33160 /MediaBrowser.Controller | |
| parent | 2af3ec43d52d44ff7b456de35e45b12413edcf9d (diff) | |
move classes to model
Diffstat (limited to 'MediaBrowser.Controller')
5 files changed, 0 insertions, 81 deletions
diff --git a/MediaBrowser.Controller/Activity/IActivityManager.cs b/MediaBrowser.Controller/Activity/IActivityManager.cs deleted file mode 100644 index 728548911..000000000 --- a/MediaBrowser.Controller/Activity/IActivityManager.cs +++ /dev/null @@ -1,17 +0,0 @@ -using MediaBrowser.Model.Activity; -using MediaBrowser.Model.Events; -using MediaBrowser.Model.Querying; -using System; -using System.Threading.Tasks; - -namespace MediaBrowser.Controller.Activity -{ - public interface IActivityManager - { - event EventHandler<GenericEventArgs<ActivityLogEntry>> EntryCreated; - - Task Create(ActivityLogEntry entry); - - QueryResult<ActivityLogEntry> GetActivityLogEntries(DateTime? minDate, int? startIndex, int? limit); - } -} diff --git a/MediaBrowser.Controller/Activity/IActivityRepository.cs b/MediaBrowser.Controller/Activity/IActivityRepository.cs deleted file mode 100644 index 7ccbc2e99..000000000 --- a/MediaBrowser.Controller/Activity/IActivityRepository.cs +++ /dev/null @@ -1,14 +0,0 @@ -using MediaBrowser.Model.Activity; -using MediaBrowser.Model.Querying; -using System; -using System.Threading.Tasks; - -namespace MediaBrowser.Controller.Activity -{ - public interface IActivityRepository - { - Task Create(ActivityLogEntry entry); - - QueryResult<ActivityLogEntry> GetActivityLogEntries(DateTime? minDate, int? startIndex, int? limit); - } -} diff --git a/MediaBrowser.Controller/MediaBrowser.Controller.csproj b/MediaBrowser.Controller/MediaBrowser.Controller.csproj index 670b08a3f..c0eeaaa36 100644 --- a/MediaBrowser.Controller/MediaBrowser.Controller.csproj +++ b/MediaBrowser.Controller/MediaBrowser.Controller.csproj @@ -71,8 +71,6 @@ <Compile Include="..\SharedVersion.cs"> <Link>Properties\SharedVersion.cs</Link> </Compile> - <Compile Include="Activity\IActivityManager.cs" /> - <Compile Include="Activity\IActivityRepository.cs" /> <Compile Include="Channels\ChannelItemInfo.cs" /> <Compile Include="Channels\ChannelItemResult.cs" /> <Compile Include="Channels\ChannelItemType.cs" /> @@ -240,7 +238,6 @@ <Compile Include="Net\StaticResultOptions.cs" /> <Compile Include="Net\WebSocketConnectEventArgs.cs" /> <Compile Include="Net\WebSocketMessageInfo.cs" /> - <Compile Include="News\INewsService.cs" /> <Compile Include="Notifications\INotificationManager.cs" /> <Compile Include="Notifications\INotificationService.cs" /> <Compile Include="Notifications\INotificationsRepository.cs" /> @@ -307,7 +304,6 @@ <Compile Include="Security\IAuthenticationRepository.cs" /> <Compile Include="Security\IEncryptionManager.cs" /> <Compile Include="Session\AuthenticationRequest.cs" /> - <Compile Include="Social\ISharingManager.cs" /> <Compile Include="Sorting\SortHelper.cs" /> <Compile Include="Subtitles\ISubtitleManager.cs" /> <Compile Include="Subtitles\ISubtitleProvider.cs" /> diff --git a/MediaBrowser.Controller/News/INewsService.cs b/MediaBrowser.Controller/News/INewsService.cs deleted file mode 100644 index 8237764df..000000000 --- a/MediaBrowser.Controller/News/INewsService.cs +++ /dev/null @@ -1,18 +0,0 @@ -using MediaBrowser.Model.News; -using MediaBrowser.Model.Querying; - -namespace MediaBrowser.Controller.News -{ - /// <summary> - /// Interface INewsFeed - /// </summary> - public interface INewsService - { - /// <summary> - /// Gets the product news. - /// </summary> - /// <param name="query">The query.</param> - /// <returns>QueryResult{NewsItem}.</returns> - QueryResult<NewsItem> GetProductNews(NewsQuery query); - } -} diff --git a/MediaBrowser.Controller/Social/ISharingManager.cs b/MediaBrowser.Controller/Social/ISharingManager.cs deleted file mode 100644 index ded37771a..000000000 --- a/MediaBrowser.Controller/Social/ISharingManager.cs +++ /dev/null @@ -1,28 +0,0 @@ -using MediaBrowser.Model.Social; -using System.Threading.Tasks; - -namespace MediaBrowser.Controller.Social -{ - public interface ISharingManager - { - /// <summary> - /// Creates the share. - /// </summary> - /// <param name="itemId">The item identifier.</param> - /// <param name="userId">The user identifier.</param> - /// <returns>Task<SocialShareInfo>.</returns> - Task<SocialShareInfo> CreateShare(string itemId, string userId); - /// <summary> - /// Gets the share information. - /// </summary> - /// <param name="id">The identifier.</param> - /// <returns>SocialShareInfo.</returns> - SocialShareInfo GetShareInfo(string id); - /// <summary> - /// Deletes the share. - /// </summary> - /// <param name="id">The identifier.</param> - /// <returns>Task.</returns> - Task DeleteShare(string id); - } -} |
