refactors

This commit is contained in:
Jose Conde
2025-09-30 15:57:56 +02:00
parent 5e16f781b4
commit 4c76f04d0e
31 changed files with 403 additions and 293 deletions

View File

@@ -0,0 +1,22 @@
using ModVersionChecker.service.interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ModVersionChecker.service
{
public class NotificationService : INotificationService
{
private NotifyIcon? _notifyIcon;
public void SetNotifyIcon(NotifyIcon icon)
{
_notifyIcon = icon;
}
public void ShowBalloonTip(int millis, string title, string message, ToolTipIcon icon)
{
_notifyIcon?.ShowBalloonTip(millis, title, message, icon);
}
}
}