mirror of
https://github.com/chylex/TweetDuck.git
synced 2025-01-15 14:42:46 +01:00
25 lines
648 B
C#
25 lines
648 B
C#
using System.Diagnostics.CodeAnalysis;
|
|
|
|
namespace TweetLib.Core.Features.Notifications {
|
|
[SuppressMessage("ReSharper", "UnusedMember.Global")]
|
|
sealed class NotificationBridgeObject : CommonBridge {
|
|
private readonly INotificationInterface i;
|
|
|
|
public NotificationBridgeObject(INotificationInterface notificationInterface, ICommonInterface commonInterface) : base(commonInterface) {
|
|
this.i = notificationInterface;
|
|
}
|
|
|
|
public void DisplayTooltip(string? text) {
|
|
i.DisplayTooltip(text);
|
|
}
|
|
|
|
public void LoadNextNotification() {
|
|
i.FinishCurrentNotification();
|
|
}
|
|
|
|
public void ShowTweetDetail() {
|
|
i.ShowTweetDetail();
|
|
}
|
|
}
|
|
}
|