// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Collections.Generic; using System.Threading.Tasks; namespace osu.Game.Database { /// /// A class which can accept files for importing. /// public interface ICanAcceptFiles { /// /// Import the specified paths. /// /// The files which should be imported. Task Import(params string[] paths); /// /// Import the specified files from the given import tasks. /// /// The import tasks from which the files should be imported. Task Import(params ImportTask[] tasks); /// /// An array of accepted file extensions (in the standard format of ".abc"). /// IEnumerable HandledExtensions { get; } } }