2021-09-30 09:21:16 +00:00
|
|
|
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
|
|
|
// See the LICENCE file in the repository root for full licence text.
|
|
|
|
|
|
|
|
using System;
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
2021-09-30 15:05:14 +00:00
|
|
|
#nullable enable
|
|
|
|
|
2021-09-30 09:21:16 +00:00
|
|
|
namespace osu.Game.Database
|
|
|
|
{
|
2021-11-26 05:38:39 +00:00
|
|
|
public interface IPostImports<TModel>
|
2022-01-26 04:37:33 +00:00
|
|
|
where TModel : class, IHasGuidPrimaryKey
|
2021-09-30 09:21:16 +00:00
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// Fired when the user requests to view the resulting import.
|
|
|
|
/// </summary>
|
2022-01-26 04:37:33 +00:00
|
|
|
public Action<IEnumerable<Live<TModel>>>? PostImport { set; }
|
2021-09-30 09:21:16 +00:00
|
|
|
}
|
|
|
|
}
|