2013-02-20 18:33:05 -07:00
|
|
|
|
using MediaBrowser.Controller.Entities;
|
|
|
|
|
using System.Collections.Generic;
|
2014-09-22 14:56:54 -07:00
|
|
|
|
using System.Threading.Tasks;
|
2013-02-20 18:33:05 -07:00
|
|
|
|
|
2013-03-01 19:44:46 -07:00
|
|
|
|
namespace MediaBrowser.Controller.Library
|
2013-02-20 18:33:05 -07:00
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Class BaseIntroProvider
|
|
|
|
|
/// </summary>
|
2013-02-20 23:52:27 -07:00
|
|
|
|
public interface IIntroProvider
|
2013-02-20 18:33:05 -07:00
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets the intros.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="item">The item.</param>
|
|
|
|
|
/// <param name="user">The user.</param>
|
|
|
|
|
/// <returns>IEnumerable{System.String}.</returns>
|
2014-09-22 14:56:54 -07:00
|
|
|
|
Task<IEnumerable<IntroInfo>> GetIntros(BaseItem item, User user);
|
2013-10-04 08:22:03 -07:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
2013-10-04 10:04:18 -07:00
|
|
|
|
/// Gets all intro files.
|
2013-10-04 08:22:03 -07:00
|
|
|
|
/// </summary>
|
|
|
|
|
/// <returns>IEnumerable{System.String}.</returns>
|
2013-10-04 10:04:18 -07:00
|
|
|
|
IEnumerable<string> GetAllIntroFiles();
|
2014-09-22 14:56:54 -07:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets the name.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The name.</value>
|
|
|
|
|
string Name { get; }
|
2013-10-04 10:04:18 -07:00
|
|
|
|
}
|
2013-02-20 18:33:05 -07:00
|
|
|
|
}
|