2021-09-30 17:21:16 +08: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;
|
|
|
|
|
|
|
|
namespace osu.Game.Database
|
|
|
|
{
|
2021-11-26 13:38:39 +08:00
|
|
|
public interface IPostImports<TModel>
|
2022-01-26 12:37:33 +08:00
|
|
|
where TModel : class, IHasGuidPrimaryKey
|
2021-09-30 17:21:16 +08:00
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// Fired when the user requests to view the resulting import.
|
|
|
|
/// </summary>
|
2022-01-26 12:37:33 +08:00
|
|
|
public Action<IEnumerable<Live<TModel>>>? PostImport { set; }
|
2021-09-30 17:21:16 +08:00
|
|
|
}
|
|
|
|
}
|