// 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 osu.Game.Beatmaps; using osu.Game.Graphics.UserInterface; using osu.Game.Scoring; namespace osu.Game.Screens.SelectV2 { /// /// Actions exposed by song select which are used by subcomponents to perform top-level operations. /// public interface ISongSelect { /// /// Requests the user for confirmation to delete the given beatmap set. /// void Delete(BeatmapSetInfo beatmapBeatmapSetInfo); /// /// Immediately restores any hidden beatmaps in the provided beatmap set. /// void RestoreAllHidden(BeatmapSetInfo beatmapSet); /// /// Opens the manage collections dialog. /// void ManageCollections(); /// /// Opens results screen with the given score. /// This assumes active beatmap and ruleset selection matches the score. /// void PresentScore(ScoreInfo score); /// /// Set the current filter text query to the provided string. /// void Search(string query); /// /// Gets relevant actionable items for beatmap context menus, based on the type of song select. /// IEnumerable GetForwardActions(BeatmapInfo beatmap); } }