From b7eb4da04e0cbb820becc9022975f69aed4f8531 Mon Sep 17 00:00:00 2001 From: Ionut Andrei Oanca Date: Thu, 3 Dec 2020 21:01:18 +0100 Subject: Rename GroupController into Group --- .../SyncPlay/IGroupController.cs | 87 ---------------------- 1 file changed, 87 deletions(-) delete mode 100644 MediaBrowser.Controller/SyncPlay/IGroupController.cs (limited to 'MediaBrowser.Controller') diff --git a/MediaBrowser.Controller/SyncPlay/IGroupController.cs b/MediaBrowser.Controller/SyncPlay/IGroupController.cs deleted file mode 100644 index 07f9659dd..000000000 --- a/MediaBrowser.Controller/SyncPlay/IGroupController.cs +++ /dev/null @@ -1,87 +0,0 @@ -using System; -using System.Threading; -using Jellyfin.Data.Entities; -using MediaBrowser.Controller.Session; -using MediaBrowser.Controller.SyncPlay.Queue; -using MediaBrowser.Controller.SyncPlay.Requests; -using MediaBrowser.Model.SyncPlay; - -namespace MediaBrowser.Controller.SyncPlay -{ - /// - /// Interface IGroupController. - /// - public interface IGroupController - { - /// - /// Gets the group identifier. - /// - /// The group identifier. - Guid GroupId { get; } - - /// - /// Gets the play queue. - /// - /// The play queue. - PlayQueueManager PlayQueue { get; } - - /// - /// Checks if the group is empty. - /// - /// true if the group is empty, false otherwise. - bool IsGroupEmpty(); - - /// - /// Initializes the group with the session's info. - /// - /// The session. - /// The request. - /// The cancellation token. - void CreateGroup(SessionInfo session, NewGroupRequest request, CancellationToken cancellationToken); - - /// - /// Adds the session to the group. - /// - /// The session. - /// The request. - /// The cancellation token. - void SessionJoin(SessionInfo session, JoinGroupRequest request, CancellationToken cancellationToken); - - /// - /// Restores the state of a session that already joined the group. - /// - /// The session. - /// The request. - /// The cancellation token. - void SessionRestore(SessionInfo session, JoinGroupRequest request, CancellationToken cancellationToken); - - /// - /// Removes the session from the group. - /// - /// The session. - /// The request. - /// The cancellation token. - void SessionLeave(SessionInfo session, LeaveGroupRequest request, CancellationToken cancellationToken); - - /// - /// Handles the requested action by the session. - /// - /// The session. - /// The requested action. - /// The cancellation token. - void HandleRequest(SessionInfo session, IGroupPlaybackRequest request, CancellationToken cancellationToken); - - /// - /// Gets the info about the group for the clients. - /// - /// The group info for the clients. - GroupInfoDto GetInfo(); - - /// - /// Checks if a user has access to all content in the play queue. - /// - /// The user. - /// true if the user can access the play queue; false otherwise. - bool HasAccessToPlayQueue(User user); - } -} -- cgit v1.2.3