anotherim-desktop/plugins/windows-notification/vapi/toastnotification.vapi

37 lines
1,015 B
Vala
Raw Normal View History

2021-02-18 09:24:53 +00:00
using Dino.Plugins.WindowsNotification.Vapi.Callbacks;
[CCode (cheader_filename = "toastnotification.h")]
namespace Dino.Plugins.WindowsNotification.Vapi.ToastNotification {
[CCode (cname = "DinoToastNotification_t", copy_function = "CopyNotification", free_function = "DestroyNotification")]
[Compact]
public class ToastNotification {
[CCode (cname = "NewNotification")]
public ToastNotification();
public SimpleNotificationCallback Activated
{
[CCode (cname = "set_Activated")]
set;
}
public ActivatedWithActionIndexNotificationCallback ActivatedWithIndex
{
[CCode (cname = "set_ActivatedWithIndex")]
set;
}
public DismissedNotificationCallback Dismissed
{
[CCode (cname = "set_Dismissed")]
set;
}
public SimpleNotificationCallback Failed
{
[CCode (cname = "set_Failed")]
set;
}
}
}