// 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.IO; 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 stream. /// /// The stream to import files from. /// The filename of the archive being imported. /// Task Import(Stream stream, string filename); /// /// An array of accepted file extensions (in the standard format of ".abc"). /// IEnumerable HandledExtensions { get; } } }