mirror of
https://github.com/2dust/v2rayN.git
synced 2025-10-13 20:09:12 +00:00
25 lines
815 B
C#
25 lines
815 B
C#
using System.Reactive;
|
|
using System.Reactive.Subjects;
|
|
|
|
namespace ServiceLib.Handler;
|
|
|
|
public static class AppEvents
|
|
{
|
|
public static readonly Subject<Unit> ProfilesRefreshRequested = new();
|
|
|
|
public static readonly Subject<Unit> SubscriptionsRefreshRequested = new();
|
|
|
|
public static readonly Subject<string> SendSnackMsgRequested = new();
|
|
|
|
public static readonly Subject<string> SendMsgViewRequested = new();
|
|
|
|
public static readonly Subject<Unit> AppExitRequested = new();
|
|
|
|
public static readonly Subject<bool> ShutdownRequested = new();
|
|
|
|
public static readonly Subject<Unit> AdjustMainLvColWidthRequested = new();
|
|
|
|
public static readonly Subject<ServerSpeedItem> DispatcherStatisticsRequested = new();
|
|
|
|
public static readonly Subject<string> SetDefaultServerRequested = new();
|
|
}
|