using System.Threading;
using System.Threading.Tasks;
using Tornado3_2026Election.Domain;

namespace Tornado3_2026Election.Services;

public sealed class KarismaThumbnailGeneratorService
{
    public KarismaThumbnailGeneratorService(LogService logService)
    {
    }

    public Task<ThumbnailGenerationResult> GenerateAsync(
        TornadoManager manager,
        IReadOnlyList<FormatTemplateDefinition> templates,
        string t3CutPath,
        VideoWallLayoutPreset videoWallLayoutPreset,
        CancellationToken cancellationToken)
    {
        return Task.FromResult(new ThumbnailGenerationResult(0, 0));
    }
}

public readonly record struct ThumbnailGenerationResult(int GeneratedCount, int FailedCount)
{
    public int TotalCount => GeneratedCount + FailedCount;
}
