feat.airapp sdk

This commit is contained in:
lincube
2026-06-08 02:39:44 +08:00
parent 1a6f129e78
commit 7db72fbcd0
36 changed files with 2617 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
namespace LanMountainDesktop.AirAppSdk;
/// <summary>
/// Provides appearance and theme context.
/// </summary>
public interface IAirAppAppearanceContext
{
/// <summary>
/// Gets the current appearance snapshot.
/// </summary>
AirAppAppearanceSnapshot CurrentSnapshot { get; }
/// <summary>
/// Subscribe to appearance changes.
/// </summary>
/// <param name="handler">Change handler</param>
/// <returns>Subscription token</returns>
IDisposable SubscribeToChanges(Action<AirAppAppearanceSnapshot> handler);
}