aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/sip/communicator/service/notification
diff options
context:
space:
mode:
authorVincent Lucas <chenzo@jitsi.org>2012-10-17 17:03:33 +0000
committerVincent Lucas <chenzo@jitsi.org>2012-10-17 17:03:33 +0000
commit81c971944b8a28235abc9e277ada7e306388ba53 (patch)
treeb92897317460b2ddee1c0f3956b5b56f6a41c6af /src/net/java/sip/communicator/service/notification
parenta754cc94e0a1a37bb2b590b31d72b1637ec2d9da (diff)
downloadjitsi-81c971944b8a28235abc9e277ada7e306388ba53.zip
jitsi-81c971944b8a28235abc9e277ada7e306388ba53.tar.gz
jitsi-81c971944b8a28235abc9e277ada7e306388ba53.tar.bz2
Adds a notification popup when the audio device configuration has changed.
Diffstat (limited to 'src/net/java/sip/communicator/service/notification')
-rw-r--r--src/net/java/sip/communicator/service/notification/PopupMessageNotificationHandler.java19
-rw-r--r--src/net/java/sip/communicator/service/notification/notification.manifest.mf3
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