mirror of
https://github.com/BeyondDimension/SteamTools.git
synced 2026-10-24 10:49:51 +08:00
34 lines
791 B
C#
34 lines
791 B
C#
using System.Application.Models;
|
|
using System.Collections.Generic;
|
|
using System.Windows.Input;
|
|
|
|
namespace System.Application.Services
|
|
{
|
|
public interface IDesktopAppService
|
|
{
|
|
/// <summary>
|
|
/// 当前桌面应用的主题
|
|
/// </summary>
|
|
AppTheme Theme { get; set; }
|
|
|
|
/// <summary>
|
|
/// 打开子窗口
|
|
/// </summary>
|
|
void ShowChildWindow(object window);
|
|
|
|
/// <summary>
|
|
/// 退出整个程序
|
|
/// </summary>
|
|
void Shutdown();
|
|
|
|
/// <summary>
|
|
/// 主窗口恢复显示
|
|
/// </summary>
|
|
void RestoreMainWindow();
|
|
|
|
/// <summary>
|
|
/// 托盘菜单
|
|
/// </summary>
|
|
IReadOnlyDictionary<string, ICommand> NotifyIconMenus { get; }
|
|
}
|
|
} |