mirror of https://github.com/ErsatzTV/ErsatzTV.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
759 B
24 lines
759 B
using System; |
|
|
|
namespace ErsatzTV.Core.Interfaces.Locking |
|
{ |
|
public interface IEntityLocker |
|
{ |
|
event EventHandler OnLibraryChanged; |
|
event EventHandler OnPlexChanged; |
|
event EventHandler<Type> OnRemoteMediaSourceChanged; |
|
event EventHandler OnTraktChanged; |
|
bool LockLibrary(int libraryId); |
|
bool UnlockLibrary(int libraryId); |
|
bool IsLibraryLocked(int libraryId); |
|
bool LockPlex(); |
|
bool UnlockPlex(); |
|
bool IsPlexLocked(); |
|
bool IsRemoteMediaSourceLocked<TMediaSource>(); |
|
bool LockRemoteMediaSource<TMediaSource>(); |
|
bool UnlockRemoteMediaSource<TMediaSource>(); |
|
bool IsTraktLocked(); |
|
bool LockTrakt(); |
|
bool UnlockTrakt(); |
|
} |
|
}
|
|
|