mirror of
https://github.com/C9Glax/tranga.git
synced 2025-07-01 08:24:17 +02:00
15 lines
549 B
C#
15 lines
549 B
C#
namespace Tranga.NotificationConnectors;
|
|
|
|
public abstract class NotificationConnector : GlobalBase
|
|
{
|
|
public readonly NotificationConnectorType notificationConnectorType;
|
|
|
|
protected NotificationConnector(GlobalBase clone, NotificationConnectorType notificationConnectorType) : base(clone)
|
|
{
|
|
this.notificationConnectorType = notificationConnectorType;
|
|
}
|
|
|
|
public enum NotificationConnectorType : byte { Gotify = 0, LunaSea = 1 }
|
|
|
|
public abstract void SendNotification(string title, string notificationText);
|
|
} |