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