Initial commit to new repository
This commit is contained in:
18
.decompiledproj/AxCopilot/Services/NotificationService.cs
Normal file
18
.decompiledproj/AxCopilot/Services/NotificationService.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using System;
|
||||
|
||||
namespace AxCopilot.Services;
|
||||
|
||||
internal static class NotificationService
|
||||
{
|
||||
private static Action<string, string>? _showBalloon;
|
||||
|
||||
public static void Initialize(Action<string, string> showBalloon)
|
||||
{
|
||||
_showBalloon = showBalloon;
|
||||
}
|
||||
|
||||
public static void Notify(string title, string message)
|
||||
{
|
||||
_showBalloon?.Invoke(title, message);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user