19 lines
354 B
C#
19 lines
354 B
C#
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);
|
|
}
|
|
}
|