mirror of
https://github.com/wwiinnddyy/LanMountainDesktop.git
synced 2026-06-20 23:54:26 +08:00
35 lines
876 B
C#
35 lines
876 B
C#
using LanMountainDesktop.Services;
|
|
|
|
namespace LanMountainDesktop.Views.Components;
|
|
|
|
public interface IDesktopComponentWidget
|
|
{
|
|
void ApplyCellSize(double cellSize);
|
|
}
|
|
|
|
public interface ITimeZoneAwareComponentWidget
|
|
{
|
|
void SetTimeZoneService(TimeZoneService timeZoneService);
|
|
void ClearTimeZoneService();
|
|
}
|
|
|
|
public interface IWeatherInfoAwareComponentWidget
|
|
{
|
|
void SetWeatherInfoService(IWeatherInfoService weatherInfoService);
|
|
}
|
|
|
|
public interface IRecommendationInfoAwareComponentWidget
|
|
{
|
|
void SetRecommendationInfoService(IRecommendationInfoService recommendationInfoService);
|
|
}
|
|
|
|
public interface ICalculatorInfoAwareComponentWidget
|
|
{
|
|
void SetCalculatorDataService(ICalculatorDataService calculatorDataService);
|
|
}
|
|
|
|
public interface IDesktopPageVisibilityAwareComponentWidget
|
|
{
|
|
void SetDesktopPageContext(bool isOnActivePage, bool isEditMode);
|
|
}
|