// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Allocation; using osu.Game.Online.Chat; namespace osu.Game.Online { /// /// Handle an arbitrary URL. Displays via in-game overlays where possible. /// Methods can be called from a non-thread-safe non-game-loaded state. /// [Cached] public interface ILinkHandler { /// /// Handle an arbitrary URL. Displays via in-game overlays where possible. /// This can be called from a non-thread-safe non-game-loaded state. /// /// The URL to load. void HandleLink(string url); /// /// Handle a specific . /// This can be called from a non-thread-safe non-game-loaded state. /// /// The link to load. void HandleLink(LinkDetails link); } }