using System;
using Dalamud.Game.Gui.Dtr;
using Dalamud.Game.Text.SeStringHandling;
namespace Dalamud.Plugin.Services;
///
/// Class used to interface with the server info bar.
///
public interface IDtrBar
{
///
/// Get a DTR bar entry.
/// This allows you to add your own text, and users to sort it.
///
/// A user-friendly name for sorting.
/// The text the entry shows.
/// The entry object used to update, hide and remove the entry.
/// Thrown when an entry with the specified title exists.
public DtrBarEntry Get(string title, SeString? text = null);
}