mirror of
https://github.com/wwiinnddyy/LanMountainDesktop.git
synced 2026-06-20 23:54:26 +08:00
16 lines
367 B
C#
16 lines
367 B
C#
|
|
using dotnetCampus.Ipc.CompilerServices.Attributes;
|
||
|
|
|
||
|
|
namespace LanMountainDesktop.Shared.IPC.Abstractions.Services;
|
||
|
|
|
||
|
|
[IpcPublic(IgnoresIpcException = true)]
|
||
|
|
public interface IPublicShellControlService
|
||
|
|
{
|
||
|
|
Task<bool> ActivateMainWindowAsync();
|
||
|
|
|
||
|
|
Task<bool> OpenSettingsAsync(string? pageTag = null);
|
||
|
|
|
||
|
|
Task<bool> RestartAsync();
|
||
|
|
|
||
|
|
Task<bool> ExitAsync();
|
||
|
|
}
|