2026-03-03 04:56:04 +08:00
|
|
|
using LanMontainDesktop.Services;
|
|
|
|
|
|
|
|
|
|
namespace LanMontainDesktop.Views.Components;
|
|
|
|
|
|
|
|
|
|
public interface IDesktopComponentWidget
|
|
|
|
|
{
|
|
|
|
|
void ApplyCellSize(double cellSize);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public interface ITimeZoneAwareComponentWidget
|
|
|
|
|
{
|
|
|
|
|
void SetTimeZoneService(TimeZoneService timeZoneService);
|
2026-03-03 11:10:57 +08:00
|
|
|
void ClearTimeZoneService();
|
2026-03-03 04:56:04 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public interface IWeatherInfoAwareComponentWidget
|
|
|
|
|
{
|
|
|
|
|
void SetWeatherInfoService(IWeatherInfoService weatherInfoService);
|
|
|
|
|
}
|
2026-03-04 03:41:59 +08:00
|
|
|
|
|
|
|
|
public interface IDesktopPageVisibilityAwareComponentWidget
|
|
|
|
|
{
|
|
|
|
|
void SetDesktopPageContext(bool isOnActivePage, bool isEditMode);
|
|
|
|
|
}
|