aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Library/IIntroProvider.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Controller/Library/IIntroProvider.cs')
-rw-r--r--MediaBrowser.Controller/Library/IIntroProvider.cs32
1 files changed, 32 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/Library/IIntroProvider.cs b/MediaBrowser.Controller/Library/IIntroProvider.cs
new file mode 100644
index 000000000..611aab387
--- /dev/null
+++ b/MediaBrowser.Controller/Library/IIntroProvider.cs
@@ -0,0 +1,32 @@
+using MediaBrowser.Controller.Entities;
+using System.Collections.Generic;
+using System.Threading.Tasks;
+
+namespace MediaBrowser.Controller.Library
+{
+ /// <summary>
+ /// Class BaseIntroProvider
+ /// </summary>
+ public interface IIntroProvider
+ {
+ /// <summary>
+ /// Gets the intros.
+ /// </summary>
+ /// <param name="item">The item.</param>
+ /// <param name="user">The user.</param>
+ /// <returns>IEnumerable{System.String}.</returns>
+ Task<IEnumerable<IntroInfo>> GetIntros(BaseItem item, User user);
+
+ /// <summary>
+ /// Gets all intro files.
+ /// </summary>
+ /// <returns>IEnumerable{System.String}.</returns>
+ IEnumerable<string> GetAllIntroFiles();
+
+ /// <summary>
+ /// Gets the name.
+ /// </summary>
+ /// <value>The name.</value>
+ string Name { get; }
+ }
+}