2020-10-24 22:05:35 +00:00
|
|
|
using Gee;
|
|
|
|
using Dino.Entities;
|
|
|
|
|
|
|
|
namespace Dino.Plugins.WindowsNotification {
|
|
|
|
public class Plugin : RootInterface, Object {
|
|
|
|
|
|
|
|
public void registered(Dino.Application app) {
|
2020-11-25 23:12:21 +00:00
|
|
|
var provider = WindowsNotificationProvider.try_create(app);
|
|
|
|
if (provider != null) {
|
|
|
|
app.stream_interactor.get_module(NotificationEvents.IDENTITY).register_notification_provider(provider);
|
2020-10-24 22:30:57 +00:00
|
|
|
}
|
2020-10-24 22:05:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public void shutdown() {
|
2020-10-25 11:07:31 +00:00
|
|
|
}
|
2020-10-24 22:05:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|