17 lines
538 B
C#
17 lines
538 B
C#
|
|
using Avalonia.Controls;
|
||
|
|
|
||
|
|
namespace LANCommander.Launcher.Plugins.Extensions;
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// Adds a control to the launcher shell's footer. Implementations are resolved from DI and
|
||
|
|
/// rendered, ordered by <see cref="Order"/>, alongside the built-in footer items.
|
||
|
|
/// </summary>
|
||
|
|
public interface IFooterExtension
|
||
|
|
{
|
||
|
|
/// <summary>Relative position among extension items; lower values appear first.</summary>
|
||
|
|
int Order { get; }
|
||
|
|
|
||
|
|
/// <summary>Builds the control rendered in the footer.</summary>
|
||
|
|
Control BuildContent();
|
||
|
|
}
|