mirror of
https://github.com/Kareadita/Kavita.git
synced 2026-03-10 12:05:51 -04:00
Co-authored-by: Joseph Milazzo <joseph.v.milazzo@gmail.com> Co-authored-by: Joe Milazzo <josephmajora@gmail.com>
14 lines
455 B
C#
14 lines
455 B
C#
using System.Threading;
|
|
using System.Threading.Tasks;
|
|
using Kavita.Models.Entities;
|
|
|
|
namespace Kavita.API.Services;
|
|
|
|
public interface IFontService
|
|
{
|
|
Task<EpubFont> CreateFontFromFileAsync(string path, CancellationToken ct = default);
|
|
Task Delete(int fontId, CancellationToken ct = default);
|
|
Task<EpubFont> CreateFontFromUrl(string url, CancellationToken ct = default);
|
|
Task<bool> IsFontInUse(int fontId, CancellationToken ct = default);
|
|
}
|