diff options
Diffstat (limited to 'src/net/java/sip/communicator/service/notification')
-rw-r--r-- | src/net/java/sip/communicator/service/notification/PopupMessageNotificationHandler.java | 19 | ||||
-rw-r--r-- | src/net/java/sip/communicator/service/notification/notification.manifest.mf | 3 |
2 files changed, 21 insertions, 1 deletions
diff --git a/src/net/java/sip/communicator/service/notification/PopupMessageNotificationHandler.java b/src/net/java/sip/communicator/service/notification/PopupMessageNotificationHandler.java index 6327afc..e8b5716 100644 --- a/src/net/java/sip/communicator/service/notification/PopupMessageNotificationHandler.java +++ b/src/net/java/sip/communicator/service/notification/PopupMessageNotificationHandler.java @@ -6,6 +6,8 @@ */ package net.java.sip.communicator.service.notification; +import net.java.sip.communicator.service.systray.event.*; + /** * The <tt>PopupMessageNotificationHandler</tt> interface is meant to be * implemented by the notification bundle in order to provide handling of @@ -32,4 +34,21 @@ public interface PopupMessageNotificationHandler String message, byte[] icon, Object tag); + + /** + * Adds a listener for <tt>SystrayPopupMessageEvent</tt>s posted when user + * clicks on the system tray popup message. + * + * @param listener the listener to add + */ + public void addPopupMessageListener(SystrayPopupMessageListener listener); + + /** + * Removes a listener previously added with + * <tt>addPopupMessageListener</tt>. + * + * @param listener the listener to remove + */ + public void removePopupMessageListener( + SystrayPopupMessageListener listener); } diff --git a/src/net/java/sip/communicator/service/notification/notification.manifest.mf b/src/net/java/sip/communicator/service/notification/notification.manifest.mf index 6c52f21..76b85ed 100644 --- a/src/net/java/sip/communicator/service/notification/notification.manifest.mf +++ b/src/net/java/sip/communicator/service/notification/notification.manifest.mf @@ -8,4 +8,5 @@ Export-Package: net.java.sip.communicator.service.notification, net.java.sip.communicator.service.notification.event Import-Package: org.osgi.framework, net.java.sip.communicator.util, - org.jitsi.service.configuration + org.jitsi.service.configuration, + net.java.sip.communicator.service.systray.event |