2016-10-05 07:15:29 +00:00
|
|
|
|
using System.Collections.Generic;
|
2014-06-09 19:16:14 +00:00
|
|
|
|
using System.Threading.Tasks;
|
2014-06-10 17:36:06 +00:00
|
|
|
|
using MediaBrowser.Model.Entities;
|
2014-06-09 19:16:14 +00:00
|
|
|
|
|
|
|
|
|
namespace MediaBrowser.Controller.Chapters
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Interface IChapterManager
|
|
|
|
|
/// </summary>
|
|
|
|
|
public interface IChapterManager
|
|
|
|
|
{
|
2014-06-10 17:36:06 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets the chapters.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="itemId">The item identifier.</param>
|
|
|
|
|
/// <returns>List{ChapterInfo}.</returns>
|
2017-08-27 00:32:33 +00:00
|
|
|
|
List<ChapterInfo> GetChapters(string itemId);
|
2014-06-10 17:36:06 +00:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Saves the chapters.
|
|
|
|
|
/// </summary>
|
2017-08-27 00:32:33 +00:00
|
|
|
|
void SaveChapters(string itemId, List<ChapterInfo> chapters);
|
2014-06-09 19:16:14 +00:00
|
|
|
|
}
|
|
|
|
|
}
|